Is this a bug or a code error? For unpause game function...

DsAngelDsAngel Member Posts: 29
edited January 2012 in Working with GS (Mac)
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!

Comments

  • MotherHooseMotherHoose Member Posts: 2,456
    edited January 2012
    DsAngel … mine works

    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
  • LeonardDeveloperLeonardDeveloper Member Posts: 4,630
    Mine works.....
  • MotherHooseMotherHoose Member Posts: 2,456
    hey, Jack, that sounds like a good title for a game! :D

    @};- MH
  • LumpAppsLumpApps Member Posts: 2,881
    Are the pause and unpause buttons on the same spot? Might be that you press unpause and then pause again. Try an unpause on release or use a timer (after 0.2s) when releasing the unpause button.

    Cheers,
    Ludwig
  • DsAngelDsAngel Member Posts: 29
    edited January 2012
    MotherHoose: I have sent you the file! :) If not yet receive, do let me know!
    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

Sign In or Register to comment.