generated from 2ndbeam/bevy-template
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
This commit is contained in:
parent
5157450ced
commit
42cfd14214
10 changed files with 175 additions and 57 deletions
|
|
@ -88,11 +88,11 @@ impl Plugin for ExpeditionPlugin {
|
|||
.add_systems(Startup, (
|
||||
setup_global,
|
||||
layout::systems::setup_world,
|
||||
player::systems::setup_player,
|
||||
))
|
||||
.add_systems(Update, (
|
||||
insert_entity_name,
|
||||
layout::systems::detect_interact_collisions,
|
||||
layout::systems::lock_door,
|
||||
player::systems::handle_input,
|
||||
ui::update_window_size,
|
||||
ui::handle_input,
|
||||
|
|
@ -102,6 +102,7 @@ impl Plugin for ExpeditionPlugin {
|
|||
.add_observer(ui::inventory::observers::on_ui_rotate)
|
||||
.add_observer(layout::container::on_container_interact)
|
||||
.add_observer(layout::door::on_door_interact)
|
||||
.add_observer(layout::lock::on_padlock_interaction)
|
||||
.add_observer(layout::stairs::on_stairs_interact);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue