fs-gg-visibility
OfficialDetermine 2D visibility and occlusion in FS.GG.game environments.
Software Engineering#game development#line-of-sight#geometric calculations#2D visibility#occlusion detection
AuthorFS-GG
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides accurate and deterministic answers to the questions of what can be seen from a certain point and how tiles in a grid are visible in the FS.GG.game environment.
Core Features & Use Cases
- Continuous Angular-Sweep Visibility: Computes the angular-sweep visibility polygon for occluders at
Points in continuous space. - Discrete Symmetric-Shadowcasting FOV: Calculates the visible tiles (
Cells) within a radius for tile-based fog-of-war or sight applications. - Use Case: Utilize
fs-gg-visibilityto determine the field of view of a character or entity within a game scene and to implement smart lighting or to control the visibility of hidden areas for the player.
Quick Start
Compute the visibility polygon from point (0.0, 0.0) around occluders provided in the walls variable and with a radius of 200.0 using Visibility.polygon.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: fs-gg-visibility Download link: https://github.com/FS-GG/FS.GG.Game/archive/main.zip#fs-gg-visibility Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.