Corning Community College
CSCS1320 C/C++ Programming
Continuing to incorporate programming concepts learned through the semester, in conjunction with functions from the Vircon32 API, implement on-screen opponents, collision detection, projectiles (as appropriate), points/score/progress indicator.
If you are having trouble creating a scenario to shoot for, try something like:
You will want to go here to edit and fill in the various sections of the document:
To get inputs from a gamepad you can include the input.h
header file.
Most functions return a integer value that represents whether a button is being pressed or not
int buttonA; buttonA = gamepad_button_a() if(buttonA == 1) { print_at(0, 0, "Button A pressed"); }
or
if(gamepad_button_a() == 1) { print_at(0, 0, "Button A pressed"); }
Some functions require an adress input: such as gamepad_direction()
int directionX; int directionY; gamepad_direction(&directionX, &directionY); if(directionX == 1) { print_at(0, 0, "Right pressed"); } else if(directionX == -1) { print_at(0, 0, "Left pressed"); } if(directionY == 1) { print_at(0, 18, "Up pressed"); } else if(directionY == -1) { print_at(0, 18, "Down pressed"); }
To be successful in this project, the following criteria (or their equivalent) must be met:
Let's say you have completed work on the project, and are ready to submit, you would do the following:
lab46:~/src/SEMESTER/DESIG/PROJECT$ submit DESIG PROJECT file1 file2 file3 ... fileN
You should get some sort of confirmation indicating successful submission if all went according to plan. If not, check for typos and or locational mismatches.
I'll be evaluating the project based on the following criteria:
260:fwg2:final tally of results (260/260) *:fwg2:all files needed to build cartridge are submitted [32/32] *:fwg2:code compiles, cartridge builds with no warning or error [32/32] *:fwg2:game incorporates onscreen assets other than player [32/32] *:fwg2:interaction between onscreen assets is present [32/32] *:fwg2:collision detection between onscreen assets [36/36] *:fwg2:structs continue to be used for organizing data [32/32] *:fwg2:tracking of game information done and displayed [32/32] *:fwg2:committed project related changes to semester repo [32/32]