Math Game Breakdown

General Idea
I’ve decided to make into a side scroller so it would make the maze a lot more harder to navigate through, instead of having a fullscreen view. Which would take away one of the main aspects of a maze game. The player would take control of white cube while avoiding any red cubes. The red cubes can be destroyed by jumping on top of them, or red cubes can kill player by colliding vertically with them. The player would also be able to collect power-ups in shape of circles, which can enhance the speed for a bit or jumping. In doing so the player will have only few seconds which would be indicated with colour change from the white cube.


Maths Level
I’ve designed the Maths levels after completing the a maze level, as well adding a timer. They would need to answer the question, if they want to proceed forward. If they get the answer wrong they would need to start again as punishment. Eveytime they fail they portal would move around the maze. With the limited view and portal changing places. This would want them to get the answer right. All the maths are at least grade C.
Math Level 1

Math Level 2

Math Level 3
Player and Enemy Variable Coding
I had used a very similar coding with the player and enemy codes. But added gravity effect on the player coding.

Player's coding

Enemy's coding
Player and Enemy Movement Coding

The movement coding again is quite simple for the Enemy’s, but the player’s coding. I had to added some gravity effect so they won’t float away. They are some uncompleted coding the player’s movement coding. While the Enemy’s movement coding contains the death coding for the player and the enemy itself.

Player's movement code
Enemy's movement code
Player’s Powerup Timer

I’ve added timer so they won’t stay in the same state for to long. If I did not added a timer, it would have left a exploitation for the player.

Player's movespeed code

Player's Movespeed Appearance

Player's jumpspeed code

Player's jumpspeed appearance 
Gameplay footage

https://www.youtube.com/watch?v=GQUhixSgOpw&feature=youtu.be

What I wanted

There were some uncompleted programming and sprites that I wanted to implement into the game, but I could not do so. As I had a limited knowledge of programming and ran out of time.
What I wanted to implement:
- Moving teleporter
- Timer
- More enemy variations
- Point system
- More abilities

Comments

Popular Posts