-
Book Overview & Buying
-
Table Of Contents
Learning Cocos2d-JS Game Development
By :
A while ago, endless runners started with a game called Helicopter where you had to drive a helicopter through an endless cave, just pressing a button to give it thrust.
Then, games became more complex until mobile gaming started to spread. Endless runners started gaining a new popularity due to their simple one tap control. The player is just required to touch anywhere when needed to control a helicopter.
In this chapter, you are going to build an endless runner that features a spaceship flying through a city while avoiding dangerous asteroids.
In the making of this game, you will learn, among other things, how to:
Moreover, although this is supposed to be a cross-platform game, you will also learn about mouse-only controls...
Change the font size
Change margin width
Change background colour