Timeout after a specific event

delorean88@aol.comdelorean88@aol.com Member Posts: 20
edited November -1 in Working with GS (Mac)
How would you tell the program to move to the next scene after a specific event? For instance if I clicked on an image that exploded into particles. I want the user to watch the particle event for a certain amount of time, then auto time out to the next screen.

Thanks

Delorean88

Comments

  • quantumsheepquantumsheep Member Posts: 8,188
    Ok, this should be quite simple.

    You have an actor that you press for starters.

    In this actor, add a rule that when mouse position is over actor, and the user clicks on the mouse to spawn a new actor called 'explosion' where the first actor is, then destroy the first actor.

    Now, the second actor is called 'explosion' and is the one called when you press actor 1.
    'Explosion' would have the particle effects. Then after the particle effects drag a 'timer' behaviour across to the actor and add 'after 5 seconds' change scene to 'whatever you want'.

    That should do it ;)

    Cheers,

    QS

    Dr. Sam Beckett never returned home...
    Twitter: https://twitter.com/Quantum_Sheep
    Web: https://quantumsheep.itch.io

  • delorean88@aol.comdelorean88@aol.com Member Posts: 20
    Thank you that worked, question though, how come if I have the scene return to the scene in which it came from, when I try to re-enter the scene it crashes. Every time...
Sign In or Register to comment.