Use arrow keys to move, try to get to the portal. Don't fall or touch red, or your death increases by 1. Try not to use this, but press q for 5 seconds of invincibility or press n to go to the next level. Credits(Notes are too long...): Music from Undertale
Brief description of the program: 1) Checking for "death"(easiest part) 2) x-component of the velocity 3) The walljump (used a custom block, which wasn't totally necessary) 4) Making the dot not go up and down when it's supposed to be stationary 5) Acceleration of gravity (terminal velocity is -12 units per loop, I didn't add in any other affects of air resistance) 6) Jumping 7) Setting the y-velocity to -3 when it is on black, so it falls more naturally, and changing the y-position by the -yv so it doesn't fall through the platform 8) Next level stuff and cheats(try not to use cheats ;) )\ For the boss fight: The first attack used initializes a random path, then draws a red path that goes along the initialized path(hint hint, this tip will make it easier to beat). The second attack follows the target for a bit, then draws a horizontal red "laser".