Skip to content

Cwang4749/Simple_Maze

Repository files navigation

Free - built with the Yam Engine

Free is a simple 2D maze game created using a custom built C++ based game engine. It uses GLFW to render the graphics and the engine abstracts most processes. (Currently resizing is an issue, please keep at default: 800 x 600)

Bot:

  • User can manipulate Entity called Bot
  • Bot moves with arrow keys
  • Bot state changes with keys: A, S, or D
  • Bot cannot move above the top of the game window
  • Bot cannot move below the bottom of the game window
  • Moving Bot past the left or right boundaries of the game window will loop the bot to other side
  • Bot cannot move past walls (stopped when collides)
  • Bot cannot change state if it results in collision with walls

Maze:

  • Game has a start screen with simple animation
  • Press spacebar to start the game
  • Maze built with a vector of Entities
  • Infinitely moving Entity called Sweeper
  • Bot resets when it collides with the Sweeper
  • Game progressed when goal (green line) is reached
  • Stage 2 clones the Sweeper Entity
  • After stage 2 is the end credits
  • End credits has a short animation before exit(0) is called

Demo:

CMake Configuration:

image

Building Process:

The First milestone includes:

  • Rendering the map
  • Rendering the user and the enemy
  • Add continuous movement to the enemy
  • Add functionality: when user collides with enemy, respawn the user
  • Add functionality: user can change orientations
  • Add functionality: user can move with keyboard input

The Second milestone includes:

  • Adding collisions to all of the walls

The Third milestone includes:

  • Add functionality: Prevent user from changing orientations when it causes collision with a wall
  • A second map

The Final milestone includes:

  • Start screen with animation
  • Add functionality: user input will start the game
  • End animation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages