GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

timers

GnarlyGnarly canadaPosts: 840Member

I have an actor with timers....

Spawn at 3.4 seconds, 5.2 seconds, 6.8 seconds...

Works perfectly on initial play. Game over is a different scene. Play again button press changes scene back to the game scene.

But the replays the timers are off. Unfortunatly a small change wrecks everything.

I can fix this with a "reset game" and timers work every time then but my high score is then returned to zero.

Not sure why game reset and change scene should be different?

thanks

Comments

  • zweg25zweg25 Posts: 738Member

    Hey Dwayne,

    Oddly, I cannot recreate this. Is run to completion checked on your timers? Also, if you save the high score in the game over screen and load it in the gameplay scene then it should not return to 0.

  • SocksSocks London, UK.Posts: 12,822Member

    @gattoman said:
    I have an actor with timers....

    These timers could be 'after' or 'every' timers, they could be set up in dozens of different ways with hundreds of different conditions, 'the timers are off' could means just about anything, 'a small change' could mean just about anything, ' wrecks everything' could mean just about anything . . . .

  • JSprojectJSproject Posts: 730Member

    @Socks you need to work on your mind reading abilities again

  • GnarlyGnarly canadaPosts: 840Member

    @Socks said:

    Im a timer junkie. You hate me already. Timers are correct. What Im talking about is timing is off by .2 of a second on the replay than the game start. I thought there might be some logic difference from game reset than change scene. I can't think of why? I see it in the creator and adhoc.

    thanks
    Dwayne

  • GnarlyGnarly canadaPosts: 840Member

    @zweg25 said:
    Hey Dwayne,

    Oddly, I cannot recreate this. Is run to completion checked on your timers? Also, if you save the high score in the game over screen and load it in the gameplay scene then it should not return to 0.

    Yeah game start works fine. But replay its really noticeable on the 5th spawn its spawns .2 early and game is impossible to survive............

    I have a work around. I just restart game every time.
    All good.
    Thanks

  • SocksSocks London, UK.Posts: 12,822Member
    edited August 2015

    ...

  • Thunder_ChildThunder_Child Posts: 2,343Member

    @gattoman just add a save and load high score behavior and even if game resets it should show the high score I believe.

Sign In or Register to comment.