一键导入
new-room
Create a new game room with scene, script, background, hotspots, and RoomManager registration
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new game room with scene, script, background, hotspots, and RoomManager registration
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | new-room |
| description | Create a new game room with scene, script, background, hotspots, and RoomManager registration |
Create a complete room following the project's room architecture. Argument: room name (e.g., tavern, forest_path).
Create the room scene at game/scenes/rooms/<room_name>.tscn:
Node2DBackground (Sprite2D) — room background image (320x176)WalkableArea (NavigationRegion2D) — polygon defining where the player can walkWalkBehind (Node2D) — sprites with z-index sorting for depth layeringHotspots (Node2D) — container for Area2D hotspot nodesNPCs (Node2D) — container for NPC character scenesCreate the room script at game/scripts/rooms/<room_name>.gd:
Node2Dclass_name (e.g., class_name TavernRoom)_on_<hotspot>_<verb>() for each hotspot+verb comboCreate hotspot scripts for any interactive Area2D nodes:
hotspot_name export varinput_event signal for click detectionmouse_entered/mouse_exited for StatusBar hover textGenerate background art using the art-gen skill (or use a placeholder)
Register the room in RoomManager:
Verify:
make run # Launch and navigate to the new room
.tscn scene file with correct node hierarchyclass_name and interaction handlersGuided content creation for the QFG adventure game. Use when the user wants to add a new room, quest, NPC, puzzle, or story element. Triggered by /new-content-qfg or when the user describes a content idea like "I want a forest clearing with a witch" or "add a new area to the game".
Generate pixel art assets via Aseprite Lua scripts following the project's art pipeline (palette, sizes, export)
Create a new custom Dialogic 2 event class for RPG gameplay in .dtl timelines
Create a new NPC with character scene, Dialogic character, timeline, sprite art, and room integration