Making our own Flappy Bird game
We will make a game similar to the Flappy Bird design, but there will be differences between Flappy Bird and our game. This is because the focus of this chapter is not to directly copy the game, but to learn about the techniques used in it. I will guide you step by step in making it using Construct 2 first, before talking about random generation.
Adding the layers
First, we will prepare our game assets. Game assets are the sprites, music, sound effects, and so on that we use in our game. Basically, we can use any assets we want, but in this book, we will use a free bundle available from Scirra's website (http://www.scirra.com/freebundle.zip); this is free to use as long as it is used with Construct 2. Download it and put it where you're most likely to find it.
Start up Construct 2 and create a new empty project like I showed you in Chapter 1, Downloading and Understanding Construct 2. The first thing I do when I create a new project is to set up layers...