Assignment 3

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Assignment 3

INFR 1020 : Essential Math for Games 1


Dr. Andrew Hogue

This assignment is worth 10% of your grade. This assignment MUST be done individually.

DUE DATE: November 24, 2017

Angry Birds in Space Clone(ish):


Develop an Angry Birds in Space clone (ish) with the following basic functionality. The goal here is to
work with Matrices for rotations and translations in 2D. The game must be developed in Cocos2D with
this in mind.

Play the following game and develop the functionality of level 1-5:

http://poki.com/en/g/angry-birds-space

Functionality Required:

a. Birds can be launched from the slingshot


b. Gravity is only applied at a specific radius from the “planets”
c. Birds start off placed on their small slingshot asteroid at appropriate angles
d. Develop a Special bird (YELLOW) that when the mouse is clicked the bird rotates around
its center continuously
e. Develop a Special bird (BLUE) that when the mouse is clicked, the bird rotates around
the location of the mouse (see image below)
Special Bird BLUE:

Clicking a point on the screen will make the bird rotate around this point as the center of rotation
until you let go of the mouse, then the bird will carry on with its trajectory as normal. The sprite
should rotate appropriately to be facing in the proper direction as well. Note that the rotation
will be different depending on where the mouse location is relative to the bird.
Marking Scheme
Your assignment grade is computed out of 40 as:
GRADE = Checklist + Quality + REPORT

These are specified as follows:


Checklist: [10 marks]
Feature No (0) Yes (1)
Multiple Pigs in world initially
3 Birds displays initially at proper angles on small asteroid
Birds can be loaded into slingshot with a click
Birds can be launched using physics
Bird-Pig Collision Detection
Bird “explodes” and pig disappears
GAME OVER is detected
Gravity affects bird only when bird enters gravity field distance
Special Bird (YELLOW) implemented
Special Bird (BLUE) implemented

Effect Quality: [20 marks]

Feature Not even Basic (2.5) Good (4) Amazing (5)


the It works but It works well, and Above and beyond
basics…(0) might not look looks ok. Would function. I would
Either doesn’t great or function need some work use this feature in
exist or is well but I get the to use this feature a game as
implemented point. in a game. implemented.
terribly
Bird Physics
Special Bird YELLOW
Special Bird BLUE
Overall Impression

REPORT: [10 marks]


● Your report must contain the following:
o Screenshots of your game demonstrating each of the above checklist features
o Description of the math that goes into the bird update
o Description of the physics and math that you used to update the bird
o Description of how you implemented the YELLOW bird
o Description of how you implemented the BLUE bird
● In your descriptions, please ensure that you use the math properly, use equations and diagrams
and screenshots to explain the concepts appropriately. Explain how the algorithms works, what
math is required, how the math functions, provide a few examples and diagrams and show how
this works in your game.
TO HAND IN:
● CODE:
o Please remove the hidden “.vs” folder in the folder that contains the visual studio
project before zipping.
o Build the executable and put it in a sub-folder called FINAL_EXE/ where I can run it just
by clicking on it. Remember to copy any .dll files needed into the same directory.
o Zip the entire directory containing the report and the code to hand in.
● A PDF file called REPORT.PDF that contains your name and student ID on the cover page.

You might also like