I want my actor to lose health every time he touches an enemy, gets burnt, touches spikes, or falls down a hole. And I would like my actor to gain health if it eats something. How do I go about coding something like this?
After I have done that I would like to link this to danposts healthbar that he posted at
http://www.greenfoot.org/scenarios/4114
How do I do this?