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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.