Learning Android Game Programming: A Hands-On Guide to Building Your First Android Game
by Richard A. Rogers
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access