Change Scene via Timer
thdgames
Member Posts: 9
Hi,
I'm a novice using GameSalad. I'm modifying the 'Cannon game' to learn how GameSalad works. So far I have removed the bricks and I have replaced them with 1 static character. I have added a noise and particle effects for when the cannonball strikes the character. This all works so far.
I would like the scene to change for a timed period of 4 seconds after the character gets hit and the particles and noise deploy. I've tried various different things but either the scene doesn't change at all OR the scene changes straightaway - the instant the cannonball collides with the character.
Can anyone advise a process that will do what I want in this order:
Cannonball strikes character >> noise + partical effects >> New Static Scene timed for 4 seconds >> Return to Initial Scene
thanks for any help.
T
I'm a novice using GameSalad. I'm modifying the 'Cannon game' to learn how GameSalad works. So far I have removed the bricks and I have replaced them with 1 static character. I have added a noise and particle effects for when the cannonball strikes the character. This all works so far.
I would like the scene to change for a timed period of 4 seconds after the character gets hit and the particles and noise deploy. I've tried various different things but either the scene doesn't change at all OR the scene changes straightaway - the instant the cannonball collides with the character.
Can anyone advise a process that will do what I want in this order:
Cannonball strikes character >> noise + partical effects >> New Static Scene timed for 4 seconds >> Return to Initial Scene
thanks for any help.
T
Comments
This would be placed on the character that will be hit.
You'd have a rule:
If character collides with Cannonball
Play noise
Produce particles
Timer - after 4 seconds go to new static scene
Go to initial scene.
At least that's what I've got from what you've written. I'm feeling unbearably wonderful though, so excuse any misunderstanding...
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
I'll try what you suggested.
Cheers,
T
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
1 : cannonball hits character
2 : character makes sound and particle effects display
3 : after a 1 second delay (long enough to see the particles) (timer ?)
4 : change scene to scene 2
5 : stay in scene 2 for 4 seconds (timer)
6 : back to initial scene
This seems like it should be straightforward to accomplish, perhaps it's the cannonball's rules that are conflicting with my characters rules? hmmm... better start from scratch!
T
In the second scene, have a rule on an actor that says:
Timer: After 4 seconds
Change scene to previous scene.
That should work...
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io