curves-and-paths

Create and manipulate geometric paths and curves in Phaser 4.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/Dominik-Steinweg/Fragdachse --skill curves-and-paths-dominik-steinweg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: curves-and-paths
Source: https://github.com/Dominik-Steinweg/Fragdachse/tree/main/.agents/skills/curves-and-paths
Command: npx skills add https://github.com/Dominik-Steinweg/Fragdachse --skill curves-and-paths-dominik-steinweg

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill simplifies the complex geometry required for creating custom movement paths, splines, and bezier curves in Phaser 4, removing the need for manual coordinate calculations.

Core Features & Use Cases

  • Path Creation: Build complex compound paths using lines, splines, and bezier curves.
  • Path Following: Implement automatic sprite movement along defined paths with rotation and easing support.
  • Use Case: Use this skill to define a complex flight path for an enemy unit and have it automatically traverse the path with smooth rotation and yoyo behavior.

Quick Start

Use the curves and paths skill to create a new path starting at coordinates 100, 100 and add a spline curve through a set of vector points.

Frequently Asked Questions about curves-and-paths

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

FAQPage Schema
How do I create complex movement paths for sprites in Phaser 4?

To create movement paths in Phaser 4, you can build compound geometric paths using lines, splines, and bezier curves. This approach removes the need for manual coordinate calculations by defining trajectories through vector points.

Can I automate sprite navigation along bezier curves in game development?

Yes, you can automate sprite navigation along bezier curves by integrating PathFollower components. This enables entities to automatically traverse complex trajectories with smooth rotation and yoyo behavior support.

What is the best way to define a spline through vector points for a game enemy?

The best way to define a spline for a game enemy is to construct a compound path starting at specific coordinates and adding a spline curve through a set of vector points. This simplifies complex geometry for custom flight paths.

Does this pathing skill support rotation and easing for path following?

Yes, the pathing skill supports automatic sprite movement along defined paths with built-in rotation and easing support. This ensures smooth transitions and realistic movement along the constructed geometric trajectories.

When do I need to use compound paths with lines and splines in Phaser?

You need compound paths with lines and splines in Phaser when defining complex flight paths or custom movement trajectories for game entities. This is required when manual coordinate calculations become too complex for precise sprite movement.

Are there limitations to using path followers for entity navigation in Phaser 4?

Path followers in Phaser 4 are designed for automated navigation along predefined geometric paths. While they support rotation and easing, highly dynamic or unpredictable target tracking may require custom logic outside of standard path following capabilities.