Chapter 15. Entering the Land of Sprites

Sprites are one of the most important components in any graphical game. A sprite is, simply put, any graphic that appears on your screen. A sprite is every monster, every fireball, every tree, and every ladder. Some sprites move around the screen, some sprites have animations, and some will affect the game when something else collides with them.

Throughout this book, we will be building a game called Micro Racer. The goal of the game is simple: You are a car racing down a track. Enemy cars speed at you from the opposite direction. You must avoid these cars. You can pick up various weapons and objects along the way to help you repair your ...

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.