Subscenes and GameScene #1105
Unanswered
SergeMerzliakov
asked this question in
Q&A
Replies: 1 comment 1 reply
-
By default, the game enters GameScene, so there is no need to manually switch to it. Using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have written a game demo where the game launches and uses subscenes for all the setup stuff - main screen, options, and create game screen. Once I have created a game on the "create game" subscene (entities and components added to game world etc) I want to show the GameScene - but I cannot hide the subscenes.
here is my startup logic which goes straight to main subscene (with new game, resume game, options buttons)
How do I get subscenes and GameScene to interact properly? That is when playing the game showing GameScene, otherwise show subscenes?
Update: I am looking at Breakout and other FXGL game samples for ideas
Beta Was this translation helpful? Give feedback.
All reactions