Hey, so, I was wondering if anyone can help me understand why my ground detection is "sketchy"?
it seems that, every once in a while, my accelerator method will fire twice... Even though Ive clearly disabled jumping while not touching the ground.
I even went as far as to manually set grounded to false when the accelerator is fired, yet it still seems to shoot my player up more than once every once in a while.
https://replit.com/@MisterSirCode/CGame-Engine-Github#index.js