Hi again,
I am making my games with the structure from the tutorial Multi level Multi Scene…
And, there is Main.qml where GameWindow is written…
And, there is gameScene.qml where the game scene is working…
I want to pause my game on ph call coming…
And, there is already a pause method in gameScene used for pause button and already tested.
So, I add the following code in Main.qml but nothing is working…
onApplicationPaused:
{
gameScene.pause()
}
onApplicationResumed:
{
gameScene.pause()
}
I tried to add other codes but absolutely nothing is working…
Is onApplicationPaused: not working?
Help me please…