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:
parent
2735a0ac1f
commit
82216b8307
6 changed files with 52 additions and 32 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue