In the multilevelmultiscene game, navigation is handled by states and passing signals back to main.qml for handling. I have a ‘results’ scene that is moved to after the gameScene, so I was going to setup a signal resultsPressed, and have that handled in the main, but I realised it’s equally possible to call a state change in the gameScene itself, e.g.
onPressed: {
console.log("going to results...")
window.state = "results"
// resultsPressed()
It seems to work ok, but I wonder is it acceptable or conventional to do that so directly there, or is it better to encapsulate all that scene redirection in main (and have the signal etc)?
BTW thanks for all you and your team’s great support in the forums.
Cheers, Michael.