• Advertisement
Sign in to follow this  

Scene Control

This topic is 2405 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Good Afternoon ~ thanks for reading!

I am trying to figure out a variation of a state machine, what i am calling a 'scenemanager'.

Each scene will have its own state machine. What i need to figure out is the best way to communicate a scene change while trying to avoid singletons and globals.

My thoughts are,
Return value from Update() to signal change. Seems like the anti-KISS.
A message system, instantiated at the top and passed into constructors; and listen for a change. Could also help in the menu state to save menu item changes?
Polling the active scene. Seems like the KISS.

I'm trying to keep the 'scenemanager' flexible and robust. I'd like to be able to "drag-and-drop" a new scene.
Whats going to be my best route here? or am i going about this all wrong?
Any assistance or reading materials would be appreciated..

Thanks again! huh.gif

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement