O'Reilly logo

Programming Video Games for the Evil Genius by Ian Cinnamon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Section Six
 
Retro Games
Project 42: Oiram—The Platform
 
Oiram
Help Oiram capture the stars and stomp out his enemies by leaping from platform to platform! Be warned, however … this is a multi-level game. As Oiram defeats enemies, more are waiting to appear in the next round.
 
Project
Begin by creating the platform in which Oiram battles.
New Building Blocks
Two Dimensional Arrays
Two dimensional arrays
Two dimensional arrays are like normal arrays, except they hold additional information in another dimension. Figure 42-1 explains the similarities and differences.
Image
Figure 42-1   Two types of arrays.
To make a two dimensional array, create ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required