How can I do that? I already did this and still can't figure it out. When the player is overlapping by the zombie Just subtract private variable "Health" by 33*timedelta. And how can I convert it to integer? Or is just my mistake?
And the result: (At the "Health: ")
Answer me please!!
There are many ways: why not try
Did for me.
Look at last two events.
Is this what you mean?
Develop games in your browser. Powerful, performant & highly capable.
I did EXACTLY what you did. Still doesn't work for me.
Then unless you show your work, there's nothing we can do.
There must be something else interfering with the events, or some other error, but without seeing it, we will never know.