Objects

Objects are things that can be placed on a cell.

Base Objects

There are 4 different base objects every object must inherit from. Each of these base objects has different characteristics and must follow certain rules.

Solid Object
An object that can not be moved, removed or collected by any other object and no other object can be placed on a cell, on which a solid object is located.
Movable Object
An object that can be moved but not be removed or collected by any other object. A cell can only contain one movable object. The only objects that can be placed on a cell with a movable object at the same time are collectable objects and/or removable objects.
Collectable Object
An object that can be collected by an movable object if it is accepted. When an movable object steps on a cell with a collectable object, the OnCollect method of the game object is called. If it returns True, the collectable object is accepted and will be removed, otherwise it remains on the cell. There can be more than one collectable object on the same cell. In this case all of them will be collected if they are accepted.
Removable Object
An object that will be removed by an movable object if it is accepted. The RemoveOnEnter method of the removable object decides, whether it will be removed by entering or leaving. The OnRemove method of the game object is called. If it returns True, the removable object is accepted and will be removed, otherwise it remains on the cell. There can be more than one collectable object on the same cell In this case only the top most will be removed if it is accepted.
Trigger Object
An object that triggers an event when another object enters or leaves the cell with the trigger object. On cell entering, the OnTriggerEnter method is called, on cell leaving, the OnTriggerLeave method.

Available Objects

Symbol Name Description
- Empty A solid object that marks the cell as empty. No ground is drawn in this cell.
# Wall A solid object that can be used to build the structure of a game level.
1-8 Player A movable object that represents a player in the game. There must be at least one player and there may be up to 8 players, but each number may only occur once.
e Exit A trigger object that represents an unlocked exit.
E Exit A trigger object that represents an locked exit.
k Key A collectable object that represents a key to unlock something.
b Box A movable object that represents a wooden box.
t Target A trigger object that represents a destination for another object.
+ Tile A removable object a player can walk on and that is removed as soon as the player leaves it.
. Dot A collectable object that represents a PacDot that can be collected by a player.

Available Multi Objects

Symbol Replacement Description
B tb A Box on a Target.
* ++ Two Tiles.
% +++ Three Tiles.
@ +1 Player 1 on a Tile.