Skip to content

cmc333333/FieldGoal

Repository files navigation

FieldGoal

This project is coursework associated with Coursera's Creative Programming for Digital Media & Mobile Apps. It is a simple "game" where the player tries to kick a crate through a field goal. Click on the crate to kick; where you click determines the force vector. Press Enter to toggle a schematic overlay.

Screenshot: Crate is ready to be kicked Screenshot: Crate in the air, schematic overlay on

Running (Command Line)

You'll need to have a working copy of version 2.2.1 of Processing, a programming language geared at visual arts. Download it and unzip; make note of the processing-java command it contains.

Next, clone this repository into a folder named "FieldGoal". From one directory above (i.e. the parent of the "FieldGoal" folder), execute:

/path/to/processing-java --sketch=FieldGoal --output=/tmp/some/where --run

Running (IDE)

You'll need to have a working copy of version 2.2.1 of Processing, a programming language geared at visual arts. Download it and unzip; open the processing program it contains. This is Processing's IDE.

Next, clone this repository into a folder named "FieldGoal". Then, through Processing's UI, select "File > Open" and navigate to the "FieldGoal.pde" file. Once this is loaded, click the "Play" button.

Running (Docker)

If you have docker installed (and are running a Linux host), you can use the pre-built image, so long as you also connect relevant audio/video:

docker run -it --rm \
-e DISPLAY=$DISPLAY \
-v /tmp/.X11-unix:/tmp/.X11-unix \
--device /dev/snd \
cmc333333/fieldgoal

About

Small processing game - kick a field goal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors