Skip to content

Obstacle_flippers

Jan Sandström edited this page Apr 28, 2020 · 1 revision

An obstacle in which the player needs to swim over water using the flippers.

Each maps script needs the following snippet:

local map, data = ...

local flippers = require 'maps/components/obstacle_flippers/obstacle_flippers'

flippers.init(map, data)

Flipper obstacles are fairly simple but the visual guidelines for water are very specific. See Component design guidelines for details. The component includes a moat which the player needs to traverse using the flippers.

See lttp water temple for inspiration.

The map does not need any special tiles apart from the common obstacle tiles.

Clone this wiki locally