Improved start screen and made the animation optional in scenes since they aren't needed always.
This commit is contained in:
parent
903fad871f
commit
532366091b
13 changed files with 114 additions and 27 deletions
|
|
@ -196,11 +196,8 @@ void WorldBuilder::place_stairs(DinkyECS::World& world, GameConfig& config) {
|
|||
auto& device_config = config.devices.json();
|
||||
auto entity_data = device_config["STAIRS_DOWN"];
|
||||
|
||||
// auto at_end = $map.$dead_ends.back();
|
||||
configure_entity_in_map(world, entity_data, {
|
||||
player_pos.location.x+1,
|
||||
player_pos.location.y
|
||||
});
|
||||
auto at_end = $map.$dead_ends.back();
|
||||
configure_entity_in_map(world, entity_data, at_end);
|
||||
}
|
||||
|
||||
void WorldBuilder::configure_starting_items(DinkyECS::World &world) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue