Creating the Scene


Keyframe Animation in This Chapter

The main example in this chapter, AnimSprite3D, loads several models, representing different positions for the sprite, including standing and walking poses. The poses are organized into an animation sequence managed by an Animator object.

This application runs in a medium-sized window. At the end of the chapter, though, you'll see how to modify it to use Full-Screen Exclusive Mode (FSEM), and you'll learn how to modify the display mode for the monitor with FSEM.


Figure 19-1 contains two screenshots: the image on the left shows the sprite (a "stick child") walking, and the right hand image has the sprite punching.

Figure 19-1. A walking and punching sprite


The application in this chapter does not include a chasing alien sprite, scenery, or any obstacles. However, these could be added by using the techniques described in Chapter 18.




Killer Game Programming in Java
Killer Game Programming in Java
ISBN: 0596007302
EAN: 2147483647
Year: 2006
Pages: 340

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net