thanks another question when you actually have more than 1 actor that its moving to a place and you touch him to kill him so the problem is that i want it that no matter what actor you tap last it goes to the next scene
Braydon_SFXMember, Sous Chef, Bowlboy SidekickPosts: 9,273
@ozboybrian - I dont think so unless you only had 1 life.
SlickZeroHouston, TexasMember, Sous ChefPosts: 2,870
"thanks another question when you actually have more than 1 actor that its moving to a place and you touch him to kill him so the problem is that i want it that no matter what actor you tap last it goes to the next scene"
Then you would need an actor count attribute that keeps track of how many actors are onscreen. Every time one is tapped and destroyed, change the attribute actorcount to actorcount -1. And when it reaches 0, go to whatever scene. Basically the same thing as what you asked earlier.
Comments
then have a rule when attribute lives is less then or eqaul to 0,
change scene to game over scene
spawn image game over scene
or have the scene there and change the alpha to1
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
Then you would need an actor count attribute that keeps track of how many actors are onscreen. Every time one is tapped and destroyed, change the attribute actorcount to actorcount -1. And when it reaches 0, go to whatever scene. Basically the same thing as what you asked earlier.