Lesson 9: Animation
- Change the advance method of the MD2Model class to allow a negative value for the parameter dt. Then, make the guy walk backwards by playing the animation in reverse and making the floor image scroll forwards instead of backwards.
- Rather than interpolating between frames, have the draw method only draw individual frames. The guy's motion will be really choppy. Interpolation allows us to have smooth, good-looking motion even with relatively few frames.
- Make it so that when the user presses the space bar (key == ' '), the guy freezes (but not the camera), and when the user presses the space bar again, the guy starts moving again. (Perhaps the guy freezes because he's so stunned at how awesome the animation looks.)
Next is "Lesson 10: Collision Detection".