Sun Microsystems J2ME manual Retainedmode, Bouncing kangaroo

Models: J2ME

1 134
Download 134 pages 62.02 Kb
Page 98
Image 98

FIGURE 45 A bouncing kangaroo

You can get the kangaroo to bounce around the landscape by using the arrow keys. Push up to go forward, down to go backward, and left and right to change direction. You might need to hold down the keys to see an effect.

A.4.3 retainedmode

The retainedmode MIDlet plays back a scene file that shows a tireless skateboarder in an endless loop.

86 J2ME Wireless Toolkit User’s Guide • October 2004

Page 98
Image 98
Sun Microsystems J2ME manual Retainedmode, Bouncing kangaroo