← Back to Game Dev Projects

My First Game

The first JavaScript game I ever made. It was a simple platformer where the player had to navigate through levels and avoid obstacles. This project was a great learning experience and sparked my passion for game development.

How to Play

Controls

  • Start Screen: Use the Arrow Keys to move the cursor and press Space to select.
  • Movement: Use the A, D to move the ball around, and W to jump.
  • Gravity Flipping: Press Space to flip gravity (Only when active).
  • Restart: Press R to restart the current level from the last Checkpoint if you get stuck.
  • Timer: Press T to Show/Hide the timer, and press P to Pause/Resume it .

Game Mechanics & Elements

  • Goal: Reach the pulsing portal to complete the level.
  • Spikes: Avoid the spikes. Touching them will destroy the ball and reset you to the last checkpoint!
  • 1/2 Gravity: Interacting with these blocks toggle the gravity from 1 to 1/2 meaning you can jump higher and fall slower.
  • Gravity Flippers: Interacting with this block toggles your ability to switch gravity using the Space button. You can only use it once before you must touch the ground to use it again.
  • Shrinking/Growing: When interacting with these boxes, they will change the size of your ball, allowing you to squeeze through tight gaps.
  • Checkpoints: Touching these will save your progress so you don't have to restart the whole level if you hit a spike.
  • Screen Switching: Interacting with these boxes will transition you to the next adjacent room/screen in the level.