A fun 2D platformer game where you play as a glass of water, applying force and rotation to navigate through the level all the while trying to avoid spilling your contents.
The objective of Running Water is to guide a glass of water through a series of challenging levels. You must carefully apply force and rotation to the glass to move it, while simultaneously preventing the water from spilling. The less water you spill, the higher your score!
- Unique Physics-Based Gameplay: Master the art of controlling a wobbly glass of water.
- Challenging Levels: Navigate through a variety of obstacles and puzzles.
- Scoring System: Earn points based on how much water you have left at the end of each level.
- A and D Keys: Apply force to the left and right.
- Arrow Keys: Rotate the glass.
- Clone this repository.
- Open the project in Xcode.
- Install the required SDL2 libraries.
On Mac:
$ brew install SDL2 && brew install SDL2_image && brew install SDL2_ttfThen check the versions installed:
$ pkg-config --libs SDL2_mixer
-L/opt/homebrew/Cellar/sdl2_mixer/2.8.1_1/lib -lSDL2_mixer -L/opt/homebrew/lib -lSDL2
$ pkg-config --libs SDL2_image
-L/opt/homebrew/Cellar/sdl2_image/2.8.8/lib -lSDL2_image -L/opt/homebrew/lib -lSDL2If your versions are different, you'll need to update the "Other Linker Flags" in the Xcode target.


