Isak ร…slund

  • # Technical Design
  • # Gameplay Design
  • # Sound Design

Establishing Light Detection

Detecting whether the player is in light or shadow was the first priority.

To meet the team's need for quick playtesting, I focused on building a simple, fast, and reliable system. The prototype I created ended up being used in the final game.

How It Works

  • ๐Ÿ”† Enter Light Volume - Detect when the player enters a light detection zone.
  • ๐Ÿ” Light Source Check - Trace from the light source to the player.
  • ๐ŸŒ“ Shadow Detection - If the trace is blocked, the player is in shadow; otherwise, in light.
  • ๐Ÿ“ Dynamic Scaling - Light radius adjusts automatically for easier placement by designers.