There might be pixel anime tits if I can get an artist
It's kinda fun, not using any frameworks or libraries so I'm writing all the code on my own from scratch (because I'm doing this to learn how a thing in HTML works, namely canvas, it's like the one last front end web developer thing I have ZERO experience with). Trying to imitate how they did it back in the oooooooold days. Partly because browser games run like CRAP so maximum optimization is needed.
I actually researched the topic way back in my school days. It's practically forgotten knowledge. See way back when a lot of browser games (mostly done using flash) would run like SHIT, yet there was these old games, running on calculator tier hardware, having as many damn explosions, projectiles, and enemies as they wanted, while running silky smooth 60 fps. And it was just mind blowing how the heck they did it.
Turn out, it's because they cheat A LOT.
Take Mario for example. The first one. Huge levels, tons of destructible terrain... in 1985!
Yet there's a clue as to how they did it. What's that then? It's that you can never go backwards, beyond what's already on the screen.
Why? Because the damn game only loads like 2 screens worth of the level data into memory at a time! If you could go backwards, then it would load that data again. Meaning all enemies, and more importantly extra lives and power-ups, would be reset!
And if you then go back to where you were, all the progress you had made, would also be gone!