Skip to content

Commit

Permalink
3d game example (bevyengine#1252)
Browse files Browse the repository at this point in the history
3d game example
  • Loading branch information
mockersf authored Jan 21, 2021
1 parent 7aefd72 commit 8c33da0
Show file tree
Hide file tree
Showing 7 changed files with 394 additions and 0 deletions.
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

0 comments on commit 8c33da0

Please sign in to comment.