Is this a bug or a code error? For unpause game function...
Hi all!
I have made a screen that's scrollable contain button that will use pause function to show up different scene..
Scene 1 - this is the main scene
Scene 2 - this is the pause scene
all seem good til when i press to unpause togo back to scene 1.. the unpause function seem running(coz saw the load spining wheel) but when the load icon gone.. i still in scene 2, needed to press 2nd time unpause to go back to the scene 1.
Granted that this problem dont appear at every click, only sometime when:-
i) i touch and drag my finger then release..
ii) sometime just press n it happen too...
Sorry for my bad english! :P
P.S. do i need to upload the file for other to try?
Thanks!
I have made a screen that's scrollable contain button that will use pause function to show up different scene..
Scene 1 - this is the main scene
Scene 2 - this is the pause scene
all seem good til when i press to unpause togo back to scene 1.. the unpause function seem running(coz saw the load spining wheel) but when the load icon gone.. i still in scene 2, needed to press 2nd time unpause to go back to the scene 1.
Granted that this problem dont appear at every click, only sometime when:-
i) i touch and drag my finger then release..
ii) sometime just press n it happen too...
Sorry for my bad english! :P
P.S. do i need to upload the file for other to try?
Thanks!
Comments
have you tried event … touch is inside ???
is the Unpause Game behavior … last behavior on button???
your English is Great!
perhaps someone could look at your file … and see why the pause is not working correctly.
@};- MH
PS you could send to me … my name at gmail.com
@};- MH
Cheers,
Ludwig
I do try using other event like you have suggest but they do start other weird behavior like move the screen to the far top right end...
For the Unpause function is the only thing in that action...
Ludwig: erm, i dont think the problem is from the same spot coz mine is not! My white box cover the whole screen...
Btw, my scene is 720x480 that why contain drag and moving around the scene!
To recreate the problem, i notice that i need to press when the unpause and drag my finger around the screen, then only happen on the next time when i press it again!
well, it not always success to recreate the problem, is it about 1 every 2-5 in my attempt to make it happen again!
Also, it is easier to recreate the problem when in the viewer!
Thanks!
DsAngel