I was wondering if there is an easy way to make multiple "locations" in a game. For instance, level select, main menu, levels, etc. Right now I am just using stage and box2d worlds. It would be great to have a way to get from one place to another. Thanks!
I usually have a 'background' running with scenemanager running on top of it - looks better to me.
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
@SinisterSoft can you explain better of "which" background are you speaking of, please? I am intrigued in everything that could be better than my approach I have a long loading time between some scenes, due to their complexity, while everything is stuck until the next scene is loaded. I play music in the meanwhile to ease the sense of time, but who knows when it's enough?
I start a on_frame event on the actual stage, on this I have the game running. I use the SceneManager to overlay on top of the game and also control key game aspect - such as new game, reset, etc That way the game can run in demo mode behind a title graphic.
In the old days they called it 'Attract Mode'.
Here is a video of it working - notice the game playing by itself in the background...
Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!). https://deluxepixel.com
Comments
I usually have a 'background' running with scenemanager running on top of it - looks better to me.
https://deluxepixel.com
I am intrigued in everything that could be better than my approach
I have a long loading time between some scenes, due to their complexity, while everything is stuck until the next scene is loaded. I play music in the meanwhile to ease the sense of time, but who knows when it's enough?
In the old days they called it 'Attract Mode'.
Here is a video of it working - notice the game playing by itself in the background...
Likes: pie
https://deluxepixel.com
Likes: SinisterSoft