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

4. Scenes, Layers, Transitions, and Modifiers

In a movie or play, a scene is a setting where some action takes place over a constrained period of time. Computer games are also organized around scenes, and scenes are composed of layers of graphics. If you’ve ever edited your own video, you know that there are many ways to transition from scene to scene, to make the flow more interesting for the viewer. Similarly, in a computer game, we want to transition between scenes, and we want to be able to modify graphical elements in a uniform way. We’d like to be able to modify their position, scale, color, rotation, transparency, and perhaps path. This chapter looks at how AndEngine lets us create and modify scenes and graphical objects.

Scenes in 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