galaxy-points-regions-geometry

Create and manipulate points, regions, and geometry for StarCraft 2 maps.

7|1|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/KimPlaybit/Starcraft-2-Editor-Skills --skill galaxy-points-regions-geometry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: galaxy-points-regions-geometry
Source: https://github.com/KimPlaybit/Starcraft-2-Editor-Skills/tree/main/.agents/skills/galaxy-points-regions-geometry
Command: npx skills add https://github.com/KimPlaybit/Starcraft-2-Editor-Skills --skill galaxy-points-regions-geometry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Points, regions, and geometry are fundamental for map calculations but can be verbose and error-prone. Galaxy scripting can benefit from a set of utilities to simplify point creation, distance calculations, region creation, and containment checks.

Core Features & Use Cases

  • Point creation, modification, and measurement (distance, offset, polar projection).
  • Region creation, bounds, center, and containment checks.
  • Helper functions for pathing geometry, random points, and testing coordinate relationships.

Quick Start

Compute the distance between two points and verify whether a point lies inside a region.

Frequently Asked Questions about galaxy-points-regions-geometry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate the distance between two points in a StarCraft 2 Galaxy map script?

To calculate distance between points in StarCraft 2 Galaxy scripting, you apply geometry helper utilities that compute point measurements. These helpers simplify point creation, modification, and distance calculations without verbose native code.

How do I check if a specific point is inside a region in Galaxy scripting?

You check if a point lies inside a region in Galaxy scripting by applying containment check utilities. These helpers establish region bounds and centers, allowing your StarCraft 2 map script to test coordinate relationships and verify containment efficiently.

What is the best way to create regions and compute geometry for StarCraft 2 maps?

The best way to create regions and compute geometry for StarCraft 2 maps is using dedicated Galaxy helper utilities. They handle region creation, bounds, and center calculations, reducing error-prone verbose code in your map development tasks.

Can I generate random points and test pathing geometry in Galaxy map scripts?

Yes, you can generate random points and test pathing geometry in Galaxy map scripts. These utilities provide helper functions for pathing geometry, random point generation, and testing coordinate relationships within your StarCraft 2 maps.

Do I need any external dependencies to use Galaxy point and region helpers for StarCraft 2?

No external dependencies are required to use Galaxy point and region helpers. The Skill operates independently with optional scripts, references, and assets directories, requiring no additional packages for StarCraft 2 map geometry calculations.