curves-and-paths

Community

Master curves and paths in Phaser 4.

AuthorRaphe-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Create and manage complex curves and paths in Phaser 4, enabling precise point sampling, drawing, and smooth sprite movement along curves such as lines, splines, and Bezier/Ellipse shapes.

Core Features & Use Cases

  • Supports multiple curve types (Line, Spline, CubicBezier, QuadraticBezier, Ellipse) and composite Path.
  • Provides utilities to get points, tangents, lengths, bounds, and to render curves with Graphics; supports PathFollower to move sprites along paths.
  • Use cases include level design, AI patrol routes, cinematic camera paths, and dynamic path-based animation.

Quick Start

Create a Path at a starting point, add curves or standalone curves, draw it with Graphics, and drive a PathFollower along the path.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: curves-and-paths
Download link: https://github.com/Raphe-dev/phaser-cozy-mmo/archive/main.zip#curves-and-paths

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.