O'Reilly logo

Learning Android Game Programming: A Hands-On Guide to Building Your First Android Game by Richard A. Rogers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5. Drawing and Sprites

We’ve been using Sprites all along in our examples and in the development of V3, but now we’ll spend some time exploring them in much more detail. As this chapter explains, AndEngine has methods for creating Sprites, Animated Sprites, and Tiled Sprites. We also want to take a brief look at the methods for drawing primitive graphic objects, such as lines and rectangles.

Most of the objects that are drawn on the screen during your game are Sprites. The term “sprite” originally referred to independent graphical objects that were positioned and animated on top of a game background. As computer games evolved, however, the term came to be used for just about any graphical object. For example, the backgrounds for our AndEngine ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required