starwards-pixijs
仓库创建 2019年3月17日最近提交 23 天前SkillHot 收录 22 天前
▸ 精选理由
利于实现高性能渲染并保证与游戏状态同步
这个 Skill 做什么
PixiJS v8 渲染与图层/事件模式,结合 Colyseus 状态驱动更新
为 Starwards 提供基于 PixiJS v8 的渲染与图层/事件模式,讲怎么用 Containers、Sprites、Textures 和 ticker,把渲染与 Colyseus 的状态更新绑定起来。会在做浏览器端 2D 渲染、同步多人状态或写 Playwright 测试(用 data-id 选择器)时用到。特点是层级合成加上 ticker 驱动的状态同步,便于维护和测试。
▸ 展开 SKILL.md 英文原文
PixiJS v8 patterns for Starwards - Containers, Sprites, Graphics, Textures, ticker integration, event handling, and testing with Playwright data-id selectors
42
Stars
2
Forks
17
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/starwards/starwards/master/.claude/skills/starwards-pixijs/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/starwards/starwards/master/.claude/skills/starwards-pixijs/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# PixiJS v8 Development for Starwards ## Overview Starwards uses PixiJS v8 (^8.14.0) for 2D rendering in the browser module. This skill covers both the PixiJS v8 API reference and Starwards-specific patterns. **Core principle:** Layered container composition with ticker-driven updates synced to Colyseus state changes. ## Table of Contents 1. [PixiJS v8 Reference](#pixijs-v8-reference) - [Application](#application) - [Containers & Scene Graph](#containers--scene-graph) - [Sprites](#sprites) - [Graphics (v8 API)](#graphics-v8-api) - [Text](#text) - [Textures & Assets](#textures--assets) - [Ticker](#ticker) - [Events / Interaction](#events--interaction) - [Perfor
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有