This site requires JavaScript, please enable it in your browser!
Greenfoot back
StudentGR
StudentGR wrote ...

2017/12/11

Greenfoot Lifes

StudentGR StudentGR

2017/12/11

#
Hello so I am working on a project that my character is tracing items in my world and i wanted to add lifes for better marks. but whenever my character is touched by an item is dying. I want him to die after three times he is getting touched. I used as a tutorial this video please help..
danpost danpost

2017/12/11

#
StudentGR wrote...
Hello so I am working on a project that my character is tracing items in my world and i wanted to add lifes for better marks. but whenever my character is touched by an item is dying. I want him to die after three times he is getting touched.
You will need to show the codes you ended up with (the World subclass, the HealthBar class, and the Actor subclass that has health).
You need to login to post a reply.