Question: As new developer, you are tasked by the company that hired you, to create a simple game in three iterations. This Assignment resembles the first

As new developer, you are tasked by the company that hired you, to create a simple game in
three iterations. This Assignment resembles the first Iteration. Using OpenGL and C++, you need
to create the game based on the features below.
Features
The game will be rendered to a window with dimenstions 1200x800.
The viewers point of view wont change. All the objects will be rendered in a Top-Down
perspective.
In the Viewport add 4 rectangles using Vertex Data (not external models). Each one next
to each corner of the scene.
Use Index Rendering to render any triangles.
When the user presses the R key in the keyboard, one random rectangle should start
rotating over its center by 45 degrees continuously.
While the rectangle is rotating, if the user presses S, the rectangle should Scale by a
factor of 2.5.
While the rectangle is rotating, if the user pressed W, the rectangle should move to the
center of the window.
If the user presses Q, then the affected rectangle transformations should be erased and
the rectangle should appear back to its original coordinates.
If the user presses M, then game (application) should exit.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!