Jump to content

Light Path Puzzle

Overview
Creator: Moosh Added: 21 Feb 2018 Tags: FFC Downloads: 39
Rating[?]: Rating: 3.5/5 (1 rating)
View Script Download Example
(1.12 MB)
Information

Description Setup Reviews Comments

First off set the constant SFX_LIGHTPANEL_TURN in the script to the sound you want to play when a panel is turned.

Next, map the tiles for your paths to combos in the exact same order shown in the example image. You'll want three groups of paths:
  • Rotating Paths: Lit and unlit. 32 combos total.
  • Fixed Paths: Lit and unlit. 32 combos total.
  • Start and End Nodes: Lit and unlit. 32 combos total.
You can make your own tiles for the puzzle, but they have to be mapped in the exact order or it won't work right. The rotating tiles should also have rotational symmetry for the best effect. And yeah...I realize some of these combos are completely pointless in an actual puzzle. :P

Once the tiles are mapped you can place them on layer 0 of your screen. Place unlit versions of all tiles, except for the starting nodes which should be the lit ones. Place an invisible FFC with the script on the screen and give it the following arguments:
  • D0: The combo number of the first of the 32 start/end nodes.
  • D1: The combo number of the first of the 32 rotating paths
  • D2: The combo number of the first of the 32 fixed paths
  • D3: If you want a special secret sound, set this to something >0.
This script requires std.zh.