Hello. I have problem with timer. My player in game is moving by variables. speedW, speedA… when you will press w player will go up. it will add some points to speedw. And timer will slowdown speed. I dont know why my timers dont work. Here is:
(SORRY FOR MY ENGLISH IF I HAVE SOME MISTAKES.)
The timer “slowingW” is greather then 1 second Do -5 to global variable speedW
Reset the timer “slowingW”
i tryed to add unpause if variable speedW is greather than 0 and then if “slowingW” is greather then 1 sec, pause timer “slowingW” . ANYTHING DONT WORK. thanks for every help.