My code will not work when watched. I programmed my character to auto regenerate it's health but it only seem to regenerate when I pull up another window over my game's window. Does anyone have some kind of idea why this happens?
The scenario is this in a nutshell.
1)Start Game
2)Jump
3)Minus health with every jump
4)Waits for health to regenerate.
5)Nothing.
6) Clicks on another window
7) returns to game window
8)character regenerate health.
I thought I was being impatience but I ran several test, this code is acting funny.