8/2/09

The Level Editor

With a tile based game like Pod & Rodney, it would only make sense to add in a level editor for third party levels / campaigns to be added. Although I haven't actually started any work on the actual GUI for the level editor, it is present to an extent. At the moment what I have implement to somewhat easily change the level is simply editing a text document. It just contains three lines total. One for the tile type, each is represented by a letter. Then the X and Y (Z-Axis in code) for each tile. So a level actually looks something like this.

B, B , B
0, 6, 12
0, 0, 0

What this would draw would be three basic bricks all at the same height and starting at zero and moving right. Of course I'll make this system better, then eventually will have an actual file format to use too. This just makes life easier than changing arrays in ten different files.

No comments:

Post a Comment