Skip to content

Commit

Permalink
Dynamic hud (#43)
Browse files Browse the repository at this point in the history
* feat: added dynamic ship hud

* chore: added new pixel font with dynamic size

* feat: added position and fuel available

* chore: refactor folders

* chore: asteroid hud and folder refactor
  • Loading branch information
paulobressan authored Apr 23, 2024
1 parent 22cfb00 commit 31fd4b6
Show file tree
Hide file tree
Showing 9 changed files with 572 additions and 14 deletions.
203 changes: 203 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion visualizer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,19 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bevy = "0.13.2"
bevy = { version = "0.13.2", features = ["dynamic_linking"] }
bevy_pancam = "0.11.1"
bevy_panorbit_camera = "0.17.0"
rand = "0.8.5"
rand_core = "0.6"
bevy_rand = { version = "0.5", features = ["rand_chacha", "wyrand"] }
bevy_mod_picking = "0.18.2"

[target.wasm32-unknown-unknown]
runner = "wasm-server-runner"

[profile.dev]
opt-level = 1

[profile.dev.package."*"]
opt-level = 3
Binary file added visualizer/assets/fonts/pixel.otf
Binary file not shown.
Loading

0 comments on commit 31fd4b6

Please sign in to comment.