Solarus quests
1.6
Quest maker's reference
|
A bomb is an entity that explodes after a few seconds.
You can create this type of map entity only dynamically with map:create_bomb(). It cannot be declared in the map data file.
A bomb can be lifted by the hero before it explodes. When it explodes, it is removed from the map, a new entity of type explosion is created at the same position and the sound "explosion"
is played.
If a bomb is placed on a stream, it follows a movement corresponding to this stream.
Bombs 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.
Bombs 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.