Going to next Scene
TouchTiltGames
Member Posts: 1,162
I'm starting to setup the 40'ish scenes for my game which is almost done..except I've run into a barrier: I've got my game setup so that when the enemies are gone, it goes to the next scene. It works for going from Scene 1-2 but not onward hmph. Anyone ever have this prob?
Comments
What exactly is happening? Do you have a variable that counts how many enemies have been killed/are left that triggers the move to next scene?
If so, are you sure the actor with the appropriate rules is in every scene?
Cheers,
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
So on the exploded bit (the head):
if
game.noenemy = 0
game.allmotionhasstopped = 1
then next scene...
Seems to work for going from 1-2 like i said but not from 2-3 lol.
A bug maybe??
QS
Edit - have you tried removing the rules from the head (noenemy=0) and putting it in a separate actor in the scene?
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Ok so there's 3 enemies. I've got a noenemy interger set to 3. I've got a Change attribute on the enemy itself: game.noenemy to game.noenemy -1
Next Level Rule on the enemy:
if Game.noenemy = 0
then: change scene
That's it...not sure what I'm missing, this stage in the 'game' so to speak is new to me.
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
How would I reset the game.noenemy to 3? I guess having it in the attributes list isn't enough...
Change attribute game.noenemy to 3
That's it!
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Can't wait to show you guys my first title.
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Ok....phew..that worked! Thanks a ton.
Youtube vids and/or screenshots to come in a week I found since starting GS 2 months ago that I have 5-6 projects on the go at the same time but I think I'm going to finish this one which involves rodents ruling the world over humans by means of bombs and physics