my actor animation won't stop and change to die picture/animation when 'die is true'

DonaldoukDonaldouk Member, PRO Posts: 63
Hi guys,

My problem is my actor animation won't stop and change to die picture/animation when 'die is true'

so when my actor collide with an enemy its just carry on running. i can see my die.png for a split second then he start running again.

-att game.die is true

change att self.image to die.png


please help.

Cheers

Don

Comments

  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    Hi @Donaldouk Make sure you have your Animate Behaviour in a Rule: When die is false

    Hopefully that should sort it.
  • DonaldoukDonaldouk Member, PRO Posts: 63
    Thanks @gyroscope I did just that and its working great.

    Cheers
Sign In or Register to comment.