Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need c + + code for this question. MILESTONE 2 : LOWER SECOND CLASS ( 5 0 % + ) a . Setup an
I need c code for this question. MILESTONE : LOWER SECOND CLASS
a Setup an isometric camera that can be activated by pressing the key.
i The camera should be positioned at rotated by degrees about
its local axis
and then by degrees about its local axis the order is important, why?
ii If the isometric camera is active, pressing the key should reactivate the topdown
camera.
b Reward the player with points whenever the sphere picks up a cube
i Create an integer variable named "playerPoints" for tracking points accumulated
ii When the sphere "picks" up a cube, add to the player's points.
iii. Display the players points at the top and aligned to the right of the game
window in the format"Points: eg after picking up all four cubes, "Points:
should be displayed
c When of the cubes are picked up the sphere should grow in size.
i Implement this by scaling the sphere to its initial size, this will make the radius
of the sphere units.
ii After scaling up the y position of the sphere must be changed so that part of it
does not appearbelow the floor hint: consider the sphere's new radius
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started