Quantcast
Channel: Active questions tagged game-maker - Stack Overflow
Viewing all articles
Browse latest Browse all 189

Upgrade button goes up by thousands and i dont know how to fix it

$
0
0

I have a very simple upgrade button in my game that increases the players' health but when I press it the health variable goes up by thousands at a time, I'm using the Left Pressed event. (oPlayer.Hp += 1;)

I've tried using a button cooldown variable with an alarm, but that didn't work.


Viewing all articles
Browse latest Browse all 189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>