Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Thank you for your advice! I was able to get it working exactly the way I wanted!

 photo kiimyytest5_zpsahjgguit.gif

I found that a big problem was also that I was trying to decrement the energy all the time instead of once a second, so it was stuck constantly trying to do the loop which made it crash.

aa fantastic!!! i'm glad you figured it out! altho i do want to say even if you did all of the energy decremented at once the "once a second" part would stall the loop from exiting immediately which would prevent the tick from being able to finish up and run anything else. wait/timer commands aren't meant to be inside loops 3: