-
Notifications
You must be signed in to change notification settings - Fork 11
Obstacle_glove
Jan Sandström edited this page Apr 28, 2020
·
1 revision
An obstacle where stones are hindering the player from progressing. Lifting the stones requires the glove equipment item.
Each map script must include this helper snippet:
local map, data = ...
local glove = require 'maps/components/obstacle_glove/obstacle_glove'
glove.init(map, data)
No actual stones or skulls should be placed in the map, only placeholders.
Apart from the common obstacle tiles the map requires one or more of the following:
- Placeholders which must be prefixed stone_. The helper will place stones or skulls depending on tileset family. Additionally, in the future the same maps can be used for light and heavy stones alike.