Complicated pausing problem.

joxamojoxamo Member Posts: 2
edited August 2012 in Working with GS (Mac)
So, I watched a tshirtbooth video on how to make a custom pause screen.(make objects pause in place) my trouble with that video is that im having 52 objects spawn,rotate and shrink(to a certain size) at a random position in 5 seconds at the very beginning of my game. If the player tries pausing the game while those objects are spawnings the objects do pause in the position, but when resuming the shrink abnormally small and just splatter all over the place instead of continuing in motion like the video demonstrates. I have a feeling it maybe because the 5 second timer is still running while it is paused? help would be appreciated! :)

Comments

  • MotherHooseMotherHoose Member Posts: 2,456
    edited August 2012
    on your pauseButton actor:

    Rule: when
    Attribute: self.Time > 5.25
    Event: touch is pressed
    -Pause

    ==
    or change its alpha to 0 … so player doesn't see it and try pressing

    Rule: when
    Attribute: self.Time > 5.25
    -changeAttribute: self.Color.Alpha To: 1
    -Rule: when
    -Event: touch is pressed
    -Pause

    image MH
Sign In or Register to comment.