Author: Ankitha Damisetty - [email protected]
This is a game that allows the user to control the motion of many small balls by drawing solid edges with their mouse. This game uses the Box2d cinder block to control the motion of the balls as if they are interacting with hard surfaces and feel the force of gravity as in a real world.
The player must be careful and deliberate as they draw the lines, because no ball can be left behind if the player wants to win. Once the game begins, the user is given a specific amount drawing time, where they can use their mouse to draw edges. After the time is up, the balls will drop from their starting point (a cluster at the top of the screen). The target is displayed as a small block at the bottom of the screen. The user wins if all the balls hit this block in the allotted playing time, otherwise they lose.
This is a Cinder application, and requires the installation of Cinder. You can find the installation instructions here. If you are using a WindowsOS, you will need Visual Studio 15. Make sure you build Cinder on your device before cloning this project. You should make a cinder folder to store this project and others.
This project uses the Cinder block Box2D. You do not need to fork this repository since it is built into Cinder. Once you you have built Cinder on your IDE, you should clone this project into a folder titled "falling_fun" in your cinder folder. Now open your src/CMakeLists.txt file in this project.
Here, there is a section of code "ci_make_library", under here there is the word "BLOCKS", next to this word type "Box2D" with the correct capitalization. Now rebuild this project, and you should be able to run correctly. You should see all of the box2D .cpp files appear in your project. Now you are set to play this game!