Creating The Tagged Lights Algorithm
Before diving into writing any Verse code for the Tagged Lights Puzzle, it’s a good idea to think about the best way to accomplish what you want to do. This section shows how to approach creating a puzzle mechanic. At the end of this step, you’ll have pseudocode that represents the algorithm for creating this puzzle. The next step will show how to implement this algorithm in Verse and UEFN.
Identify Goals, Requirements, and Constraints
The first step is to identify your goals, requirements, and constraints. Requirements often come from breaking down broader goals into smaller parts.
| Goals | * Create a puzzle game where the player must find the right combination of lights that are on or off to solve the puzzle. * Solving the puzzle spawns an item. * The initial conditions and solutions of the puzzle should be customizable and reusable. |
| Requirements | * The initial conditions and solutions for the lights can be customized in the editor. * The in-game lights visually match the current logic game state. * Solving the puzzle prevents further player interactions with the puzzle. * The reward item spawns once. * Player interaction toggles customizable sets of lights. |
| Constraints | * Find the lights using Verse Tags. |
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.