In this project, you will create a first-person pick-em-up game. That is, the user will use the keyboard and mouse to navigate a camera around a terrain and collect objects. The terrain, the collectibles, and the other objects in the environment must fit a coherent theme of your choosing. For example, an alien might traverse the moon and collect flags, ignoring spaceship parts, American flags, and soft drink cups.
You must complete these requirements by the assignment's due date to be eligible for later-week submission:
mapquestin the single Git repository that you are using for all your programming assignments.
fetch, read in a grayscale image that serves as a heightmap. Convert the heightmap to a terrain mesh as described in the readings.
TerrainCameraclasses that encapsulate the player's position and point of view. As the player moves across the landscape, the camera's height is adjusted according to the player's position on the heightmap. Allow the player to move forward, move backward, strafe left, and strafe right using WASD and the cursor keys. Allow the player to look up, down, left, and right by moving the mouse.
If you meet these requirements, you may turn your complete project in during some later week of the semester.
You must complete these requirements in addition to the later-week submission requirements to receive credit for the assignment:
When you are ready to claim your credit, send your instructor a direct message. Ensure that all requirements have been met. If they have not, you will not receive credit and will have to submit again some other week.