Chapter 4. Mobile Endless Game – Procedural Content

In computing, a concept named procedural generation is a method of creating data algorithmically or rather through code as opposed to manually. This is successfully used in a lot of titles, such as in Minecraft's world generation and a lot of mobile games.

There are a number of advantages to this kind of development, such as the player being able to play the game forever, as well as being able to have additional replay value because every time you play it will be different.

Project overview

In this chapter, we will develop a game Tappy Plane, similar in gameplay to the popular mobile title Flappy Bird, which uses this concept to create an infinite amount of gameplay.

Your objectives

This project will be split into a number of tasks. It will be a simple step-by-step process from beginning to end. Here is the outline of our tasks:

  • Adding the background
  • Adding a simple animated character
  • Making a repeating background
  • Working with sorting layers
  • Creating our player's behavior
  • Creating obstacles
  • Spawning obstacles at runtime
  • Game starting and ending behaviors
  • Keeping the score
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset