Side scrolling collisionbox system either has player falling through floor or running out of memory based on my methods
I had a system with checking, but as it scrolled, I basically sank into the floor. I had chatGPT comment my code for helping with this.
The main problems seem to be the ReassignCollisionBox(), which causes the memory error, and around the bottom of update(). I am unsure how to get this collision working, as all the sources i can find are for some game engine, not JavaScript.
Side scrolling collisionbox system either has player falling through floor or running out of memory based on my methods
I had a system with checking, but as it scrolled, I basically sank into the floor. I had chatGPT comment my code for helping with this.
The main problems seem to be the ReassignCollisionBox(), which causes the memory error, and around the bottom of update(). I am unsure how to get this collision working, as all the sources i can find are for some game engine, not JavaScript.
Side scrolling collisionbox system either has player falling through floor or running out of memory based on my methods
I had a system with checking, but as it scrolled, I basically sank into the floor. I had chatGPT comment my code for helping with this.
The main problems seem to be the ReassignCollisionBox(), which causes the memory error, and around the bottom of update(). I am unsure how to get this collision working, as all the sources i can find are for some game engine, not JavaScript.