A 2D RPG-like groundwork with Bevy and LDtk.
cargo run
Optional --release
It might be necessary to install some system dependencies for bevy on your OS.
See /workflows/rust-ci.yml
for linux.
trunk serve
Optional --release
This should run as is after you install trunk.
cspell "*.md" "src/**"
Because I talk allot.
- animation enhancements
- patrol
- interaction with something in front
- save_game found a good example at: bevyengine/bevy#1442
bevy game list
https://itch.io/search?q=bevy
- player gabe - bevy assets
- plains (grass, dirt, higher ground), decor, fences, objects (trees, rocks, signs)
- frog, houses
- https://pixel-boy.itch.io/ninja-adventure-asset-pack
- This is an amazing asset source. It is full of many free animated sprites and tileSets. I highly encourage to use it when playing with this.
To look for real fixes in the future, if someone is looking to build upon this code.
-
Accessing entity_refs outside the current level
- bevy_ecs_ldtk issue
- see in
door.rs
under "Known issue" - Trouv/bevy_ecs_ldtk#113
-
Sprite selection from multiple tiles loads the wrong tiles
- bevy_ecs_ldtk issue
- workaround: multi-tile sprites have to be cut out from sprite sheets into
their own sheet - see
toriiGate.png
fromTilesetHouse.png
ortreeBig.png
fromobjects.png
- Trouv/bevy_ecs_ldtk#151
- still doesn't work in 0.8
-
Rules based tiles don't use pivot
- bevy_ecs_ldtk issue
- workaround: some ground objects had to be remade as entities
- Trouv/bevy_ecs_ldtk#152