Game Theory

If you observe a game carefully in its source code level, you will observe that a game is just a set of illusions to create certain effects and display them on screen. Perhaps, the best example of this can be the game that we are about to develop. In order to make your character move ahead, you can do either of two things:

  • Make the character move ahead
  • Make the background move behind

Let's take a look at this in a bit more detail. The preceding two points can be achieved with the help of some illusions; let's understand how.

Get Learning Android Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.