Hi,
so I just stumbled upon a problem when using director’s class along with the UI-class. Here it is:
I’ve got an object that the user controls with the accelerometer. This object collides with other objects. Some of them make the game change scene to gameover.lua, some don’t.
In the same scene I’ve got a pause button. Now, when I click and hold the pause button, and at the same time collide with a gameover object, director’s class will change the scene, but everything will freeze afterwards. The pause button is gone, but the new buttons I’ve got in this new scene don’t work?
Can someone confirm that this is a bug? Or is there a chance I’m doing something wrong?
Thanks in advance, [import]uid: 14018 topic_id: 7454 reply_id: 307454[/import]
So I guess I’ve got to add a line of code making the button reach the release.event without the user actually letting go of the button before I switch scenes? I thought about this before but have no clue how to do it [import]uid: 14018 topic_id: 7454 reply_id: 26828[/import]