Skip to content

Blob Kart is an Advanced Programming C++ Project inspired by Mario Kart.

License

Notifications You must be signed in to change notification settings

owncook/Blob-Kart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blob Kart

Blob Kart

Authors

👤 Owen Cook
👤 Aaron Perkel

Description

Blob Kart is a game built in C++ inpsired by Mario Kart. This is a continuation of two of our previous projects that were also inspired by Mario Kart. It was created using concepts we learned by completing other projects from this class.

Graphics source files were provided as started code by our instructor.

We plan to implement a cart selection, as well as more power ups. We would also like to add specific handling for specific characters and vehicles (i.e. more weight = less acceleration = more speed). We also have almost finished code for an item box feature. This would allow the cart to drive over an item box that would give the player a random power up. This code is implemented, just commented out as we did not fully finish the idea.

How to Run

The commands below should be run in terminal in the project directory.

  1. Run mkdir -p build
  2. Run cd build
  3. Run cmake ..
    1. If this fails, run brew install cmake and try again
  4. Run make
  5. Run ./Blob_Kart

Instructions

  1. When you run the program, press the space key to start the game.
  2. Player 1 select a character
  3. Player 2 select a character
    1. Note: Both players are able to select the same character
  4. Press the Play button
  5. Player 1 (left, red car) use W A S D
  6. Player 2 (right, blue car) use UP LEFT DOWN RIGHT
  7. After the countdown race your vehicles to complete three laps first!
  8. The yellow bar is a boost panel, drive the center of your car over it to gain a boost!

Game Logic

Each cart is a vector of rectangle objects that move together. There are three invisible "checkpoints" spread out across the racetrack. Each cart must hit all three of these checkpoints for a lap to count. This prevents a player from doing small loops around the finish line to cheat the system. The carts move slower when cutting through the grass to prevent players from trying to take their own shortcuts.

Known Bugs

  • If you drive into a wall while holding the opposite direction (hold D to drive in to right wall and then start holding down A), the top half of the cart "drives away" from the rest of the cart.

Citations

Issue Location Source
Creating 8-bit Music music.mp3 Beepbox.co

About

Blob Kart is an Advanced Programming C++ Project inspired by Mario Kart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published