Commit graph

14 commits

Author SHA1 Message Date
3cddecf592 feat: added clap for level parsing
- Camera sets up as a child of player entity
2026-03-30 20:43:46 +03:00
79fe190b6b feat: Level loading from TOML asset
- Fixed detect_interactions system
- Added test for deserializing asset with plugin
2026-03-28 01:46:27 +03:00
0ab2620724 feat: Unfinished level loading
- Added level struct
- Added loading tests
- Partially implemented level setting up system
2026-03-27 18:31:46 +03:00
24153e476f feat: Updated tilemap bundle
- Layout is now defined from bottom left corner
- Added rotation to lockpick bundle
- Added level TOML structures that match current level
2026-03-27 13:04:47 +03:00
0e18bb6df5 feat: Inventory mouse scroll & visible item data 2026-03-26 15:12:13 +03:00
c5c6378303 assets: Using new lockpick and stairs sprites
- Fixed stairs transparency
2026-03-26 12:01:58 +03:00
528c511445 refactor!: Item changes
- Bump version to 0.3.0
- Moved crate::inventory::item to crate::item
- Made Item.position non-option
- Renamed Item::new_positioned -> Item::new
- Removed old Item::new method
- Changed Inventory.can_fit signature to use item borrow
2026-03-25 14:16:33 +03:00
42cfd14214 feat: Layout changes
- Added padlock layout object
- Added lockpick item
- Added ItemImage component
- Tilemap colliders are now creating from the tiles themselves
- Removed items from container bundle
- Removed colliders from tilemap bundle
- Removed setup_player system
2026-03-25 13:32:12 +03:00
5157450ced feat: Functionally working stairs without sprite
- Made all observers public
- Observe all InteractionEvents in the app, not in the entity
- Added names to layout bundles
- Raised player speed to 4 m/s for quicker debugging
- Added second container on 2nd floor
2026-03-24 16:10:43 +03:00
0c0dcec4b8 feat!: "Syntax sugar" for pixels per meter measure
- Added meters function for better readability
- Adjusted tilemap_bundle transform
- Added 2nd floor in setup_world system

BREAKING CHANGE: Removed HALVED_PIXELS_PER_METER const
2026-03-24 12:13:08 +03:00
b59cec172d feat: Barely working tilemap system
- Added tilemap bundle
- Added HALVED_METERS_PER_PIXEL constant
2026-03-23 14:06:36 +03:00
ffdb5d94a8 feat: Derive traits 2026-03-19 15:57:29 +03:00
7c386d4128 refactor!: Split everything into submodules
- Bump version to 0.2.0
- Split every module to systems, observers, plugins, etc
- Renamed Crate to Container
- Removed Wall component
- Removed try_insert_item system
- Removed inventory::ui module
2026-03-19 14:23:26 +03:00
3094a8af13 refactor: Non-breaking refactor
- Everything should work as before
- Added blank submodules in layout
- Added blank submodules in player
- Moved inventory::ui submodule to ui::inventory
- Added blank submodules in ui::inventory
- Re-exported ui::inventory as inventory::ui for temporary compatibility
- Split tests submodules into different files
2026-03-19 12:36:51 +03:00