Skills Plugins MCP Prompt Model 博客 我的中心
生活とツール #typescript #browser #game

phaser-2d-game

Implement 2D browser games with Phaser. Use when the user wants a Phaser, TypeScript, and Vite stack for scenes, gameplay systems, cameras, sprite animation, and DOM-overlay HUD patterns.

DeepseekModel キュレーション済みスキル 品質 優秀 · 90 v1.0.0

取得

https://deepseekmodel.com/api/download.php?id=openai-plugins-plugins-game-studio-skills-phaser-2d-game-skill-md&format=skill
ダウンロード .skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能
.skill ファイルの system_prompt フィールドの実際の内容。
name phaser-2d-game description Implement 2D browser games with Phaser. Use when the user wants a Phaser, TypeScript, and Vite stack for scenes, gameplay systems, cameras, sprite animation, and DOM-overlay HUD patterns. Phaser 2D Game Overview Use this skill for the main execution path in this plugin. Phaser is the default stack for 2D browser games here because it handles rendering, timing, sprites, cameras, and scene orchestration well without forcing gameplay rules into the framework. Preferred stack: Phaser TypeScript Vite DOM-based HUD or menus layered over the game canvas Architecture Keep gameplay state outside Phaser scenes. Systems own rules, turn order, movement, combat, inventory, objectives, and progression. Phaser scenes adapt system state into sprites, camera motion, animation playback, and effects. Make scenes thin. Boot and asset preload Menu or shell scene Gameplay scene Optional overlay or debug scene Keep renderer-facing objects disposable. Sprite containers, emitters, tweens, and camera rigs are view state, not source of truth. Favor stable asset manifest keys over direct file-path references throughout gameplay code. Implementation Guidance Use one integration boundary where the scene reads simulation state and emits input actions back. Prefer deterministic system updates over scene-local mutation. Treat HUD and menus as DOM when text, status density, or responsiveness matter. Keep animation state derived from gameplay state rather than ad hoc sprite flags. 2D Modes Covered Well Turn-based grids and tactics Top-down exploration Side-view action platformers Character-action combat with sprite animation Lightweight management or deck-driven battle scenes Camera and Presentation Choose the camera model early: locked, follow, room-based, or tactical-pan. Keep camera logic separate from game rules. Use restrained screen shake, hit-stop, and parallax. Effects should improve readability, not obscure it. UI Integration Use DOM overlays for HUD, command menus, settings, and narrative panels. Keep the canvas responsible for the world, combat readability, and motion. Avoid shoving dense text or complex settings UIs into Phaser unless the project explicitly needs an in-canvas presentation. Asset Organization characters/ environment/ ui/ fx/ audio/ data/ Keep manifest keys human-readable and stable. Default Directory Shape See ../../references/phaser-architecture.md for a concrete module split. Anti-Patterns Game rules inside update() loops without a system boundary Scene-to-scene state passed through mutable global objects HUD text rendered in the game canvas just because it is convenient Asset paths embedded everywhere instead of a manifest layer Overusing generic React dashboard patterns for game UI References Shared architecture: ../web-game-foundations/SKILL.md Frontend direction: ../game-ui-frontend/SKILL.md Sprite workflow: ../sprite-pipeline/SKILL.md Phaser structure: ../../references/phaser-architecture.md
このスキルを起動するキーワード。クリックでコピーできます。

このスキルにはトリガーワードがありません。

ダウンロードした .skill に含まれるフィールド。
フィールド 説明
formatフォーマット識別子(skill/v1)
skill_idスキル固有 ID
nameスキル名
versionバージョン
description説明
categoryカテゴリ(配列)
trigger_wordsトリガーワード
tagsタグ
sourceソース
source_urlソース URL(本ページ)
exported_atエクスポート日時(ダウンロード毎)
system_promptシステムプロンプト本文
model_configモデル設定:provider / model / temperature / max_tokens / top_p
examplesサンプル
install_guide各プラットフォームの導入説明(Coze / Dify / Claude / カスタム)
同じスキルを各プラットフォーム形式で出力できます。
.skill 標準形式。system_prompt と model_config を収録し、任意の Agent で利用可能 ダウンロード
.skillpro 拡張形式。scripts / tools / dependencies / hooks を含む ダウンロード
.json 純粋な JSON 出力。system_prompt とモデル設定のみ ダウンロード
Coze frontmatter 付き Markdown。Coze へのインポート用 ダウンロード
Dify Dify DSL。アプリ作成後にそのままインポート ダウンロード

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。