Solarus quests
1.6
Quest maker's reference
|
A wall is an invisible obstacle that stops some specific types of map entities.
This type of map entity can be declared in the map data file. It can also be created dynamically with map:create_wall().
If you want to prevent a kind of entity to leave a delimited area while allowing others to pass, you can use walls.
For example, at the entrance of a village, you can make a wall that blocks enemies enemies and lets the hero pass.
Walls can have any size, but like all entities, their width and height must be multiples of 8 pixels.
Walls are particular map entities. Therefore, they inherit all methods from the type map entity.
See Methods of all entity types to know these methods.
None.
Events are callback methods automatically called by the engine if you define them.
Walls are particular map entities. Therefore, they inherit all events from the type map entity.
See Events of all entity types to know these events.
None.