Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3d game example #1252

Merged
merged 7 commits into from
Jan 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ path = "examples/ecs/parallel_query.rs"
name = "hierarchy"
path = "examples/ecs/hierarchy.rs"

[[example]]
name = "alien_cake_addict"
path = "examples/game/alien_cake_addict.rs"

[[example]]
name = "breakout"
path = "examples/game/breakout.rs"
Expand Down
5 changes: 5 additions & 0 deletions assets/models/AlienCake/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Assets are from [Kenney](https://www.kenney.nl)

- alien from [Space Kit](https://www.kenney.nl/assets/space-kit)
- cake from [Food Kit](https://www.kenney.nl/assets/food-kit)
- ground tile from [Tower Defense Kit](https://www.kenney.nl/assets/tower-defense-kit)
Binary file added assets/models/AlienCake/alien.glb
Binary file not shown.
Binary file added assets/models/AlienCake/cakeBirthday.glb
Binary file not shown.
Binary file added assets/models/AlienCake/tile.glb
Binary file not shown.
1 change: 1 addition & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ Example | File | Description

Example | File | Description
--- | --- | ---
`alien_cake_addict` | [`game/alien_cake_addict.rs`](./game/alien_cake_addict.rs) | Eat the cakes. Eat them all. An example 3D game
`breakout` | [`game/breakout.rs`](./game/breakout.rs) | An implementation of the classic game "Breakout"

## Input
Expand Down
Loading