Hey,I'm making platformer game and i would like to make something like this:
If you stay on certain platform for certain time lets say 2seconds you take damage and additional damage every second you stay here.
Somehow can't figure it by myself
Thanks in advance :)