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

12. Physics

In game development, “physics” is the collection of effects that mimic the physics of the real world. Physics don’t enter into every type of game, of course. For example, you generally won’t need physics if you are developing a board game. Other games are almost entirely physics based, with missiles of various kinds following natural arcs, crashing into piles of objects that then break or fall down under the influence of gravity.

As we’ll see, a very complete physics engine for use in our games is available as an extension to AndEngine. We’ll investigate that engine and related tools in this chapter, and then build a little physics-based gamelet to augment our V3 example game. We won’t come anywhere close to investigating all that ...

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