Hi, long time browser, first time poster
I’m making a pong game, just wondering how to add a life every time you reach 1000 points. Yes, I’ve used the mod operator, but that doesn’t always work…
Say I’m on 999 points, then I hit a block and get 2 points. Thats 1001, and my mod operator doesn’t count it.
current if statement to add life:
if(score%1000==0)
anybody got any ideas?