World copying with facts and constants is working so now new levels are possible, but need to work on previous level motion.

This commit is contained in:
Zed A. Shaw 2025-01-27 13:48:20 -05:00
parent 2735a0ac1f
commit 82216b8307
6 changed files with 52 additions and 32 deletions

View file

@ -247,6 +247,7 @@ void WorldBuilder::place_entities(DinkyECS::World &world) {
Player player{player_ent};
world.set_the<Player>(player);
world.set<Inventory>(player.entity, {5});
world.make_constant(player.entity);
}
randomize_entities(world, config);