A remixed version of @Wertywert800's platformer attempt that improves gameplay. It's hard for me to get around this code (no offense), so if you want me to give you a good platformer engine, I will release a game soon, and you can copy the platformer sprite from that.
@Wertywert800 for the original project.