Hey guys,
I have to program a game as a school project (I want to program sth like a Jump 'n Run game) and here's the problem:
I just can't seem to get a life counter to work...
The counter should be located in the upper left corner. There should be 3 hearts (as an object except sb has another idea) representing the life. Every time the playable character (controlled through the keyboard) hits an obstacle (e.g. a tree) one of the hearts should delete itself/be deleted. If there are no more hearts left sth like a 'Game Over' screen should pop up.
(Before someone asks: Yes I tried to search for sth like this and also tried some things myself, but either I didn't understand how it worked or it wouldn't work...so an explanation would be very helpful too :) )
~Lg Lari2311

