curves-and-paths

Create and animate Phaser 4 paths from curves with PathFollower integration.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/dzyamik/furry-match3 --skill curves-and-paths-dzyamik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: curves-and-paths
Source: https://github.com/dzyamik/furry-match3/tree/main/.claude/skills/curves-and-paths
Command: npx skills add https://github.com/dzyamik/furry-match3 --skill curves-and-paths-dzyamik

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Curves and Paths solves the challenge of creating, rendering, and animating complex movement paths in Phaser 4 by combining curves and PathFollower-driven motion.

Core Features & Use Cases

  • Create and compose multiple Curve types (Line, Spline, CubicBezier, QuadraticBezier, Ellipse) into a single Path.
  • Draw curves with Graphics, inspect points, and compute lengths for runtime logic.
  • Drive sprites along paths with PathFollower, supporting rotation to the path direction and runtime path updates.
  • Use cases include dynamic enemy patrol routes, moving platforms, and UI-guided motion trails in 2D games.

Quick Start

Create a path in a Scene, append curves, render the path with Graphics, and attach a PathFollower sprite to traverse it.

Frequently Asked Questions about curves-and-paths

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

FAQPage Schema
How do I animate sprites along bezier curves and splines in Phaser 4?

You can animate sprites along bezier curves and splines in Phaser 4 by composing curves into a Path and attaching a PathFollower to traverse it with automatic rotation and runtime updates.

What is the best way to create dynamic enemy patrol routes in Phaser 4?

The best way to create dynamic enemy patrol routes in Phaser 4 is by composing Line, Spline, and Ellipse curves into a Path, then driving sprites along it with PathFollower for procedural 2D motion.

Can I combine multiple curve types like Line, Spline, and Ellipse into a single path in Phaser?

Yes, you can combine multiple curve types such as Line, Spline, CubicBezier, QuadraticBezier, and Ellipse into a single Path in Phaser to create complex movement trajectories for 2D games.

How do I draw and inspect points on a path using Phaser 4 Graphics?

You can draw and inspect points on a path using Phaser 4 Graphics by rendering the path visually and calling getPoint to retrieve specific coordinates, while getLength computes path length for runtime logic.

Does PathFollower support rotation to the path direction during runtime path updates?

Yes, PathFollower supports rotation to the path direction and allows runtime path updates, enabling sprites to dynamically follow procedural motion trails and changing trajectories in 2D games.