render-textures

Draw game objects, frames, and stamps into Phaser 4 RenderTexture or DynamicTexture surfaces.

1|Updated May 3, 2026
One-click install
npx skills add https://github.com/WanderTheWeeb/papas_trauma --skill render-textures-wandertheweeb
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: render-textures
Source: https://github.com/WanderTheWeeb/papas_trauma/tree/main/skills/render-textures
Command: npx skills add https://github.com/WanderTheWeeb/papas_trauma --skill render-textures-wandertheweeb

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Render textures and dynamic textures let you draw off-screen visuals, cache complex scenes, and reuse generated imagery without rerunning the whole scene graph each time.

Core Features & Use Cases

  • RenderTexture drawing surface: Draw sprites, game objects, groups, containers, and texture frames into an off-screen surface, then flush with render.
  • DynamicTexture for shared/procedural textures: Generate textures by key for reuse across objects and scenes (and support patterns like repeat).
  • Stamp, capture, and snapshot workflows: Use Stamp for lightweight texture stamping and use snapshot functions for pixel capture and minimap-style rendering.

Quick Start

Create a RenderTexture in your Scene, draw something into it, then call render to display the updated texture on an Image.

Frequently Asked Questions about render-textures

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

FAQPage Schema
How do I render game objects to an off-screen texture in Phaser 4?▼

To render game objects to an off-screen texture in Phaser 4, draw sprites, groups, or frames into a RenderTexture surface and call render to flush the buffered draw commands and display the updated visual.

What is the difference between RenderTexture and DynamicTexture for procedural generation?▼

RenderTexture draws specific game objects off-screen, while DynamicTexture generates textures by key for reuse across scenes and supports patterns like repeat, making it better for shared procedural generation workflows.

Can I capture a screenshot or minimap using a render texture?▼

Yes, you can capture screenshots and minimaps using snapshot functions on a render texture surface to perform pixel capture, alongside using lightweight stamp workflows for efficient texture stamping.

Do I need to manually flush draw commands when compositing textures?▼

Yes, you need to manually flush draw commands when compositing textures, because drawing sprites and stamps into the off-screen surface is buffered and requires an explicit render call to apply the visual updates.

Can I save a generated dynamic texture into the Texture Manager for reuse?▼

Yes, you can save generated dynamic textures into the Texture Manager for reuse across multiple objects and scenes, allowing you to cache complex off-screen visuals without rerunning the scene graph.