1. As you can customize the controls for the game to your preference, I will be using my own keys for the controls for this mindmap.
2. Press E
2.1. Attack - var attack:Boolean = true;
2.1.1. Hand changes into a arm cannon (Mega Buster) before shooting bullets (Hand that changes depends on which direction Rock Man is facing.)
2.1.1.1. Hold down E
2.1.1.1.1. Shots can be charged to two different levels depending on how long E is held down for
2.1.1.2. Standard bullets shoots out
2.1.1.2.1. Bullet shot dissipates at first enemy it hits
2.1.1.2.2. Orange in colour
3. Press Spacebar
3.1. Jump - var jump:Boolean = true;
3.1.1. Fall var fall:Boolean = true; var jump:Boolean = false; var longjump:Boolean = false;
3.1.2. Hold down Spacebar
3.1.2.1. Continue the jump var longjump:Boolean = true; var jump:Boolean = false;
3.1.2.1.1. Fall var fall:Boolean = true; var jump:Boolean = false; var longjump:Boolean = false;
3.1.3. Press E while still jumping
3.1.3.1. Attack while jumping var attack:Boolean = true; var jump:Boolean = true;
4. Press Arrow Keys
4.1. Up Arrow
4.1.1. Nothing Happens - var climbladder:Boolean = false;
4.1.2. Move up ladders - var climbladder:Boolean = true;
4.1.2.1. Rock Man climbs ladder to the next platform - var climbladder:Boolean = false; and var idle:Boolean = true;
4.1.2.2. Press Spacebar while on ladder
4.1.2.2.1. Rock Man will jump off the ladder var climbladder:Boolean = false; and var jump:Boolean = true;
4.2. Left Arrow
4.2.1. Move to the left - var moveleft:Boolean =true; and var idle:Boolean = false;
4.2.2. Press E and Left Arrow
4.2.2.1. Jump while moving to the left var moveleft:Boolean =true; var idle:Boolean = false; var jump:Boolean = true;
4.2.3. Press E, Left Arrow and Spacebar
4.2.3.1. Attack while jumping towards the left var moveleft:Boolean =true; var idle:Boolean = false; var jump:Boolean = true; var attack:Boolean = true;
4.3. Right Arrow
4.3.1. Move to the right - var moveright:Boolean =true; and var idle:Boolean = false;
4.3.2. Press E and Right Arrow
4.3.2.1. Attack while moving to the right var moveleft:Boolean =true; var idle:Boolean = false; var jump:Boolean = true;
4.3.3. Press E, Right Arrow and Spacebar
4.3.3.1. Attack while jumping towards the right var moveright:Boolean = true; var idle:Boolean = false; var jump:Boolean = true;
4.4. Down Arrow
4.4.1. Nothing happens - var climbladder:Boolean = false;
4.4.2. Press Spacebar while holding Down Arrow
4.4.2.1. Slide - var climbladder:Boolean = false; var slide:Boolean = true;
4.4.2.1.1. Move towards direction Rock Man is facing
4.4.2.1.2. Dust Particles appear behind Rock Man's body
4.4.3. Move down ladders - var climbladder:Boolean = true;
5. Damage Taken
5.1. Health Bar depletes
5.1.1. Low Health
5.1.1.1. Rock Man appears out of breath with blood at the corner of his mouth
5.1.2. No Health
5.1.2.1. Rock Man explodes
5.1.2.1.1. Death
5.1.2.2. Explosion Animation
5.2. Rock Man flinches
5.2.1. Unable to Attack
5.2.1.1. Invincibility Frames
5.2.1.1.1. Recover
5.2.2. Able to move Left
5.2.2.1. Invincibility Frames
5.2.2.1.1. Recover
5.2.3. Able to move Right
5.2.3.1. Invincibility Frames
5.2.3.1.1. Recover
5.2.4. Unable to Slide
5.2.4.1. Invincibility Frames
5.2.4.1.1. Recover
5.2.5. Unable to Jump
5.2.5.1. Invincibility Frames
5.2.5.1.1. Recover
6. Idle
6.1. Rock Man stands still, only blinking var idle:Boolean = true;
7. Item Pick-Up
7.1. Rock Man Helmet
7.1.1. Gain extra Life
7.2. Health Orbs
7.2.1. Small Health Orb
7.2.1.1. Restore a little health
7.2.2. Large Health Orb
7.2.2.1. Restore more health than small Health Orb
7.3. Screws
7.3.1. Big Screw
7.3.1.1. Nothing happens
7.3.2. Small Screw
7.3.2.1. Nothing happens