O'Reilly logo

Micro Java™ Game Development by Roman Verhosek, David Fox

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

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 ...

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