lulzkdm / rusty-woods

Proof of concept for a 2d game, made with Bevy and LDtk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rusty Woods

A 2D RPG-like groundwork with Bevy and LDtk.

Usage

Run

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.

Wasm

trunk serve

Optional --release

This should run as is after you install trunk.

Spellcheck

cspell "*.md" "src/**"

Because I talk allot.

Notes

TODOs

  • animation enhancements
    • patrol

Optional

bevy game list
https://itch.io/search?q=bevy

Sprite source

Issues I found workarounds for

To look for real fixes in the future, if someone is looking to build upon this code.

  • UI wrapping text

  • Accessing entity_refs outside the current level

  • 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 from TilesetHouse.png or treeBig.png from objects.png
    • Trouv/bevy_ecs_ldtk#151
  • Rules based tiles don't use pivot

About

Proof of concept for a 2d game, made with Bevy and LDtk


Languages

Language:Rust 99.6%Language:HTML 0.4%