Game Development Reference
In-Depth Information
Chapter 9
Super Jumper: A 2D OpenGL
ES Game
It's time to put together all you've learned about OpenGL ES into a game. As discussed in
Chapter 3, there are several very popular genres from which to choose when developing a
game in the mobile space. For our next game, we decided to stick to the casual genre. We'll
implement a jump-'em-up game similar to Abduction or Doodle Jump . As with Mr. Nom, we'll
start by defining our game mechanics.
Core Game Mechanics
If you aren't familiar with Abduction , we suggest that you install it on your Android device and
give it a try (a free download on Google Play), or at least watch a video of this game on the Web.
Using Abduction as an example, we can condense the core game mechanics of our game,
which will be called Super Jumper. Here are some details:
ï?®
The protagonist is constantly jumping upward, moving from platform to
platform. The game world spans multiple screens vertically.
ï?®
Horizontal movement can be controlled by tilting the phone to the left or
the right.
ï?®
When the protagonist leaves one of the horizontal screen boundaries, he
reenters the screen on the opposite side.
ï?®
Platforms can be static or moving horizontally.
ï?®
Some platforms will be pulverized randomly when the protagonist hits them.
ï?®
Along the way up, the protagonist can collect items to score points.
ï?®
Besides coins, there are also springs on some platforms that will make the
protagonist jump higher.
433
 
Search WWH ::




Custom Search