Solarus quests  1.6
Quest maker's reference
Explosion

This is an explosion whose sprite hurts the hero and enemies.

You can create this type of map entity only dynamically with map:create_explosion(). It cannot be declared in the map data file.

Remarks
Explosion entities exist for historical reasons and are not very customizable. In new projects, we recommend to use custom entities instead.

Overview

Explosions are automatically created by bombs that explode, and by dying enemies whose hurting style is "boss".

Explosions hurt the hero and enemies that are sensible to them. But they may also blast doors and can be detected by sensors.

Methods inherited from map entity

Explosions are particular map entities. Therefore, they inherit all methods from the type map entity.

See Methods of all entity types to know these methods.

Methods of the type explosion

None.

Events inherited from map entity

Events are callback methods automatically called by the engine if you define them.

Explosions are particular map entities. Therefore, they inherit all events from the type map entity.

See Events of all entity types to know these events.

Events of the type explosion

None.