Inspiration

When brainstorming, our group decided to challenge ourselves. Out of many games that we brainstormed, we ended up choosing a platformer game because our group

What it does

The player has to progress throughout the game to reach the end (collide with the green blocks). They are able to jump (double jump) and hop onto elevated platforms (yellow blocks), making sure to evade hazards (red blocks) to reach the end. If the player collides with a hazard, the player dies and respawns at the beginning of the game, resetting the entire game. The player can collect coins, with the sidebar tracking how many coins the player collected throughout the game. Like the player, the sidebar resets when the player restarts the game. We built it using Verilog on Verilator. There were many bugs that we ran into, including having a lot of lag, the player not respawning at the beginning of the game after they win or lose the game, and coins not resetting once the player restarts the game. We were able to easily fix up floor and ceiling collision. Additionally, we were able to allow the game to scroll as the player progressed throughout, as well as reset the scroll when the player restarts the game. We learned how to code on an HDL (Verilog), as well as learn how to create a platformer game (this is our group's first time creating a platformer).

Built With

  • c++
  • sdl2
  • verilator
  • verilog
Share this project:

Updates