Chapter 16. Managing Your Sprites


This chapter shows you how to create a sprite manager. The SpriteManager class is an important part of any game, acting as a container in which to add sprites. This makes it easy to retrieve, manipulate, move, and draw groups of sprites.

This chapter will also cover advanced sprite techniques, such as retrieving images from the network, and creating more advanced collision detection to make games more accurate and realistic.

Networked Game Components

A game does not only consist of the code. Rather, the game code is usually just an engine that loads up all sorts of other data and manipulates it.

Because most mobile devices place ...

Get Micro Java™ Game Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.