How to make it
Jonatan R
Member Posts: 9
Hello,
I have character actor whit 2 attributes a) life (20), b) bubble (true/false) .
If i click on it he loosing 4 life,again more 4 life and more.
When actor life down less or equally 0 , actor destroyed. All work perfect.
**Question : Now i need to add condition, if actors life should down less or equally 0 and he has bubble on true,
Life should stay on 1 but bubble should be destroyed and the only next click on it destroy actor.
How exactly i am writing it at code ? **
Thank you for help.
Comments
Death rule
If hp <= 0
My Apps
https://itunes.apple.com/de/artist/david-zobrist/id733552276
https://play.google.com/store/apps/developer?id=David+Zobrist&hl=de
Thank you , ill try it today