Animation with touch pressed ?
oswaldev018
Member Posts: 34
Hello guys what I want is that when my actor rises to generate an animation and when lower generate another and I mean those I am working with touch pressed
Comments
Like Flappy Bird?
If Touch is Pressed
[rise]
Change Attribute game.animate to true
Otherwise
[sink]
Change Attribute game.animate to false
If attribute game.animate is true
Animate
Otherwise
Animate
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Friend let me Explain what I want my player Generates an an actor who is the fire of a propellant what I want to do is That When You press the screen Generates When the drive but an actor down the loose and not the fire
Friend let me Explain what I want my player Generates an an actor who is the fire of to propellant what I want to do is That When You press the screen Generates but free when the paantalla desapares slightly like that like what is made by it barry in jetpack joride
Make a Boolean attribute,
for ex: fire
-When touch is pressed , change attribute(fire) to true
-When touch is released , change attribute(fire) to false
Inside main actor:
-When attribute fire is true, DO
-Every 0.1 second spawn actor (the fire actor)
Maybe this will work.