Arrow keys to move, green flag to start This is a combination of my new off screen rendering and my enemy AI.
I figured out a way to render things off-screen by changing variables instead of the x and y positions of the enemy, then setting the x and y to those variables, so there is no limit to where the enemy can be, on or off screen. The box around the outside is because the enemy sprite still cant leave the screen, it just tries to.