sprites-and-images

Create and manipulate Sprites and Images in Phaser 4.

Updated May 16, 2026
One-click install
npx skills add https://github.com/ckyeon/claude-code-settings --skill sprites-and-images-ckyeon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sprites-and-images
Source: https://github.com/ckyeon/claude-code-settings/tree/main/project-templates/phaser/.claude/skills/sprites-and-images
Command: npx skills add https://github.com/ckyeon/claude-code-settings --skill sprites-and-images-ckyeon

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance on creating and manipulating Sprites and Images in Phaser 4, addressing the common challenges of game object management, including animation, rendering, and user interaction.

Core Features & Use Cases

  • Sprite and Image Creation: Detailed instructions on creating sprites and images using factory methods.
  • Animation and Visual Effects: Techniques for adding animation, adjusting properties like position, scale, rotation, and blending modes.
  • Component System: Explanation of the component mixin system that allows for flexible and reusable game object behavior.
  • Use Case: Develop engaging 2D games with interactive elements using Phaser 4, leveraging the Sprite and Image capabilities.

Quick Start

Create a new sprite at position (100, 200) with texture 'player' and frame 'idle-0'.

Frequently Asked Questions about sprites-and-images

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

FAQPage Schema
How do I create a sprite in Phaser 4 with a specific texture and frame?

To create a sprite in Phaser 4, use factory methods to instantiate a game object at a specific position, assigning a texture and an initial frame like 'idle-0' for rendering.

How do I add animations and visual effects to game objects in Phaser 4?

Add animations and visual effects in Phaser 4 by adjusting game object properties such as position, scale, rotation, and applying different blending modes to achieve dynamic visuals.

What is the component mixin system for sprites and images in Phaser 4?

The component mixin system in Phaser 4 provides a flexible architecture that allows developers to attach reusable behaviors and properties to sprites and images for efficient game object management.

Do I need JavaScript knowledge to use sprites and images in Phaser 4?

Yes, you need prior knowledge of JavaScript and Phaser 4 to effectively use this Skill for managing game objects, animations, and visual interactions.

What is the difference between a sprite and an image when developing 2D games in Phaser 4?

While both are game objects, sprites typically support animation and dynamic components, whereas images are generally used for static visual rendering in Phaser 4 game development.