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 ...

Get Programming Video Games for the Evil Genius now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.