ok so i am coding this game for s school project and in my opinion its coming together nicely but a problem I noticed while testing is the game will randomly freeze ive been trying to figure it out but i cant find any cause. also sometimes the game screen will just be black without a sim error so if yall can help me i would really apreciate it. heres the game link
1 Like
I’m not the best person to answer this, but here I go:
At first, I suspected that maybe it had to do with this:
This tends to lead to decimals, maybe causing a Floating-point error? (Idk, I don’t think that’s it but, just wanted to put it out there)
And then I saw this:
When this freezes, this seems to get stuck looping, do with that what you will.
Anyways! I hope this helps
thank you, i was able to swich that out for a if verible and its not having issues anymore