👤 Owen Cook
👤 Aaron Perkel
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.
The commands below should be run in terminal in the project directory.
- Run
mkdir -p build
- Run
cd build
- Run
cmake ..
- If this fails, run
brew install cmake
and try again
- If this fails, run
- Run
make
- Run
./Blob_Kart
- When you run the program, press the
space
key to start the game. - Player 1 select a character
- Player 2 select a character
- Note: Both players are able to select the same character
- Press the
Play
button - Player 1 (left, red car) use
W
A
S
D
- Player 2 (right, blue car) use
UP
LEFT
DOWN
RIGHT
- After the countdown race your vehicles to complete three laps first!
- The yellow bar is a boost panel, drive the center of your car over it to gain a boost!
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.
- If you drive into a wall while holding the opposite direction (hold
D
to drive in to right wall and then start holding downA
), the top half of the cart "drives away" from the rest of the cart.
Issue | Location | Source |
---|---|---|
Creating 8-bit Music | music.mp3 | Beepbox.co |