1) Set your background to a color or image, and create a sprite for the ground.
2) Make a sprite for your main character, and make it move left and right with the arrow keys.
4) Using your list, make it so your character can't move past the obstacles.
5) Now let's get your character to jump. Firstly, if she/he isn't touching the ground or the top of an obstacle, make her/him fall. Test your code by making your sprite start above the ground.
6) Now make your character move up when you press the up arrow. (When she/he stops moving up, she/he should automatically fall).
7) Make your character shoot fireballs when you press the space bar. Make the fireballs bounce off the ground and the obstacles.
8) Make enemies that appear randomly on the right side of the screen and move across.
14) Now let's make your player able to keep moving through the world. First, make it so that when your player gets to the right edge of the screen, she/he reappears on the left side.
15) When your player reappears on the left side, make the obstacles disappear and make new ones appear in new spots.
16) Make any enemies that are on the screen disappear when your player reappears on the left side.
17) Make a hidden variable called "subLevel" and make it go up every time you reappear on the left side of the screen.
18) Now make different obstacles appear for each sublevel. Make three sublevels.
19) After the third sublevel, we need a boss level, so make all of the obstacles disappear, and make the enemies stop spawning.
20) Make a boss sprite appear when you get to the boss level. Make the boss move quickly back and forth on the screen.
21) Make a variable for the boss' health, and make it appear on the screen. Make the health go down when a fireball hits the boss.
22) Make the player lose a heart when the boss touches her/him, and make the boss change direction.
23) When the boss' health gets to zero, make the boss disappear, and give the player all her/his hearts back.
24) Now you have all the basic ingredients for your game, so it's time to get creative. Make more levels, more enemies, more bosses, and even powerups for your player. It's all up to you!