So, this was going to be the engine used for the game, but I forgot that I wanted to make a scrolling platformer so y e a h.
You can use this with credit (except for the sprites, you can't use those). Thanks to @Neonscratcher1275 for most of animation code.