Giter Site home page Giter Site logo

traffic-rush's Introduction

Falling Fun

license

Author: Ankitha Damisetty - [email protected]

Overview

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.

Set Up

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!

traffic-rush's People

Contributors

adamisetty avatar nikitha4 avatar alexmackowiak avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.