Level traversal works, but it's very immediate. Next is a little 'confirm level' modal and a transition screen.
This commit is contained in:
parent
1886c99920
commit
29e6d45dc6
14 changed files with 98 additions and 43 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue