Level traversal works, but it's very immediate. Next is a little 'confirm level' modal and a transition screen.

This commit is contained in:
Zed A. Shaw 2025-02-24 23:26:50 -05:00
parent 1886c99920
commit 29e6d45dc6
14 changed files with 98 additions and 43 deletions

View file

@ -13,10 +13,10 @@ using std::shared_ptr;
struct GameLevel {
size_t index;
DinkyECS::Entity player;
shared_ptr<Map> map;
shared_ptr<DinkyECS::World> world;
shared_ptr<lighting::LightRender> lights;
shared_ptr<SpatialMap> collision;
shared_ptr<Map> map = nullptr;
shared_ptr<DinkyECS::World> world = nullptr;
shared_ptr<lighting::LightRender> lights = nullptr;
shared_ptr<SpatialMap> collision = nullptr;
};
struct LevelScaling {