| Homework 18General CommentsHomework assignments will be drawn from a variety of sources. For programs, make sure you commit your solution to SVN by the assignment deadline!DetailsExcavationMake: Part 1
Implement the first version of ExcavationMake.
It should draw a world or reasonable size with cubes. You should be able to move around the world using the keyboard and mouse as follows:
- W moves forward
- S moves backwards
- A strafes left
- D strafes right
- Z moves up (Y-axis)
- X moves down (Y-axis)
- Mouse changes pitch and yaw about the XZ plane
All movement should be relative to the original XYZ coordinate frame instead of the NUV coordinate frame. For instance, whether you are looking upwards or downwards, W should move you forward in the XZ-plane.
You may use different controls than the above if you get prior approval from me. In particular, if you think of a better way of moving up and down, let me know.
You should not be able to walk past blocks, so you need to implement collision detection. In my solution there is no visible character, so I am doing collision detection with respect to the eye. You may do it that way or with a visible character.
In the final version you will also need to add the removal of blocks if they are clicked, improve the look of the blocks, and add other features as you are able. More details will be coming.
See torque/course/342/ExcavationMake for one or more working prototypes.
|