Gravity Simulation

Gravity Simulation is a 2D survival game where the player dodges from energy balls and laser beams. The goal is to achieve the best score before the game is over. I implemented features including, the player changing the gravity upside down, random tile generator for the speed, barrier shell to protect, an enemy shooting projectiles when it hits the wall, and shadow motions.

The player can chang

Player skills

The player can change his gravity upside down, and use a barrier shell in order to protect from fatal weapons.

Map provides the pla

Random tile generator for the speed

Map provides the player various experiences for different level designs. The map is changing to another map for every time, and tiles affect the player's speed fast or slow.

The enemies in the g

Units

The enemies in the game are two types: energy ball and laser beam cannon. The energy ball is moving around in the area, and colliding wall or the player. When the energy ball hits something, it reflects to move opposite, and shoots shock projectiles. On the other hand, the laser beam cannon will spawn if the player achieve a lot of score, and it shoots lasers for every specific seconds.

The player can chang
Map provides the pla
The enemies in the g

Other Credits

Instructor: Peter Chan