Skip to content
Snippets Groups Projects
Unverified Commit 3f5546ab authored by Gino Valente's avatar Gino Valente Committed by GitHub
Browse files

Merge pull request #119 from mwbryant/bevy07

parents 06d3a045 238073bb
No related branches found
No related tags found
No related merge requests found
...@@ -43,11 +43,11 @@ Kayak UI is in the very early stages of development. Important features are miss ...@@ -43,11 +43,11 @@ Kayak UI is in the very early stages of development. Important features are miss
<img src="images/screen1.png" alt="Kayak UI" width="600" /> <img src="images/screen1.png" alt="Kayak UI" width="600" />
## Usage ## Usage
Use bevy 0.6! Use bevy 0.7!
```rust ```rust
kayak_ui = { git="https://github.com/StarArawn/kayak_ui", rev="{INSERT_COMMIT_SHA_HERE}", features = ["bevy_renderer"] } kayak_ui = { git="https://github.com/StarArawn/kayak_ui", rev="{INSERT_COMMIT_SHA_HERE}", features = ["bevy_renderer"] }
bevy = "0.6.0" bevy = "0.7.0"
``` ```
## Declarative ## Declarative
...@@ -148,4 +148,4 @@ To generate a font run the following command: ...@@ -148,4 +148,4 @@ To generate a font run the following command:
``` ```
.\msdf-atlas-gen.exe -font .\font_name.ttf -type msdf -minsize 32 -format png -imageout font_name.png -json font_name.json .\msdf-atlas-gen.exe -font .\font_name.ttf -type msdf -minsize 32 -format png -imageout font_name.png -json font_name.json
``` ```
Where font_name is the name of your font. You can play around with the different parameters that are provided but keep in mind that some of the font stuff is currently hardcoded and might result in graphical glitches if you change the settings too much. You should also try to use a decent size for the `minsize` parameter. The smaller the size the more artifacts will appear in the text. Where font_name is the name of your font. You can play around with the different parameters that are provided but keep in mind that some of the font stuff is currently hardcoded and might result in graphical glitches if you change the settings too much. You should also try to use a decent size for the `minsize` parameter. The smaller the size the more artifacts will appear in the text.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment