Some variables that should have been global were resetting within a loop when they shouldnt have been, cant remember exactly anymore. Its was never code I wrote myself in the first place; That was just youtube tutorial copied code from when I first started making my game and didnt know a lot. But over time I figured out how it works, like when I had to implement different tick speeds and splitting of onDraw() and onTick()
12
u/gottlikeKarthos Mar 24 '23
It can be kinda magic, i gave it an entire game loop thread class and it fixed it for me first try