Skip to content

gwang0136/basketball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Basketball Game

A basketball game using C++ in OpenFrameworks.

game-screenshot

Installation & Setup

How to install and run:

  1. Download OpenFrameworks: https://openframeworks.cc

  2. Download this repository within the [openframeworks directory]/apps/myApps/

  3. Download ofxBox2D and ofxProgressBar into [openframeworks directory]/addons/

  4. Using the Project Generator, navigate to the repository, and click on "Update"

Usage

Constant Settings

Change the number of consecutive shots needed before leveling up in globals.h.

  • to_level_up: Default set to 3 shots to be made in a row per level.

Game Instructions

  1. Pressing and holding the space bar will charge up the power used on each shot. The power is displayed in the progress bar.

  2. Releasing the space bar will release the shot.

  3. Making a certain amount of consecutive shots in a row will move you on to the next level.

  4. Missing a shot will move you back to level one and reset your score.

Development

Dependencies

ofxBox2D

ofxProgressBar

Code Style

All code follows the Google C++ Style Guide.

About

A basketball game using C++ in OpenFrameworks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages