animated explosion when ennemy is destroyed ?
neo_matrix31@hotmail.com
Member Posts: 32
hi to all,
iam facing about some problems depending animated explosion when ennmy is destroyed
for example
ennemy
animation
rule
when collosion with thing
destroy
i try :
when collosion with thing
timers 2 destroyed
timers 4 animated
but not success ...
i just want that my ennemy destroyed and the animation (3 or 4 pictures) play for 3 secondes after the destroy ...(and after nothing)
iam facing about some problems depending animated explosion when ennmy is destroyed
for example
ennemy
animation
rule
when collosion with thing
destroy
i try :
when collosion with thing
timers 2 destroyed
timers 4 animated
but not success ...
i just want that my ennemy destroyed and the animation (3 or 4 pictures) play for 3 secondes after the destroy ...(and after nothing)
Comments
Enemy actor
When collide with [thing actor]
Spawn actor [explosion]
Destroy actor
Explosion actor
Animate behavior
Timer after x* seconds
Destroy actor
*If you animate behavior is 1.4 seconds long, then you'd want the timer to last that long or slightly longer, for example.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
and its exactly what i want ... and usefull for a lot of ennemy