Saturday, June 18, 2011

Game Animation with Java MIDP






Contents
1 Introduction..........................................................................................................................................................5
1.1 Purpose and Scope................................................................................................................................5
1.2 Target Audience.....................................................................................................................................5
2 Sprite Graphics.....................................................................................................................................................6
2.1 Introduction to Sprites.........................................................................................................................6
2.2 Sprite Properties ....................................................................................................................................6
2.3 Frames ......................................................................................................................................................6
2.4 Threading.................................................................................................................................................8
2.4.1 Extending the Thread Object............................................................................................8
2.4.2 Implementing the Runnable Interface .........................................................................9
2.4.3 Using Timers ...................................................................................................................... 10
2.5 Tiled Backgrounds.............................................................................................................................. 11
2.6 Double Buffering and Clipping........................................................................................................ 15
2.6.1 Double Buffering............................................................................................................... 15
2.6.2 Clipping................................................................................................................................ 15
3 An Example: Helicopter.................................................................................................................................. 17
3.1 Overview ............................................................................................................................................... 17
3.2 ExampleMidlet.java ............................................................................................................................ 18
3.3 MyCanvas.java...................................................................................................................................... 20
3.4 MyMovingObject.java......................................................................................................................... 23
3.5 MyBackground.java............................................................................................................................ 25
3.6 Helicopter.jad....................................................................................................................................... 30


Another Game Programming Books
Another J2ME Books
Download

No comments:

Post a Comment

Related Posts with Thumbnails

Put Your Ads Here!