Tonka: On the Run
From TedTycoon.co.uk
Tonka: On the Run was my second Tonka game which was a successor to Tonka: In the Catacombs. It was written in C# in the summer of 2008. Like In the Catacombs, On the Run was a 2D tile based maze / puzzle game where you move Tonka using the arrow keys to get to the exit via solving puzzles. A lot of the items and objects from In the Catacombs were included as well as new additional things. The game is similar to Chip's Challenge and Sokoban. The game has now been superseded by Tile Challenge.
Design
Each tile and object were separate classes which would inherit the appropriate base class or interface such as IPickup for an object that can be picked up and IMoveable for an object that can be pushed. Inheriting these interfaces allowed the correct logic to take place and between the object and all other objects. This allows user-created objects to be included in user-made levels where separate DLLs included new objects which the game would load and use.
Features
- The game features basic terrain which can be anything from fire and water to lava and chasms. Walls, doors, conveyor belts, etc. were also generic terrains used on most levels.
- The game then has a list of objects in different positions which can be anything from items to open doors and go across certain terrains to moving creatures and blocks which can be pushed.
- Balls from In the Catacombs also exist again with new logic to work with the different types of water (shallow, deep etc.) New objects called boxes also exist which can be used to move items inside the box. Boxes are also used to open doors by pushing the correct boxes onto the box spaces which triggers a door to open or something else similar to completing a level in Sokoban.
- The game also features a built-in level editor using the Tile Editor Control I wrote.
