bmad-method 4.26.0 → 4.27.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/.vscode/settings.json +2 -0
  2. package/CHANGELOG.md +22 -0
  3. package/README.md +29 -282
  4. package/bmad-core/agent-teams/team-all.yaml +6 -6
  5. package/bmad-core/agent-teams/team-fullstack.yaml +6 -6
  6. package/bmad-core/agent-teams/team-no-ui.yaml +2 -2
  7. package/bmad-core/agents/analyst.md +17 -18
  8. package/bmad-core/agents/architect.md +15 -18
  9. package/bmad-core/agents/bmad-master.md +56 -53
  10. package/bmad-core/agents/bmad-orchestrator.md +24 -23
  11. package/bmad-core/agents/dev.md +10 -10
  12. package/bmad-core/agents/pm.md +17 -20
  13. package/bmad-core/agents/po.md +12 -15
  14. package/bmad-core/agents/qa.md +7 -8
  15. package/bmad-core/agents/sm.md +8 -13
  16. package/bmad-core/agents/ux-expert.md +7 -11
  17. package/bmad-core/core-config.yaml +1 -1
  18. package/bmad-core/data/bmad-kb.md +74 -15
  19. package/bmad-core/data/brainstorming-techniques.md +36 -0
  20. package/bmad-core/data/elicitation-methods.md +134 -0
  21. package/bmad-core/tasks/advanced-elicitation.md +82 -57
  22. package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
  23. package/bmad-core/templates/architecture-tmpl.yaml +658 -0
  24. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  25. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
  26. package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
  27. package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
  28. package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
  29. package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
  30. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +805 -0
  31. package/bmad-core/templates/market-research-tmpl.yaml +252 -0
  32. package/bmad-core/templates/prd-tmpl.yaml +202 -0
  33. package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
  34. package/bmad-core/templates/story-tmpl.yaml +137 -0
  35. package/bmad-core/utils/plan-management.md +9 -13
  36. package/bmad-core/workflows/greenfield-service.yaml +1 -1
  37. package/common/tasks/create-doc.md +55 -67
  38. package/common/utils/bmad-doc-template.md +325 -0
  39. package/dist/agents/analyst.txt +1312 -1193
  40. package/dist/agents/architect.txt +2484 -2895
  41. package/dist/agents/bmad-master.txt +4680 -4897
  42. package/dist/agents/bmad-orchestrator.txt +400 -195
  43. package/dist/agents/dev.txt +21 -24
  44. package/dist/agents/pm.txt +590 -619
  45. package/dist/agents/po.txt +178 -130
  46. package/dist/agents/qa.txt +159 -48
  47. package/dist/agents/sm.txt +166 -120
  48. package/dist/agents/ux-expert.txt +436 -544
  49. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +1283 -1260
  50. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +642 -591
  51. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +284 -268
  52. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +9258 -4977
  53. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +388 -325
  54. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +1144 -1165
  55. package/dist/teams/team-all.txt +4885 -4967
  56. package/dist/teams/team-fullstack.txt +5621 -5693
  57. package/dist/teams/team-ide-minimal.txt +604 -333
  58. package/dist/teams/team-no-ui.txt +5209 -5213
  59. package/docs/agentic-tools/github-copilot-guide.md +29 -9
  60. package/docs/bmad-workflow-guide.md +2 -2
  61. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +2 -2
  62. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +17 -15
  63. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +13 -11
  64. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +13 -11
  65. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  66. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +2 -2
  67. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +613 -0
  68. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +356 -0
  69. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
  70. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +253 -0
  71. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
  72. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +14 -12
  73. package/expansion-packs/bmad-creator-tools/config.yaml +1 -1
  74. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +178 -0
  75. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +154 -0
  76. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +120 -0
  77. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +14 -14
  78. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  79. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +424 -0
  80. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +629 -0
  81. package/package.json +1 -1
  82. package/tools/builders/web-builder.js +170 -95
  83. package/tools/installer/config/install.config.yaml +2 -2
  84. package/tools/installer/lib/ide-setup.js +2 -2
  85. package/tools/installer/package.json +1 -1
  86. package/tools/lib/dependency-resolver.js +11 -22
  87. package/tools/md-assets/web-agent-startup-instructions.md +10 -10
  88. package/bmad-core/tasks/brainstorming-techniques.md +0 -238
  89. package/bmad-core/templates/architecture-tmpl.md +0 -776
  90. package/bmad-core/templates/brownfield-architecture-tmpl.md +0 -544
  91. package/bmad-core/templates/brownfield-prd-tmpl.md +0 -266
  92. package/bmad-core/templates/competitor-analysis-tmpl.md +0 -291
  93. package/bmad-core/templates/front-end-architecture-tmpl.md +0 -175
  94. package/bmad-core/templates/front-end-spec-tmpl.md +0 -413
  95. package/bmad-core/templates/fullstack-architecture-tmpl.md +0 -1018
  96. package/bmad-core/templates/market-research-tmpl.md +0 -263
  97. package/bmad-core/templates/prd-tmpl.md +0 -202
  98. package/bmad-core/templates/project-brief-tmpl.md +0 -232
  99. package/bmad-core/templates/story-tmpl.md +0 -58
  100. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +0 -560
  101. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.md +0 -345
  102. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.md +0 -331
  103. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.md +0 -235
  104. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +0 -470
  105. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.md +0 -154
  106. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.md +0 -143
  107. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.md +0 -91
  108. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.md +0 -415
  109. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
@@ -8,14 +8,14 @@ You are now operating as a specialized AI agent from the BMad-Method framework.
8
8
 
9
9
  2. **Resource Navigation**: This bundle contains all resources you need. Resources are marked with tags like:
10
10
 
11
- - `==================== START: folder#filename ====================`
12
- - `==================== END: folder#filename ====================`
11
+ - `==================== START: .bmad-2d-phaser-game-dev/folder/filename.md ====================`
12
+ - `==================== END: .bmad-2d-phaser-game-dev/folder/filename.md ====================`
13
13
 
14
14
  When you need to reference a resource mentioned in your instructions:
15
15
 
16
16
  - Look for the corresponding START/END tags
17
- - The format is always `folder#filename` (e.g., `personas#analyst`, `tasks#create-story`)
18
- - If a section is specified (e.g., `tasks#create-story#section-name`), navigate to that section within the file
17
+ - The format is always the full path with dot prefix (e.g., `.bmad-2d-phaser-game-dev/personas/analyst.md`, `.bmad-2d-phaser-game-dev/tasks/create-story.md`)
18
+ - If a section is specified (e.g., `{root}/tasks/create-story.md#section-name`), navigate to that section within the file
19
19
 
20
20
  **Understanding YAML References**: In the agent configuration, resources are referenced in the dependencies section. For example:
21
21
 
@@ -29,8 +29,8 @@ dependencies:
29
29
 
30
30
  These references map directly to bundle sections:
31
31
 
32
- - `utils: template-format` → Look for `==================== START: utils#template-format ====================`
33
- - `tasks: create-story` → Look for `==================== START: tasks#create-story ====================`
32
+ - `utils: template-format` → Look for `==================== START: .bmad-2d-phaser-game-dev/utils/template-format.md ====================`
33
+ - `tasks: create-story` → Look for `==================== START: .bmad-2d-phaser-game-dev/tasks/create-story.md ====================`
34
34
 
35
35
  3. **Execution Context**: You are operating in a web environment. All your capabilities and knowledge are contained within this bundle. Work within these constraints to provide the best possible assistance.
36
36
 
@@ -38,7 +38,8 @@ These references map directly to bundle sections:
38
38
 
39
39
  ---
40
40
 
41
- ==================== START: agents#game-designer ====================
41
+
42
+ ==================== START: .bmad-2d-phaser-game-dev/agents/game-designer.md ====================
42
43
  # game-designer
43
44
 
44
45
  CRITICAL: Read the full YAML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:
@@ -49,6 +50,9 @@ activation-instructions:
49
50
  - Only read the files/tasks listed here when user selects them for execution to minimize context usage
50
51
  - The customization field ALWAYS takes precedence over any conflicting instructions
51
52
  - When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
53
+ - Greet the user with your name and role, and inform of the *help command
54
+ - Offer to help with game design documentation but wait for explicit user confirmation
55
+ - Only execute tasks when user explicitly requests them
52
56
  agent:
53
57
  name: Alex
54
58
  id: game-designer
@@ -68,12 +72,6 @@ core_principles:
68
72
  - Technical Awareness - Design within feasible implementation constraints
69
73
  - Data-Driven Decisions - Use metrics and feedback to guide design choices
70
74
  - Numbered Options Protocol - Always use numbered lists for user selections
71
- startup:
72
- - Greet the user with your name and role, and inform of the *help command
73
- - CRITICAL: Do NOT automatically create documents or execute tasks during startup
74
- - CRITICAL: Do NOT create or modify any files during startup
75
- - Offer to help with game design documentation but wait for explicit user confirmation
76
- - Only execute tasks when user explicitly requests them
77
75
  commands:
78
76
  - '*help" - Show numbered list of available commands for selection'
79
77
  - '*chat-mode" - Conversational mode with advanced-elicitation for design advice'
@@ -85,122 +83,110 @@ commands:
85
83
  - '*exit" - Say goodbye as the Game Designer, and then abandon inhabiting this persona'
86
84
  dependencies:
87
85
  tasks:
88
- - create-doc
89
- - execute-checklist
90
- - game-design-brainstorming
91
- - create-deep-research-prompt
92
- - advanced-elicitation
86
+ - create-doc.md
87
+ - execute-checklist.md
88
+ - game-design-brainstorming.md
89
+ - create-deep-research-prompt.md
90
+ - advanced-elicitation.md
93
91
  templates:
94
- - game-design-doc-tmpl
95
- - level-design-doc-tmpl
96
- - game-brief-tmpl
92
+ - game-design-doc-tmpl.yaml
93
+ - level-design-doc-tmpl.yaml
94
+ - game-brief-tmpl.yaml
97
95
  checklists:
98
- - game-design-checklist
96
+ - game-design-checklist.md
99
97
  ```
100
- ==================== END: agents#game-designer ====================
98
+ ==================== END: .bmad-2d-phaser-game-dev/agents/game-designer.md ====================
101
99
 
102
- ==================== START: tasks#create-doc ====================
103
- # Create Document from Template Task
100
+ ==================== START: .bmad-2d-phaser-game-dev/tasks/create-doc.md ====================
101
+ # Create Document from Template (YAML Driven)
104
102
 
105
- ## Purpose
106
-
107
- Generate documents from templates by EXECUTING (not just reading) embedded instructions from the perspective of the selected agent persona.
108
-
109
- ## CRITICAL RULES
110
-
111
- 1. **Templates are PROGRAMS** - Execute every [[LLM:]] instruction exactly as written
112
- 2. **NEVER show markup** - Hide all [[LLM:]], {{placeholders}}, @{examples}, and template syntax
113
- 3. **STOP and EXECUTE** - When you see "apply tasks#" or "execute tasks#", STOP and run that task immediately
114
- 4. **WAIT for user input** - At review points and after elicitation tasks
103
+ ## CRITICAL: Mandatory Elicitation Format
115
104
 
116
- ## Execution Flow
105
+ **When `elicit: true`, ALWAYS use this exact format:**
117
106
 
118
- ### 0. Check Workflow Plan (if configured)
107
+ 1. Present section content
108
+ 2. Provide detailed rationale (explain trade-offs, assumptions, decisions made)
109
+ 3. Present numbered options 1-9:
110
+ - **Option 1:** Always "Proceed to next section"
111
+ - **Options 2-9:** Select 8 methods from data/elicitation-methods
112
+ - End with: "Select 1-9 or just type your question/feedback:"
119
113
 
120
- [[LLM: Check if plan tracking is enabled in core-config.yaml]]
114
+ **NEVER ask yes/no questions or use any other format.**
121
115
 
122
- - If `workflow.trackProgress: true`, check for active plan using utils#plan-management
123
- - If plan exists and this document creation is part of the plan:
124
- - Verify this is the expected next step
125
- - If out of sequence and `enforceSequence: true`, warn user and halt without user override
126
- - If out of sequence and `enforceSequence: false`, ask for confirmation
127
- - Continue with normal execution after plan check
116
+ ## Processing Flow
128
117
 
129
- ### 1. Identify Template
118
+ 1. **Parse YAML template** - Load template metadata and sections
119
+ 2. **Set preferences** - Show current mode (Interactive), confirm output file
120
+ 3. **Process each section:**
121
+ - Skip if condition unmet
122
+ - Check agent permissions (owner/editors) - note if section is restricted to specific agents
123
+ - Draft content using section instruction
124
+ - Present content + detailed rationale
125
+ - **IF elicit: true** → MANDATORY 1-9 options format
126
+ - Save to file if possible
127
+ 4. **Continue until complete**
130
128
 
131
- - Load from `templates#*` or `{root}/templates directory`
132
- - Agent-specific templates are listed in agent's dependencies
133
- - If agent has `templates: [prd-tmpl, architecture-tmpl]` for example, then offer to create "PRD" and "Architecture" documents
129
+ ## Detailed Rationale Requirements
134
130
 
135
- ### 2. Ask Interaction Mode
131
+ When presenting section content, ALWAYS include rationale that explains:
136
132
 
137
- > 1. **Incremental** - Section by section with reviews
138
- > 2. **YOLO Mode** - Complete draft then review (user can type `/yolo` anytime to switch)
133
+ - Trade-offs and choices made (what was chosen over alternatives and why)
134
+ - Key assumptions made during drafting
135
+ - Interesting or questionable decisions that need user attention
136
+ - Areas that might need validation
139
137
 
140
- ### 3. Execute Template
138
+ ## Elicitation Results Flow
141
139
 
142
- - Replace {{placeholders}} with real content
143
- - Execute [[LLM:]] instructions as you encounter them
144
- - Process <<REPEAT>> loops and ^^CONDITIONS^^
145
- - Use @{examples} for guidance but never output them
140
+ After user selects elicitation method (2-9):
146
141
 
147
- ### 4. Key Execution Patterns
142
+ 1. Execute method from data/elicitation-methods
143
+ 2. Present results with insights
144
+ 3. Offer options:
145
+ - **1. Apply changes and update section**
146
+ - **2. Return to elicitation menu**
147
+ - **3. Ask any questions or engage further with this elicitation**
148
148
 
149
- **When you see:** `[[LLM: Draft X and immediately execute tasks#advanced-elicitation]]`
149
+ ## Agent Permissions
150
150
 
151
- - Draft the content
152
- - Present it to user
153
- - IMMEDIATELY execute the task
154
- - Wait for completion before continuing
151
+ When processing sections with agent permission fields:
155
152
 
156
- **When you see:** `[[LLM: After section completion, apply tasks#Y]]`
153
+ - **owner**: Note which agent role initially creates/populates the section
154
+ - **editors**: List agent roles allowed to modify the section
155
+ - **readonly**: Mark sections that cannot be modified after creation
157
156
 
158
- - Finish the section
159
- - STOP and execute the task
160
- - Wait for user input
157
+ **For sections with restricted access:**
161
158
 
162
- ### 5. Validation & Final Presentation
159
+ - Include a note in the generated document indicating the responsible agent
160
+ - Example: "_(This section is owned by dev-agent and can only be modified by dev-agent)_"
163
161
 
164
- - Run any specified checklists
165
- - Present clean, formatted content only
166
- - No truncation or summarization
167
- - Begin directly with content (no preamble)
168
- - Include any handoff prompts from template
162
+ ## YOLO Mode
169
163
 
170
- ### 6. Update Workflow Plan (if applicable)
164
+ User can type `#yolo` to toggle to YOLO mode (process all sections at once).
171
165
 
172
- [[LLM: After successful document creation]]
166
+ ## CRITICAL REMINDERS
173
167
 
174
- - If plan tracking is enabled and document was part of plan:
175
- - Call update-workflow-plan task to mark step complete
176
- - Parameters: task: create-doc, step_id: {from plan}, status: complete
177
- - Show next recommended step from plan
168
+ **❌ NEVER:**
178
169
 
179
- ## Common Mistakes to Avoid
170
+ - Ask yes/no questions for elicitation
171
+ - Use any format other than 1-9 numbered options
172
+ - Create new elicitation methods
180
173
 
181
- Skipping elicitation tasks
182
- ❌ Showing template markup to users
183
- ❌ Continuing past STOP signals
184
- ❌ Combining multiple review points
174
+ **✅ ALWAYS:**
185
175
 
186
- Execute ALL instructions in sequence
187
- Present only clean, formatted content
188
- Stop at every elicitation point
189
- Wait for user confirmation when instructed
176
+ - Use exact 1-9 format when elicit: true
177
+ - Select options 2-9 from data/elicitation-methods only
178
+ - Provide detailed rationale explaining decisions
179
+ - End with "Select 1-9 or just type your question/feedback:"
180
+ ==================== END: .bmad-2d-phaser-game-dev/tasks/create-doc.md ====================
190
181
 
191
- ## Remember
192
-
193
- Templates contain precise instructions for a reason. Follow them exactly to ensure document quality and completeness.
194
- ==================== END: tasks#create-doc ====================
195
-
196
- ==================== START: tasks#execute-checklist ====================
182
+ ==================== START: .bmad-2d-phaser-game-dev/tasks/execute-checklist.md ====================
197
183
  # Checklist Validation Task
198
184
 
199
185
  This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
200
186
 
201
187
  ## Available Checklists
202
188
 
203
- If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the {root}/checklists folder to select the appropriate one to run.
189
+ If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the .bmad-2d-phaser-game-dev/checklists folder to select the appropriate one to run.
204
190
 
205
191
  ## Instructions
206
192
 
@@ -209,7 +195,7 @@ If the user asks or does not specify a specific checklist, list the checklists a
209
195
  - If user or the task being run provides a checklist name:
210
196
  - Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
211
197
  - If multiple matches found, ask user to clarify
212
- - Load the appropriate checklist from {root}/checklists/
198
+ - Load the appropriate checklist from .bmad-2d-phaser-game-dev/checklists/
213
199
  - If no checklist specified:
214
200
  - Ask the user which checklist they want to use
215
201
  - Present the available options from the files in the checklists folder
@@ -287,9 +273,9 @@ The LLM will:
287
273
  - Execute the complete checklist validation
288
274
  - Present a final report with pass/fail rates and key findings
289
275
  - Offer to provide detailed analysis of any section, especially those with warnings or failures
290
- ==================== END: tasks#execute-checklist ====================
276
+ ==================== END: .bmad-2d-phaser-game-dev/tasks/execute-checklist.md ====================
291
277
 
292
- ==================== START: tasks#game-design-brainstorming ====================
278
+ ==================== START: .bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md ====================
293
279
  # Game Design Brainstorming Techniques Task
294
280
 
295
281
  This task provides a comprehensive toolkit of creative brainstorming techniques specifically designed for game design ideation and innovative thinking. The game designer can use these techniques to facilitate productive brainstorming sessions focused on game mechanics, player experience, and creative concepts.
@@ -598,9 +584,9 @@ This task provides a comprehensive toolkit of creative brainstorming techniques
598
584
  - Consider accessibility and inclusivity from the start
599
585
  - Balance innovation with market viability
600
586
  - Plan for iteration based on player feedback
601
- ==================== END: tasks#game-design-brainstorming ====================
587
+ ==================== END: .bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md ====================
602
588
 
603
- ==================== START: tasks#create-deep-research-prompt ====================
589
+ ==================== START: .bmad-2d-phaser-game-dev/tasks/create-deep-research-prompt.md ====================
604
590
  # Create Deep Research Prompt Task
605
591
 
606
592
  This task helps create comprehensive research prompts for various types of deep analysis. It can process inputs from brainstorming sessions, project briefs, market research, or specific research questions to generate targeted prompts for deeper investigation.
@@ -902,9 +888,9 @@ Present these numbered options to the user:
902
888
  - Balance comprehensiveness with focus
903
889
  - Document assumptions and limitations clearly
904
890
  - Plan for iterative refinement based on initial findings
905
- ==================== END: tasks#create-deep-research-prompt ====================
891
+ ==================== END: .bmad-2d-phaser-game-dev/tasks/create-deep-research-prompt.md ====================
906
892
 
907
- ==================== START: tasks#advanced-elicitation ====================
893
+ ==================== START: .bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md ====================
908
894
  # Advanced Game Design Elicitation Task
909
895
 
910
896
  ## Purpose
@@ -1016,1164 +1002,1201 @@ The questions and perspectives offered should always consider:
1016
1002
  - Performance implications for 60 FPS targets
1017
1003
  - Cross-platform compatibility (desktop and mobile)
1018
1004
  - Game development best practices and common pitfalls
1019
- ==================== END: tasks#advanced-elicitation ====================
1020
-
1021
- ==================== START: templates#game-design-doc-tmpl ====================
1022
- # {{Game Title}} Game Design Document (GDD)
1023
-
1024
- [[LLM: This template creates a comprehensive Game Design Document that will serve as the foundation for all game development work. The GDD should be detailed enough that developers can create user stories and epics from it. Focus on gameplay systems, mechanics, and technical requirements that can be broken down into implementable features.
1025
-
1026
- If available, review any provided documents or ask if any are optionally available: Project Brief, Market Research, Competitive Analysis]]
1027
-
1028
- ## Executive Summary
1029
-
1030
- [[LLM: Create a compelling overview that captures the essence of the game. Present this section first and get user feedback before proceeding.]]
1031
-
1032
- ### Core Concept
1033
-
1034
- [[LLM: 2-3 sentences that clearly describe what the game is and why players will love it]]
1035
-
1036
- ### Target Audience
1037
-
1038
- [[LLM: Define the primary and secondary audience with demographics and gaming preferences]]
1039
-
1040
- **Primary:** {{age_range}}, {{player_type}}, {{platform_preference}}
1041
- **Secondary:** {{secondary_audience}}
1042
-
1043
- ### Platform & Technical Requirements
1044
-
1045
- [[LLM: Based on the technical preferences or user input, define the target platforms]]
1046
-
1047
- **Primary Platform:** {{platform}}
1048
- **Engine:** Phaser 3 + TypeScript
1049
- **Performance Target:** 60 FPS on {{minimum_device}}
1050
- **Screen Support:** {{resolution_range}}
1051
-
1052
- ### Unique Selling Points
1053
-
1054
- [[LLM: List 3-5 key features that differentiate this game from competitors]]
1055
-
1056
- 1. {{usp_1}}
1057
- 2. {{usp_2}}
1058
- 3. {{usp_3}}
1059
-
1060
- ## Core Gameplay
1061
-
1062
- [[LLM: This section defines the fundamental game mechanics. After presenting each subsection, apply `tasks#advanced-elicitation` protocol to ensure completeness.]]
1063
-
1064
- ### Game Pillars
1065
-
1066
- [[LLM: Define 3-5 core pillars that guide all design decisions. These should be specific and actionable.]]
1067
-
1068
- 1. **{{pillar_1}}** - {{description}}
1069
- 2. **{{pillar_2}}** - {{description}}
1070
- 3. **{{pillar_3}}** - {{description}}
1071
-
1072
- ### Core Gameplay Loop
1073
-
1074
- [[LLM: Define the 30-60 second loop that players will repeat. Be specific about timing and player actions.]]
1075
-
1076
- **Primary Loop ({{duration}} seconds):**
1077
-
1078
- 1. {{action_1}} ({{time_1}}s)
1079
- 2. {{action_2}} ({{time_2}}s)
1080
- 3. {{action_3}} ({{time_3}}s)
1081
- 4. {{reward_feedback}} ({{time_4}}s)
1082
-
1083
- ### Win/Loss Conditions
1084
-
1085
- [[LLM: Clearly define success and failure states]]
1086
-
1087
- **Victory Conditions:**
1088
-
1089
- - {{win_condition_1}}
1090
- - {{win_condition_2}}
1091
-
1092
- **Failure States:**
1093
-
1094
- - {{loss_condition_1}}
1095
- - {{loss_condition_2}}
1096
-
1097
- ## Game Mechanics
1098
-
1099
- [[LLM: Detail each major mechanic that will need to be implemented. Each mechanic should be specific enough for developers to create implementation stories.]]
1100
-
1101
- ### Primary Mechanics
1102
-
1103
- <<REPEAT section="mechanic" count="3-5">>
1104
-
1105
- #### {{mechanic_name}}
1106
-
1107
- **Description:** {{detailed_description}}
1108
-
1109
- **Player Input:** {{input_method}}
1110
-
1111
- **System Response:** {{game_response}}
1112
-
1113
- **Implementation Notes:**
1114
-
1115
- - {{tech_requirement_1}}
1116
- - {{tech_requirement_2}}
1117
- - {{performance_consideration}}
1118
-
1119
- **Dependencies:** {{other_mechanics_needed}}
1120
-
1121
- <</REPEAT>>
1122
-
1123
- ### Controls
1124
-
1125
- [[LLM: Define all input methods for different platforms]]
1126
-
1127
- | Action | Desktop | Mobile | Gamepad |
1128
- | ------------ | ------- | ----------- | ---------- |
1129
- | {{action_1}} | {{key}} | {{gesture}} | {{button}} |
1130
- | {{action_2}} | {{key}} | {{gesture}} | {{button}} |
1131
-
1132
- ## Progression & Balance
1133
-
1134
- [[LLM: Define how players advance and how difficulty scales. This section should provide clear parameters for implementation.]]
1135
-
1136
- ### Player Progression
1137
-
1138
- **Progression Type:** {{linear|branching|metroidvania}}
1139
-
1140
- **Key Milestones:**
1141
-
1142
- 1. **{{milestone_1}}** - {{unlock_description}}
1143
- 2. **{{milestone_2}}** - {{unlock_description}}
1144
- 3. **{{milestone_3}}** - {{unlock_description}}
1145
-
1146
- ### Difficulty Curve
1147
-
1148
- [[LLM: Provide specific parameters for balancing]]
1149
-
1150
- **Tutorial Phase:** {{duration}} - {{difficulty_description}}
1151
- **Early Game:** {{duration}} - {{difficulty_description}}
1152
- **Mid Game:** {{duration}} - {{difficulty_description}}
1153
- **Late Game:** {{duration}} - {{difficulty_description}}
1154
-
1155
- ### Economy & Resources
1156
-
1157
- ^^CONDITION: has_economy^^
1158
-
1159
- [[LLM: Define any in-game currencies, resources, or collectibles]]
1160
-
1161
- | Resource | Earn Rate | Spend Rate | Purpose | Cap |
1162
- | -------------- | --------- | ---------- | ------- | ------- |
1163
- | {{resource_1}} | {{rate}} | {{rate}} | {{use}} | {{max}} |
1164
-
1165
- ^^/CONDITION: has_economy^^
1166
-
1167
- ## Level Design Framework
1168
-
1169
- [[LLM: Provide guidelines for level creation that developers can use to create level implementation stories]]
1170
-
1171
- ### Level Types
1172
-
1173
- <<REPEAT section="level_type" count="2-4">>
1174
-
1175
- #### {{level_type_name}}
1176
-
1177
- **Purpose:** {{gameplay_purpose}}
1178
- **Duration:** {{target_time}}
1179
- **Key Elements:** {{required_mechanics}}
1180
- **Difficulty:** {{relative_difficulty}}
1181
-
1182
- **Structure Template:**
1183
-
1184
- - Introduction: {{intro_description}}
1185
- - Challenge: {{main_challenge}}
1186
- - Resolution: {{completion_requirement}}
1187
-
1188
- <</REPEAT>>
1189
-
1190
- ### Level Progression
1191
-
1192
- **World Structure:** {{linear|hub|open}}
1193
- **Total Levels:** {{number}}
1194
- **Unlock Pattern:** {{progression_method}}
1195
-
1196
- ## Technical Specifications
1197
-
1198
- [[LLM: Define technical requirements that will guide architecture and implementation decisions. Review any existing technical preferences.]]
1199
-
1200
- ### Performance Requirements
1201
-
1202
- **Frame Rate:** 60 FPS (minimum 30 FPS on low-end devices)
1203
- **Memory Usage:** <{{memory_limit}}MB
1204
- **Load Times:** <{{load_time}}s initial, <{{level_load}}s between levels
1205
- **Battery Usage:** Optimized for mobile devices
1206
-
1207
- ### Platform Specific
1208
-
1209
- **Desktop:**
1210
-
1211
- - Resolution: {{min_resolution}} - {{max_resolution}}
1212
- - Input: Keyboard, Mouse, Gamepad
1213
- - Browser: Chrome 80+, Firefox 75+, Safari 13+
1214
-
1215
- **Mobile:**
1216
-
1217
- - Resolution: {{mobile_min}} - {{mobile_max}}
1218
- - Input: Touch, Tilt (optional)
1219
- - OS: iOS 13+, Android 8+
1220
-
1221
- ### Asset Requirements
1222
-
1223
- [[LLM: Define asset specifications for the art and audio teams]]
1224
-
1225
- **Visual Assets:**
1226
-
1227
- - Art Style: {{style_description}}
1228
- - Color Palette: {{color_specification}}
1229
- - Animation: {{animation_requirements}}
1230
- - UI Resolution: {{ui_specs}}
1231
-
1232
- **Audio Assets:**
1233
-
1234
- - Music Style: {{music_genre}}
1235
- - Sound Effects: {{sfx_requirements}}
1236
- - Voice Acting: {{voice_needs}}
1237
-
1238
- ## Technical Architecture Requirements
1239
-
1240
- [[LLM: Define high-level technical requirements that the game architecture must support]]
1241
-
1242
- ### Engine Configuration
1243
-
1244
- **Phaser 3 Setup:**
1245
-
1246
- - TypeScript: Strict mode enabled
1247
- - Physics: {{physics_system}} (Arcade/Matter)
1248
- - Renderer: WebGL with Canvas fallback
1249
- - Scale Mode: {{scale_mode}}
1250
-
1251
- ### Code Architecture
1252
-
1253
- **Required Systems:**
1254
-
1255
- - Scene Management
1256
- - State Management
1257
- - Asset Loading
1258
- - Save/Load System
1259
- - Input Management
1260
- - Audio System
1261
- - Performance Monitoring
1262
-
1263
- ### Data Management
1264
-
1265
- **Save Data:**
1266
-
1267
- - Progress tracking
1268
- - Settings persistence
1269
- - Statistics collection
1270
- - {{additional_data}}
1271
-
1272
- ## Development Phases
1273
-
1274
- [[LLM: Break down the development into phases that can be converted to epics]]
1275
-
1276
- ### Phase 1: Core Systems ({{duration}})
1277
-
1278
- **Epic: Foundation**
1279
-
1280
- - Engine setup and configuration
1281
- - Basic scene management
1282
- - Core input handling
1283
- - Asset loading pipeline
1284
-
1285
- **Epic: Core Mechanics**
1286
-
1287
- - {{primary_mechanic}} implementation
1288
- - Basic physics and collision
1289
- - Player controller
1290
-
1291
- ### Phase 2: Gameplay Features ({{duration}})
1292
-
1293
- **Epic: Game Systems**
1294
-
1295
- - {{mechanic_2}} implementation
1296
- - {{mechanic_3}} implementation
1297
- - Game state management
1298
-
1299
- **Epic: Content Creation**
1300
-
1301
- - Level loading system
1302
- - First playable levels
1303
- - Basic UI implementation
1304
-
1305
- ### Phase 3: Polish & Optimization ({{duration}})
1306
-
1307
- **Epic: Performance**
1308
-
1309
- - Optimization and profiling
1310
- - Mobile platform testing
1311
- - Memory management
1312
-
1313
- **Epic: User Experience**
1314
-
1315
- - Audio implementation
1316
- - Visual effects and polish
1317
- - Final UI/UX refinement
1318
-
1319
- ## Success Metrics
1320
-
1321
- [[LLM: Define measurable goals for the game]]
1322
-
1323
- **Technical Metrics:**
1324
-
1325
- - Frame rate: {{fps_target}}
1326
- - Load time: {{load_target}}
1327
- - Crash rate: <{{crash_threshold}}%
1328
- - Memory usage: <{{memory_target}}MB
1329
-
1330
- **Gameplay Metrics:**
1331
-
1332
- - Tutorial completion: {{completion_rate}}%
1333
- - Average session: {{session_length}} minutes
1334
- - Level completion: {{level_completion}}%
1335
- - Player retention: D1 {{d1}}%, D7 {{d7}}%
1336
-
1337
- ## Appendices
1338
-
1339
- ### Change Log
1340
-
1341
- [[LLM: Track document versions and changes]]
1342
-
1343
- | Date | Version | Description | Author |
1344
- | :--- | :------ | :---------- | :----- |
1345
-
1346
- ### References
1347
-
1348
- [[LLM: List any competitive analysis, inspiration, or research sources]]
1349
-
1350
- - {{reference_1}}
1351
- - {{reference_2}}
1352
- - {{reference_3}}
1353
- ==================== END: templates#game-design-doc-tmpl ====================
1354
-
1355
- ==================== START: templates#level-design-doc-tmpl ====================
1356
- # {{Game Title}} Level Design Document
1357
-
1358
- [[LLM: This template creates comprehensive level design documentation that guides both content creation and technical implementation. This document should provide enough detail for developers to create level loading systems and for designers to create specific levels.
1359
-
1360
- If available, review: Game Design Document (GDD), Game Architecture Document. This document should align with the game mechanics and technical systems defined in those documents.]]
1361
-
1362
- ## Introduction
1363
-
1364
- [[LLM: Establish the purpose and scope of level design for this game]]
1365
-
1366
- This document defines the level design framework for {{Game Title}}, providing guidelines for creating engaging, balanced levels that support the core gameplay mechanics defined in the Game Design Document.
1367
-
1368
- This framework ensures consistency across all levels while providing flexibility for creative level design within established technical and design constraints.
1369
-
1370
- ### Change Log
1371
-
1372
- [[LLM: Track document versions and changes]]
1373
-
1374
- | Date | Version | Description | Author |
1375
- | :--- | :------ | :---------- | :----- |
1376
-
1377
- ## Level Design Philosophy
1378
-
1379
- [[LLM: Establish the overall approach to level design based on the game's core pillars and mechanics. Apply `tasks#advanced-elicitation` after presenting this section.]]
1380
-
1381
- ### Design Principles
1382
-
1383
- [[LLM: Define 3-5 core principles that guide all level design decisions]]
1384
-
1385
- 1. **{{principle_1}}** - {{description}}
1386
- 2. **{{principle_2}}** - {{description}}
1387
- 3. **{{principle_3}}** - {{description}}
1388
-
1389
- ### Player Experience Goals
1390
-
1391
- [[LLM: Define what players should feel and learn in each level category]]
1392
-
1393
- **Tutorial Levels:** {{experience_description}}
1394
- **Standard Levels:** {{experience_description}}
1395
- **Challenge Levels:** {{experience_description}}
1396
- **Boss Levels:** {{experience_description}}
1397
-
1398
- ### Level Flow Framework
1399
-
1400
- [[LLM: Define the standard structure for level progression]]
1401
-
1402
- **Introduction Phase:** {{duration}} - {{purpose}}
1403
- **Development Phase:** {{duration}} - {{purpose}}
1404
- **Climax Phase:** {{duration}} - {{purpose}}
1405
- **Resolution Phase:** {{duration}} - {{purpose}}
1406
-
1407
- ## Level Categories
1408
-
1409
- [[LLM: Define different types of levels based on the GDD requirements. Each category should be specific enough for implementation.]]
1410
-
1411
- <<REPEAT section="level_category" count="based_on_gdd">>
1412
-
1413
- ### {{category_name}} Levels
1414
-
1415
- **Purpose:** {{gameplay_purpose}}
1416
-
1417
- **Target Duration:** {{min_time}} - {{max_time}} minutes
1418
-
1419
- **Difficulty Range:** {{difficulty_scale}}
1420
-
1421
- **Key Mechanics Featured:**
1422
-
1423
- - {{mechanic_1}} - {{usage_description}}
1424
- - {{mechanic_2}} - {{usage_description}}
1425
-
1426
- **Player Objectives:**
1427
-
1428
- - Primary: {{primary_objective}}
1429
- - Secondary: {{secondary_objective}}
1430
- - Hidden: {{secret_objective}}
1431
-
1432
- **Success Criteria:**
1433
-
1434
- - {{completion_requirement_1}}
1435
- - {{completion_requirement_2}}
1436
-
1437
- **Technical Requirements:**
1438
-
1439
- - Maximum entities: {{entity_limit}}
1440
- - Performance target: {{fps_target}} FPS
1441
- - Memory budget: {{memory_limit}}MB
1442
- - Asset requirements: {{asset_needs}}
1443
-
1444
- <</REPEAT>>
1445
-
1446
- ## Level Progression System
1447
-
1448
- [[LLM: Define how players move through levels and how difficulty scales]]
1449
-
1450
- ### World Structure
1451
-
1452
- [[LLM: Based on GDD requirements, define the overall level organization]]
1453
-
1454
- **Organization Type:** {{linear|hub_world|open_world}}
1455
-
1456
- **Total Level Count:** {{number}}
1457
-
1458
- **World Breakdown:**
1459
-
1460
- - World 1: {{level_count}} levels - {{theme}} - {{difficulty_range}}
1461
- - World 2: {{level_count}} levels - {{theme}} - {{difficulty_range}}
1462
- - World 3: {{level_count}} levels - {{theme}} - {{difficulty_range}}
1463
-
1464
- ### Difficulty Progression
1465
-
1466
- [[LLM: Define how challenge increases across the game]]
1467
-
1468
- **Progression Curve:**
1469
-
1470
- ````text
1471
- Difficulty
1472
- ^ ___/```
1473
- | /
1474
- | / ___/```
1475
- | / /
1476
- | / /
1477
- |/ /
1478
- +-----------> Level Number
1479
- Tutorial Early Mid Late
1480
- ````
1481
-
1482
- **Scaling Parameters:**
1483
-
1484
- - Enemy count: {{start_count}} → {{end_count}}
1485
- - Enemy difficulty: {{start_diff}} → {{end_diff}}
1486
- - Level complexity: {{start_complex}} {{end_complex}}
1487
- - Time pressure: {{start_time}} → {{end_time}}
1488
-
1489
- ### Unlock Requirements
1490
-
1491
- [[LLM: Define how players access new levels]]
1492
-
1493
- **Progression Gates:**
1494
-
1495
- - Linear progression: Complete previous level
1496
- - Star requirements: {{star_count}} stars to unlock
1497
- - Skill gates: Demonstrate {{skill_requirement}}
1498
- - Optional content: {{unlock_condition}}
1499
-
1500
- ## Level Design Components
1501
-
1502
- [[LLM: Define the building blocks used to create levels]]
1503
-
1504
- ### Environmental Elements
1505
-
1506
- [[LLM: Define all environmental components that can be used in levels]]
1507
-
1508
- **Terrain Types:**
1509
-
1510
- - {{terrain_1}}: {{properties_and_usage}}
1511
- - {{terrain_2}}: {{properties_and_usage}}
1512
-
1513
- **Interactive Objects:**
1514
-
1515
- - {{object_1}}: {{behavior_and_purpose}}
1516
- - {{object_2}}: {{behavior_and_purpose}}
1517
-
1518
- **Hazards and Obstacles:**
1519
-
1520
- - {{hazard_1}}: {{damage_and_behavior}}
1521
- - {{hazard_2}}: {{damage_and_behavior}}
1522
-
1523
- ### Collectibles and Rewards
1524
-
1525
- [[LLM: Define all collectible items and their placement rules]]
1526
-
1527
- **Collectible Types:**
1528
-
1529
- - {{collectible_1}}: {{value_and_purpose}}
1530
- - {{collectible_2}}: {{value_and_purpose}}
1531
-
1532
- **Placement Guidelines:**
1533
-
1534
- - Mandatory collectibles: {{placement_rules}}
1535
- - Optional collectibles: {{placement_rules}}
1536
- - Secret collectibles: {{placement_rules}}
1537
-
1538
- **Reward Distribution:**
1539
-
1540
- - Easy to find: {{percentage}}%
1541
- - Moderate challenge: {{percentage}}%
1542
- - High skill required: {{percentage}}%
1543
-
1544
- ### Enemy Placement Framework
1545
-
1546
- [[LLM: Define how enemies should be placed and balanced in levels]]
1547
-
1548
- **Enemy Categories:**
1549
-
1550
- - {{enemy_type_1}}: {{behavior_and_usage}}
1551
- - {{enemy_type_2}}: {{behavior_and_usage}}
1552
-
1553
- **Placement Principles:**
1554
-
1555
- - Introduction encounters: {{guideline}}
1556
- - Standard encounters: {{guideline}}
1557
- - Challenge encounters: {{guideline}}
1558
-
1559
- **Difficulty Scaling:**
1560
-
1561
- - Enemy count progression: {{scaling_rule}}
1562
- - Enemy type introduction: {{pacing_rule}}
1563
- - Encounter complexity: {{complexity_rule}}
1564
-
1565
- ## Level Creation Guidelines
1566
-
1567
- [[LLM: Provide specific guidelines for creating individual levels]]
1568
-
1569
- ### Level Layout Principles
1570
-
1571
- **Spatial Design:**
1572
-
1573
- - Grid size: {{grid_dimensions}}
1574
- - Minimum path width: {{width_units}}
1575
- - Maximum vertical distance: {{height_units}}
1576
- - Safe zones placement: {{safety_guidelines}}
1577
-
1578
- **Navigation Design:**
1579
-
1580
- - Clear path indication: {{visual_cues}}
1581
- - Landmark placement: {{landmark_rules}}
1582
- - Dead end avoidance: {{dead_end_policy}}
1583
- - Multiple path options: {{branching_rules}}
1584
-
1585
- ### Pacing and Flow
1586
-
1587
- [[LLM: Define how to control the rhythm and pace of gameplay within levels]]
1588
-
1589
- **Action Sequences:**
1590
-
1591
- - High intensity duration: {{max_duration}}
1592
- - Rest period requirement: {{min_rest_time}}
1593
- - Intensity variation: {{pacing_pattern}}
1594
-
1595
- **Learning Sequences:**
1596
-
1597
- - New mechanic introduction: {{teaching_method}}
1598
- - Practice opportunity: {{practice_duration}}
1599
- - Skill application: {{application_context}}
1600
-
1601
- ### Challenge Design
1602
-
1603
- [[LLM: Define how to create appropriate challenges for each level type]]
1604
-
1605
- **Challenge Types:**
1606
-
1607
- - Execution challenges: {{skill_requirements}}
1608
- - Puzzle challenges: {{complexity_guidelines}}
1609
- - Time challenges: {{time_pressure_rules}}
1610
- - Resource challenges: {{resource_management}}
1611
-
1612
- **Difficulty Calibration:**
1613
-
1614
- - Skill check frequency: {{frequency_guidelines}}
1615
- - Failure recovery: {{retry_mechanics}}
1616
- - Hint system integration: {{help_system}}
1617
-
1618
- ## Technical Implementation
1619
-
1620
- [[LLM: Define technical requirements for level implementation]]
1621
-
1622
- ### Level Data Structure
1623
-
1624
- [[LLM: Define how level data should be structured for implementation]]
1625
-
1626
- **Level File Format:**
1627
-
1628
- - Data format: {{json|yaml|custom}}
1629
- - File naming: `level_{{world}}_{{number}}.{{extension}}`
1630
- - Data organization: {{structure_description}}
1631
-
1632
- **Required Data Fields:**
1633
-
1634
- ```json
1635
- {
1636
- "levelId": "{{unique_identifier}}",
1637
- "worldId": "{{world_identifier}}",
1638
- "difficulty": {{difficulty_value}},
1639
- "targetTime": {{completion_time_seconds}},
1640
- "objectives": {
1641
- "primary": "{{primary_objective}}",
1642
- "secondary": ["{{secondary_objectives}}"],
1643
- "hidden": ["{{secret_objectives}}"]
1644
- },
1645
- "layout": {
1646
- "width": {{grid_width}},
1647
- "height": {{grid_height}},
1648
- "tilemap": "{{tilemap_reference}}"
1649
- },
1650
- "entities": [
1651
- {
1652
- "type": "{{entity_type}}",
1653
- "position": {"x": {{x}}, "y": {{y}}},
1654
- "properties": {{entity_properties}}
1655
- }
1656
- ]
1657
- }
1658
- ```
1659
-
1660
- ### Asset Integration
1661
-
1662
- [[LLM: Define how level assets are organized and loaded]]
1663
-
1664
- **Tilemap Requirements:**
1665
-
1666
- - Tile size: {{tile_dimensions}}px
1667
- - Tileset organization: {{tileset_structure}}
1668
- - Layer organization: {{layer_system}}
1669
- - Collision data: {{collision_format}}
1670
-
1671
- **Audio Integration:**
1672
-
1673
- - Background music: {{music_requirements}}
1674
- - Ambient sounds: {{ambient_system}}
1675
- - Dynamic audio: {{dynamic_audio_rules}}
1676
-
1677
- ### Performance Optimization
1678
-
1679
- [[LLM: Define performance requirements for level systems]]
1680
-
1681
- **Entity Limits:**
1682
-
1683
- - Maximum active entities: {{entity_limit}}
1684
- - Maximum particles: {{particle_limit}}
1685
- - Maximum audio sources: {{audio_limit}}
1686
-
1687
- **Memory Management:**
1688
-
1689
- - Texture memory budget: {{texture_memory}}MB
1690
- - Audio memory budget: {{audio_memory}}MB
1691
- - Level loading time: <{{load_time}}s
1692
-
1693
- **Culling and LOD:**
1694
-
1695
- - Off-screen culling: {{culling_distance}}
1696
- - Level-of-detail rules: {{lod_system}}
1697
- - Asset streaming: {{streaming_requirements}}
1698
-
1699
- ## Level Testing Framework
1700
-
1701
- [[LLM: Define how levels should be tested and validated]]
1702
-
1703
- ### Automated Testing
1704
-
1705
- **Performance Testing:**
1706
-
1707
- - Frame rate validation: Maintain {{fps_target}} FPS
1708
- - Memory usage monitoring: Stay under {{memory_limit}}MB
1709
- - Loading time verification: Complete in <{{load_time}}s
1710
-
1711
- **Gameplay Testing:**
1712
-
1713
- - Completion path validation: All objectives achievable
1714
- - Collectible accessibility: All items reachable
1715
- - Softlock prevention: No unwinnable states
1716
-
1717
- ### Manual Testing Protocol
1718
-
1719
- **Playtesting Checklist:**
1720
-
1721
- - [ ] Level completes within target time range
1722
- - [ ] All mechanics function correctly
1723
- - [ ] Difficulty feels appropriate for level category
1724
- - [ ] Player guidance is clear and effective
1725
- - [ ] No exploits or sequence breaks (unless intended)
1726
-
1727
- **Player Experience Testing:**
1728
-
1729
- - [ ] Tutorial levels teach effectively
1730
- - [ ] Challenge feels fair and rewarding
1731
- - [ ] Flow and pacing maintain engagement
1732
- - [ ] Audio and visual feedback support gameplay
1733
-
1734
- ### Balance Validation
1735
-
1736
- **Metrics Collection:**
1737
-
1738
- - Completion rate: Target {{completion_percentage}}%
1739
- - Average completion time: {{target_time}} ± {{variance}}
1740
- - Death count per level: <{{max_deaths}}
1741
- - Collectible discovery rate: {{discovery_percentage}}%
1742
-
1743
- **Iteration Guidelines:**
1744
-
1745
- - Adjustment criteria: {{criteria_for_changes}}
1746
- - Testing sample size: {{minimum_testers}}
1747
- - Validation period: {{testing_duration}}
1748
-
1749
- ## Content Creation Pipeline
1750
-
1751
- [[LLM: Define the workflow for creating new levels]]
1752
-
1753
- ### Design Phase
1754
-
1755
- **Concept Development:**
1756
-
1757
- 1. Define level purpose and goals
1758
- 2. Create rough layout sketch
1759
- 3. Identify key mechanics and challenges
1760
- 4. Estimate difficulty and duration
1761
-
1762
- **Documentation Requirements:**
1763
-
1764
- - Level design brief
1765
- - Layout diagrams
1766
- - Mechanic integration notes
1767
- - Asset requirement list
1768
-
1769
- ### Implementation Phase
1770
-
1771
- **Technical Implementation:**
1772
-
1773
- 1. Create level data file
1774
- 2. Build tilemap and layout
1775
- 3. Place entities and objects
1776
- 4. Configure level logic and triggers
1777
- 5. Integrate audio and visual effects
1778
-
1779
- **Quality Assurance:**
1780
-
1781
- 1. Automated testing execution
1782
- 2. Internal playtesting
1783
- 3. Performance validation
1784
- 4. Bug fixing and polish
1785
-
1786
- ### Integration Phase
1787
-
1788
- **Game Integration:**
1789
-
1790
- 1. Level progression integration
1791
- 2. Save system compatibility
1792
- 3. Analytics integration
1793
- 4. Achievement system integration
1794
-
1795
- **Final Validation:**
1796
-
1797
- 1. Full game context testing
1798
- 2. Performance regression testing
1799
- 3. Platform compatibility verification
1800
- 4. Final approval and release
1801
-
1802
- ## Success Metrics
1803
-
1804
- [[LLM: Define how to measure level design success]]
1805
-
1806
- **Player Engagement:**
1807
-
1808
- - Level completion rate: {{target_rate}}%
1809
- - Replay rate: {{replay_target}}%
1810
- - Time spent per level: {{engagement_time}}
1811
- - Player satisfaction scores: {{satisfaction_target}}/10
1812
-
1813
- **Technical Performance:**
1814
-
1815
- - Frame rate consistency: {{fps_consistency}}%
1816
- - Loading time compliance: {{load_compliance}}%
1817
- - Memory usage efficiency: {{memory_efficiency}}%
1818
- - Crash rate: <{{crash_threshold}}%
1819
-
1820
- **Design Quality:**
1821
-
1822
- - Difficulty curve adherence: {{curve_accuracy}}
1823
- - Mechanic integration effectiveness: {{integration_score}}
1824
- - Player guidance clarity: {{guidance_score}}
1825
- - Content accessibility: {{accessibility_rate}}%
1826
- ==================== END: templates#level-design-doc-tmpl ====================
1827
-
1828
- ==================== START: templates#game-brief-tmpl ====================
1829
- # {{Game Title}} Game Brief
1830
-
1831
- [[LLM: This template creates a comprehensive game brief that serves as the foundation for all subsequent game development work. The brief should capture the essential vision, scope, and requirements needed to create a detailed Game Design Document.
1832
-
1833
- This brief is typically created early in the ideation process, often after brainstorming sessions, to crystallize the game concept before moving into detailed design.]]
1834
-
1835
- ## Game Vision
1836
-
1837
- [[LLM: Establish the core vision and identity of the game. Present each subsection and gather user feedback before proceeding.]]
1838
-
1839
- ### Core Concept
1840
-
1841
- [[LLM: 2-3 sentences that clearly capture what the game is and why it will be compelling to players]]
1842
-
1843
- ### Elevator Pitch
1844
-
1845
- [[LLM: Single sentence that captures the essence of the game in a memorable way]]
1846
-
1847
- **"{{game_description_in_one_sentence}}"**
1848
-
1849
- ### Vision Statement
1850
-
1851
- [[LLM: Inspirational statement about what the game will achieve for players and why it matters]]
1852
-
1853
- ## Target Market
1854
-
1855
- [[LLM: Define the audience and market context. Apply `tasks#advanced-elicitation` after presenting this section.]]
1856
-
1857
- ### Primary Audience
1858
-
1859
- **Demographics:** {{age_range}}, {{platform_preference}}, {{gaming_experience}}
1860
- **Psychographics:** {{interests}}, {{motivations}}, {{play_patterns}}
1861
- **Gaming Preferences:** {{preferred_genres}}, {{session_length}}, {{difficulty_preference}}
1862
-
1863
- ### Secondary Audiences
1864
-
1865
- **Audience 2:** {{description}}
1866
- **Audience 3:** {{description}}
1867
-
1868
- ### Market Context
1869
-
1870
- **Genre:** {{primary_genre}} / {{secondary_genre}}
1871
- **Platform Strategy:** {{platform_focus}}
1872
- **Competitive Positioning:** {{differentiation_statement}}
1873
-
1874
- ## Game Fundamentals
1875
-
1876
- [[LLM: Define the core gameplay elements. Each subsection should be specific enough to guide detailed design work.]]
1877
-
1878
- ### Core Gameplay Pillars
1879
-
1880
- [[LLM: 3-5 fundamental principles that guide all design decisions]]
1881
-
1882
- 1. **{{pillar_1}}** - {{description_and_rationale}}
1883
- 2. **{{pillar_2}}** - {{description_and_rationale}}
1884
- 3. **{{pillar_3}}** - {{description_and_rationale}}
1885
-
1886
- ### Primary Mechanics
1887
-
1888
- [[LLM: List the 3-5 most important gameplay mechanics that define the player experience]]
1889
-
1890
- **Core Mechanic 1: {{mechanic_name}}**
1891
-
1892
- - **Description:** {{how_it_works}}
1893
- - **Player Value:** {{why_its_fun}}
1894
- - **Implementation Scope:** {{complexity_estimate}}
1895
-
1896
- **Core Mechanic 2: {{mechanic_name}}**
1897
-
1898
- - **Description:** {{how_it_works}}
1899
- - **Player Value:** {{why_its_fun}}
1900
- - **Implementation Scope:** {{complexity_estimate}}
1901
-
1902
- ### Player Experience Goals
1903
-
1904
- [[LLM: Define what emotions and experiences the game should create for players]]
1905
-
1906
- **Primary Experience:** {{main_emotional_goal}}
1907
- **Secondary Experiences:** {{supporting_emotional_goals}}
1908
- **Engagement Pattern:** {{how_player_engagement_evolves}}
1909
-
1910
- ## Scope and Constraints
1911
-
1912
- [[LLM: Define the boundaries and limitations that will shape development. Apply `tasks#advanced-elicitation` to clarify any constraints.]]
1913
-
1914
- ### Project Scope
1915
-
1916
- **Game Length:** {{estimated_content_hours}}
1917
- **Content Volume:** {{levels_areas_content_amount}}
1918
- **Feature Complexity:** {{simple|moderate|complex}}
1919
- **Scope Comparison:** "Similar to {{reference_game}} but with {{key_differences}}"
1920
-
1921
- ### Technical Constraints
1922
-
1923
- **Platform Requirements:**
1924
-
1925
- - Primary: {{platform_1}} - {{requirements}}
1926
- - Secondary: {{platform_2}} - {{requirements}}
1927
-
1928
- **Technical Specifications:**
1929
-
1930
- - Engine: Phaser 3 + TypeScript
1931
- - Performance Target: {{fps_target}} FPS on {{target_device}}
1932
- - Memory Budget: <{{memory_limit}}MB
1933
- - Load Time Goal: <{{load_time_seconds}}s
1934
-
1935
- ### Resource Constraints
1936
-
1937
- **Team Size:** {{team_composition}}
1938
- **Timeline:** {{development_duration}}
1939
- **Budget Considerations:** {{budget_constraints_or_targets}}
1940
- **Asset Requirements:** {{art_audio_content_needs}}
1941
-
1942
- ### Business Constraints
1943
-
1944
- ^^CONDITION: has_business_goals^^
1945
-
1946
- **Monetization Model:** {{free|premium|freemium|subscription}}
1947
- **Revenue Goals:** {{revenue_targets_if_applicable}}
1948
- **Platform Requirements:** {{store_certification_needs}}
1949
- **Launch Timeline:** {{target_launch_window}}
1950
-
1951
- ^^/CONDITION: has_business_goals^^
1952
-
1953
- ## Reference Framework
1954
-
1955
- [[LLM: Provide context through references and competitive analysis]]
1956
-
1957
- ### Inspiration Games
1958
-
1959
- **Primary References:**
1960
-
1961
- 1. **{{reference_game_1}}** - {{what_we_learn_from_it}}
1962
- 2. **{{reference_game_2}}** - {{what_we_learn_from_it}}
1963
- 3. **{{reference_game_3}}** - {{what_we_learn_from_it}}
1964
-
1965
- ### Competitive Analysis
1966
-
1967
- **Direct Competitors:**
1968
-
1969
- - {{competitor_1}}: {{strengths_and_weaknesses}}
1970
- - {{competitor_2}}: {{strengths_and_weaknesses}}
1971
-
1972
- **Differentiation Strategy:**
1973
- {{how_we_differ_and_why_thats_valuable}}
1974
-
1975
- ### Market Opportunity
1976
-
1977
- **Market Gap:** {{underserved_need_or_opportunity}}
1978
- **Timing Factors:** {{why_now_is_the_right_time}}
1979
- **Success Metrics:** {{how_well_measure_success}}
1980
-
1981
- ## Content Framework
1982
-
1983
- [[LLM: Outline the content structure and progression without full design detail]]
1984
-
1985
- ### Game Structure
1986
-
1987
- **Overall Flow:** {{linear|hub_world|open_world|procedural}}
1988
- **Progression Model:** {{how_players_advance}}
1989
- **Session Structure:** {{typical_play_session_flow}}
1990
-
1991
- ### Content Categories
1992
-
1993
- **Core Content:**
1994
-
1995
- - {{content_type_1}}: {{quantity_and_description}}
1996
- - {{content_type_2}}: {{quantity_and_description}}
1997
-
1998
- **Optional Content:**
1999
-
2000
- - {{optional_content_type}}: {{quantity_and_description}}
2001
-
2002
- **Replay Elements:**
2003
-
2004
- - {{replayability_features}}
2005
-
2006
- ### Difficulty and Accessibility
2007
-
2008
- **Difficulty Approach:** {{how_challenge_is_structured}}
2009
- **Accessibility Features:** {{planned_accessibility_support}}
2010
- **Skill Requirements:** {{what_skills_players_need}}
2011
-
2012
- ## Art and Audio Direction
2013
-
2014
- [[LLM: Establish the aesthetic vision that will guide asset creation]]
2015
-
2016
- ### Visual Style
2017
-
2018
- **Art Direction:** {{style_description}}
2019
- **Reference Materials:** {{visual_inspiration_sources}}
2020
- **Technical Approach:** {{2d_style_pixel_vector_etc}}
2021
- **Color Strategy:** {{color_palette_mood}}
2022
-
2023
- ### Audio Direction
2024
-
2025
- **Music Style:** {{genre_and_mood}}
2026
- **Sound Design:** {{audio_personality}}
2027
- **Implementation Needs:** {{technical_audio_requirements}}
2028
-
2029
- ### UI/UX Approach
2030
-
2031
- **Interface Style:** {{ui_aesthetic}}
2032
- **User Experience Goals:** {{ux_priorities}}
2033
- **Platform Adaptations:** {{cross_platform_considerations}}
2034
-
2035
- ## Risk Assessment
2036
-
2037
- [[LLM: Identify potential challenges and mitigation strategies]]
2038
-
2039
- ### Technical Risks
2040
-
2041
- | Risk | Probability | Impact | Mitigation Strategy |
2042
- | -------------------- | ----------- | ------ | ------------------- | ------ | --- | ----- | ----------------------- |
2043
- | {{technical_risk_1}} | {{high | med | low}} | {{high | med | low}} | {{mitigation_approach}} |
2044
- | {{technical_risk_2}} | {{high | med | low}} | {{high | med | low}} | {{mitigation_approach}} |
2045
-
2046
- ### Design Risks
2047
-
2048
- | Risk | Probability | Impact | Mitigation Strategy |
2049
- | ----------------- | ----------- | ------ | ------------------- | ------ | --- | ----- | ----------------------- |
2050
- | {{design_risk_1}} | {{high | med | low}} | {{high | med | low}} | {{mitigation_approach}} |
2051
- | {{design_risk_2}} | {{high | med | low}} | {{high | med | low}} | {{mitigation_approach}} |
2052
-
2053
- ### Market Risks
2054
-
2055
- | Risk | Probability | Impact | Mitigation Strategy |
2056
- | ----------------- | ----------- | ------ | ------------------- | ------ | --- | ----- | ----------------------- |
2057
- | {{market_risk_1}} | {{high | med | low}} | {{high | med | low}} | {{mitigation_approach}} |
2058
-
2059
- ## Success Criteria
2060
-
2061
- [[LLM: Define measurable goals for the project]]
2062
-
2063
- ### Player Experience Metrics
2064
-
2065
- **Engagement Goals:**
2066
-
2067
- - Tutorial completion rate: >{{percentage}}%
2068
- - Average session length: {{duration}} minutes
2069
- - Player retention: D1 {{d1}}%, D7 {{d7}}%, D30 {{d30}}%
2070
-
2071
- **Quality Benchmarks:**
2072
-
2073
- - Player satisfaction: >{{rating}}/10
2074
- - Completion rate: >{{percentage}}%
2075
- - Technical performance: {{fps_target}} FPS consistent
2076
-
2077
- ### Development Metrics
2078
-
2079
- **Technical Targets:**
2080
-
2081
- - Zero critical bugs at launch
2082
- - Performance targets met on all platforms
2083
- - Load times under {{seconds}}s
2084
-
2085
- **Process Goals:**
2086
-
2087
- - Development timeline adherence
2088
- - Feature scope completion
2089
- - Quality assurance standards
2090
-
2091
- ^^CONDITION: has_business_goals^^
2092
-
2093
- ### Business Metrics
2094
-
2095
- **Commercial Goals:**
2096
-
2097
- - {{revenue_target}} in first {{time_period}}
2098
- - {{user_acquisition_target}} players in first {{time_period}}
2099
- - {{retention_target}} monthly active users
2100
-
2101
- ^^/CONDITION: has_business_goals^^
2102
-
2103
- ## Next Steps
2104
-
2105
- [[LLM: Define immediate actions following the brief completion]]
2106
-
2107
- ### Immediate Actions
2108
-
2109
- 1. **Stakeholder Review** - {{review_process_and_timeline}}
2110
- 2. **Concept Validation** - {{validation_approach}}
2111
- 3. **Resource Planning** - {{team_and_resource_allocation}}
2112
-
2113
- ### Development Roadmap
2114
-
2115
- **Phase 1: Pre-Production** ({{duration}})
2116
-
2117
- - Detailed Game Design Document creation
2118
- - Technical architecture planning
2119
- - Art style exploration and pipeline setup
2120
-
2121
- **Phase 2: Prototype** ({{duration}})
2122
-
2123
- - Core mechanic implementation
2124
- - Technical proof of concept
2125
- - Initial playtesting and iteration
2126
-
2127
- **Phase 3: Production** ({{duration}})
2128
-
2129
- - Full feature development
2130
- - Content creation and integration
2131
- - Comprehensive testing and optimization
2132
-
2133
- ### Documentation Pipeline
2134
-
2135
- **Required Documents:**
2136
-
2137
- 1. Game Design Document (GDD) - {{target_completion}}
2138
- 2. Technical Architecture Document - {{target_completion}}
2139
- 3. Art Style Guide - {{target_completion}}
2140
- 4. Production Plan - {{target_completion}}
2141
-
2142
- ### Validation Plan
2143
-
2144
- **Concept Testing:**
2145
-
2146
- - {{validation_method_1}} - {{timeline}}
2147
- - {{validation_method_2}} - {{timeline}}
2148
-
2149
- **Prototype Testing:**
2150
-
2151
- - {{testing_approach}} - {{timeline}}
2152
- - {{feedback_collection_method}} - {{timeline}}
2153
-
2154
- ## Appendices
2155
-
2156
- ### Research Materials
2157
-
2158
- [[LLM: Include any supporting research, competitive analysis, or market data that informed the brief]]
2159
-
2160
- ### Brainstorming Session Notes
2161
-
2162
- [[LLM: Reference any brainstorming sessions that led to this brief]]
2163
-
2164
- ### Stakeholder Input
2165
-
2166
- [[LLM: Include key input from stakeholders that shaped the vision]]
2167
-
2168
- ### Change Log
2169
-
2170
- [[LLM: Track document versions and changes]]
2171
-
2172
- | Date | Version | Description | Author |
2173
- | :--- | :------ | :---------- | :----- |
2174
- ==================== END: templates#game-brief-tmpl ====================
2175
-
2176
- ==================== START: checklists#game-design-checklist ====================
1005
+ ==================== END: .bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md ====================
1006
+
1007
+ ==================== START: .bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml ====================
1008
+ template:
1009
+ id: game-design-doc-template-v2
1010
+ name: Game Design Document (GDD)
1011
+ version: 2.0
1012
+ output:
1013
+ format: markdown
1014
+ filename: "docs/{{game_name}}-game-design-document.md"
1015
+ title: "{{game_title}} Game Design Document (GDD)"
1016
+
1017
+ workflow:
1018
+ mode: interactive
1019
+
1020
+ sections:
1021
+ - id: initial-setup
1022
+ instruction: |
1023
+ This template creates a comprehensive Game Design Document that will serve as the foundation for all game development work. The GDD should be detailed enough that developers can create user stories and epics from it. Focus on gameplay systems, mechanics, and technical requirements that can be broken down into implementable features.
1024
+
1025
+ If available, review any provided documents or ask if any are optionally available: Project Brief, Market Research, Competitive Analysis
1026
+
1027
+ - id: executive-summary
1028
+ title: Executive Summary
1029
+ instruction: Create a compelling overview that captures the essence of the game. Present this section first and get user feedback before proceeding.
1030
+ sections:
1031
+ - id: core-concept
1032
+ title: Core Concept
1033
+ instruction: 2-3 sentences that clearly describe what the game is and why players will love it
1034
+ - id: target-audience
1035
+ title: Target Audience
1036
+ instruction: Define the primary and secondary audience with demographics and gaming preferences
1037
+ template: |
1038
+ **Primary:** {{age_range}}, {{player_type}}, {{platform_preference}}
1039
+ **Secondary:** {{secondary_audience}}
1040
+ - id: platform-technical
1041
+ title: Platform & Technical Requirements
1042
+ instruction: Based on the technical preferences or user input, define the target platforms
1043
+ template: |
1044
+ **Primary Platform:** {{platform}}
1045
+ **Engine:** Phaser 3 + TypeScript
1046
+ **Performance Target:** 60 FPS on {{minimum_device}}
1047
+ **Screen Support:** {{resolution_range}}
1048
+ - id: unique-selling-points
1049
+ title: Unique Selling Points
1050
+ instruction: List 3-5 key features that differentiate this game from competitors
1051
+ type: numbered-list
1052
+ template: "{{usp}}"
1053
+
1054
+ - id: core-gameplay
1055
+ title: Core Gameplay
1056
+ instruction: This section defines the fundamental game mechanics. After presenting each subsection, apply `tasks#advanced-elicitation` protocol to ensure completeness.
1057
+ sections:
1058
+ - id: game-pillars
1059
+ title: Game Pillars
1060
+ instruction: Define 3-5 core pillars that guide all design decisions. These should be specific and actionable.
1061
+ type: numbered-list
1062
+ template: |
1063
+ **{{pillar_name}}** - {{description}}
1064
+ - id: core-gameplay-loop
1065
+ title: Core Gameplay Loop
1066
+ instruction: Define the 30-60 second loop that players will repeat. Be specific about timing and player actions.
1067
+ template: |
1068
+ **Primary Loop ({{duration}} seconds):**
1069
+
1070
+ 1. {{action_1}} ({{time_1}}s)
1071
+ 2. {{action_2}} ({{time_2}}s)
1072
+ 3. {{action_3}} ({{time_3}}s)
1073
+ 4. {{reward_feedback}} ({{time_4}}s)
1074
+ - id: win-loss-conditions
1075
+ title: Win/Loss Conditions
1076
+ instruction: Clearly define success and failure states
1077
+ template: |
1078
+ **Victory Conditions:**
1079
+
1080
+ - {{win_condition_1}}
1081
+ - {{win_condition_2}}
1082
+
1083
+ **Failure States:**
1084
+
1085
+ - {{loss_condition_1}}
1086
+ - {{loss_condition_2}}
1087
+
1088
+ - id: game-mechanics
1089
+ title: Game Mechanics
1090
+ instruction: Detail each major mechanic that will need to be implemented. Each mechanic should be specific enough for developers to create implementation stories.
1091
+ sections:
1092
+ - id: primary-mechanics
1093
+ title: Primary Mechanics
1094
+ repeatable: true
1095
+ sections:
1096
+ - id: mechanic
1097
+ title: "{{mechanic_name}}"
1098
+ template: |
1099
+ **Description:** {{detailed_description}}
1100
+
1101
+ **Player Input:** {{input_method}}
1102
+
1103
+ **System Response:** {{game_response}}
1104
+
1105
+ **Implementation Notes:**
1106
+
1107
+ - {{tech_requirement_1}}
1108
+ - {{tech_requirement_2}}
1109
+ - {{performance_consideration}}
1110
+
1111
+ **Dependencies:** {{other_mechanics_needed}}
1112
+ - id: controls
1113
+ title: Controls
1114
+ instruction: Define all input methods for different platforms
1115
+ type: table
1116
+ template: |
1117
+ | Action | Desktop | Mobile | Gamepad |
1118
+ | ------ | ------- | ------ | ------- |
1119
+ | {{action}} | {{key}} | {{gesture}} | {{button}} |
1120
+
1121
+ - id: progression-balance
1122
+ title: Progression & Balance
1123
+ instruction: Define how players advance and how difficulty scales. This section should provide clear parameters for implementation.
1124
+ sections:
1125
+ - id: player-progression
1126
+ title: Player Progression
1127
+ template: |
1128
+ **Progression Type:** {{linear|branching|metroidvania}}
1129
+
1130
+ **Key Milestones:**
1131
+
1132
+ 1. **{{milestone_1}}** - {{unlock_description}}
1133
+ 2. **{{milestone_2}}** - {{unlock_description}}
1134
+ 3. **{{milestone_3}}** - {{unlock_description}}
1135
+ - id: difficulty-curve
1136
+ title: Difficulty Curve
1137
+ instruction: Provide specific parameters for balancing
1138
+ template: |
1139
+ **Tutorial Phase:** {{duration}} - {{difficulty_description}}
1140
+ **Early Game:** {{duration}} - {{difficulty_description}}
1141
+ **Mid Game:** {{duration}} - {{difficulty_description}}
1142
+ **Late Game:** {{duration}} - {{difficulty_description}}
1143
+ - id: economy-resources
1144
+ title: Economy & Resources
1145
+ condition: has_economy
1146
+ instruction: Define any in-game currencies, resources, or collectibles
1147
+ type: table
1148
+ template: |
1149
+ | Resource | Earn Rate | Spend Rate | Purpose | Cap |
1150
+ | -------- | --------- | ---------- | ------- | --- |
1151
+ | {{resource}} | {{rate}} | {{rate}} | {{use}} | {{max}} |
1152
+
1153
+ - id: level-design-framework
1154
+ title: Level Design Framework
1155
+ instruction: Provide guidelines for level creation that developers can use to create level implementation stories
1156
+ sections:
1157
+ - id: level-types
1158
+ title: Level Types
1159
+ repeatable: true
1160
+ sections:
1161
+ - id: level-type
1162
+ title: "{{level_type_name}}"
1163
+ template: |
1164
+ **Purpose:** {{gameplay_purpose}}
1165
+ **Duration:** {{target_time}}
1166
+ **Key Elements:** {{required_mechanics}}
1167
+ **Difficulty:** {{relative_difficulty}}
1168
+
1169
+ **Structure Template:**
1170
+
1171
+ - Introduction: {{intro_description}}
1172
+ - Challenge: {{main_challenge}}
1173
+ - Resolution: {{completion_requirement}}
1174
+ - id: level-progression
1175
+ title: Level Progression
1176
+ template: |
1177
+ **World Structure:** {{linear|hub|open}}
1178
+ **Total Levels:** {{number}}
1179
+ **Unlock Pattern:** {{progression_method}}
1180
+
1181
+ - id: technical-specifications
1182
+ title: Technical Specifications
1183
+ instruction: Define technical requirements that will guide architecture and implementation decisions. Review any existing technical preferences.
1184
+ sections:
1185
+ - id: performance-requirements
1186
+ title: Performance Requirements
1187
+ template: |
1188
+ **Frame Rate:** 60 FPS (minimum 30 FPS on low-end devices)
1189
+ **Memory Usage:** <{{memory_limit}}MB
1190
+ **Load Times:** <{{load_time}}s initial, <{{level_load}}s between levels
1191
+ **Battery Usage:** Optimized for mobile devices
1192
+ - id: platform-specific
1193
+ title: Platform Specific
1194
+ template: |
1195
+ **Desktop:**
1196
+
1197
+ - Resolution: {{min_resolution}} - {{max_resolution}}
1198
+ - Input: Keyboard, Mouse, Gamepad
1199
+ - Browser: Chrome 80+, Firefox 75+, Safari 13+
1200
+
1201
+ **Mobile:**
1202
+
1203
+ - Resolution: {{mobile_min}} - {{mobile_max}}
1204
+ - Input: Touch, Tilt (optional)
1205
+ - OS: iOS 13+, Android 8+
1206
+ - id: asset-requirements
1207
+ title: Asset Requirements
1208
+ instruction: Define asset specifications for the art and audio teams
1209
+ template: |
1210
+ **Visual Assets:**
1211
+
1212
+ - Art Style: {{style_description}}
1213
+ - Color Palette: {{color_specification}}
1214
+ - Animation: {{animation_requirements}}
1215
+ - UI Resolution: {{ui_specs}}
1216
+
1217
+ **Audio Assets:**
1218
+
1219
+ - Music Style: {{music_genre}}
1220
+ - Sound Effects: {{sfx_requirements}}
1221
+ - Voice Acting: {{voice_needs}}
1222
+
1223
+ - id: technical-architecture-requirements
1224
+ title: Technical Architecture Requirements
1225
+ instruction: Define high-level technical requirements that the game architecture must support
1226
+ sections:
1227
+ - id: engine-configuration
1228
+ title: Engine Configuration
1229
+ template: |
1230
+ **Phaser 3 Setup:**
1231
+
1232
+ - TypeScript: Strict mode enabled
1233
+ - Physics: {{physics_system}} (Arcade/Matter)
1234
+ - Renderer: WebGL with Canvas fallback
1235
+ - Scale Mode: {{scale_mode}}
1236
+ - id: code-architecture
1237
+ title: Code Architecture
1238
+ template: |
1239
+ **Required Systems:**
1240
+
1241
+ - Scene Management
1242
+ - State Management
1243
+ - Asset Loading
1244
+ - Save/Load System
1245
+ - Input Management
1246
+ - Audio System
1247
+ - Performance Monitoring
1248
+ - id: data-management
1249
+ title: Data Management
1250
+ template: |
1251
+ **Save Data:**
1252
+
1253
+ - Progress tracking
1254
+ - Settings persistence
1255
+ - Statistics collection
1256
+ - {{additional_data}}
1257
+
1258
+ - id: development-phases
1259
+ title: Development Phases
1260
+ instruction: Break down the development into phases that can be converted to epics
1261
+ sections:
1262
+ - id: phase-1-core-systems
1263
+ title: "Phase 1: Core Systems ({{duration}})"
1264
+ sections:
1265
+ - id: foundation-epic
1266
+ title: "Epic: Foundation"
1267
+ type: bullet-list
1268
+ template: |
1269
+ - Engine setup and configuration
1270
+ - Basic scene management
1271
+ - Core input handling
1272
+ - Asset loading pipeline
1273
+ - id: core-mechanics-epic
1274
+ title: "Epic: Core Mechanics"
1275
+ type: bullet-list
1276
+ template: |
1277
+ - {{primary_mechanic}} implementation
1278
+ - Basic physics and collision
1279
+ - Player controller
1280
+ - id: phase-2-gameplay-features
1281
+ title: "Phase 2: Gameplay Features ({{duration}})"
1282
+ sections:
1283
+ - id: game-systems-epic
1284
+ title: "Epic: Game Systems"
1285
+ type: bullet-list
1286
+ template: |
1287
+ - {{mechanic_2}} implementation
1288
+ - {{mechanic_3}} implementation
1289
+ - Game state management
1290
+ - id: content-creation-epic
1291
+ title: "Epic: Content Creation"
1292
+ type: bullet-list
1293
+ template: |
1294
+ - Level loading system
1295
+ - First playable levels
1296
+ - Basic UI implementation
1297
+ - id: phase-3-polish-optimization
1298
+ title: "Phase 3: Polish & Optimization ({{duration}})"
1299
+ sections:
1300
+ - id: performance-epic
1301
+ title: "Epic: Performance"
1302
+ type: bullet-list
1303
+ template: |
1304
+ - Optimization and profiling
1305
+ - Mobile platform testing
1306
+ - Memory management
1307
+ - id: user-experience-epic
1308
+ title: "Epic: User Experience"
1309
+ type: bullet-list
1310
+ template: |
1311
+ - Audio implementation
1312
+ - Visual effects and polish
1313
+ - Final UI/UX refinement
1314
+
1315
+ - id: success-metrics
1316
+ title: Success Metrics
1317
+ instruction: Define measurable goals for the game
1318
+ sections:
1319
+ - id: technical-metrics
1320
+ title: Technical Metrics
1321
+ type: bullet-list
1322
+ template: |
1323
+ - Frame rate: {{fps_target}}
1324
+ - Load time: {{load_target}}
1325
+ - Crash rate: <{{crash_threshold}}%
1326
+ - Memory usage: <{{memory_target}}MB
1327
+ - id: gameplay-metrics
1328
+ title: Gameplay Metrics
1329
+ type: bullet-list
1330
+ template: |
1331
+ - Tutorial completion: {{completion_rate}}%
1332
+ - Average session: {{session_length}} minutes
1333
+ - Level completion: {{level_completion}}%
1334
+ - Player retention: D1 {{d1}}%, D7 {{d7}}%
1335
+
1336
+ - id: appendices
1337
+ title: Appendices
1338
+ sections:
1339
+ - id: change-log
1340
+ title: Change Log
1341
+ instruction: Track document versions and changes
1342
+ type: table
1343
+ template: |
1344
+ | Date | Version | Description | Author |
1345
+ | :--- | :------ | :---------- | :----- |
1346
+ - id: references
1347
+ title: References
1348
+ instruction: List any competitive analysis, inspiration, or research sources
1349
+ type: bullet-list
1350
+ template: "{{reference}}"
1351
+ ==================== END: .bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml ====================
1352
+
1353
+ ==================== START: .bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml ====================
1354
+ template:
1355
+ id: level-design-doc-template-v2
1356
+ name: Level Design Document
1357
+ version: 2.0
1358
+ output:
1359
+ format: markdown
1360
+ filename: "docs/{{game_name}}-level-design-document.md"
1361
+ title: "{{game_title}} Level Design Document"
1362
+
1363
+ workflow:
1364
+ mode: interactive
1365
+
1366
+ sections:
1367
+ - id: initial-setup
1368
+ instruction: |
1369
+ This template creates comprehensive level design documentation that guides both content creation and technical implementation. This document should provide enough detail for developers to create level loading systems and for designers to create specific levels.
1370
+
1371
+ If available, review: Game Design Document (GDD), Game Architecture Document. This document should align with the game mechanics and technical systems defined in those documents.
1372
+
1373
+ - id: introduction
1374
+ title: Introduction
1375
+ instruction: Establish the purpose and scope of level design for this game
1376
+ content: |
1377
+ This document defines the level design framework for {{game_title}}, providing guidelines for creating engaging, balanced levels that support the core gameplay mechanics defined in the Game Design Document.
1378
+
1379
+ This framework ensures consistency across all levels while providing flexibility for creative level design within established technical and design constraints.
1380
+ sections:
1381
+ - id: change-log
1382
+ title: Change Log
1383
+ instruction: Track document versions and changes
1384
+ type: table
1385
+ template: |
1386
+ | Date | Version | Description | Author |
1387
+ | :--- | :------ | :---------- | :----- |
1388
+
1389
+ - id: level-design-philosophy
1390
+ title: Level Design Philosophy
1391
+ instruction: Establish the overall approach to level design based on the game's core pillars and mechanics. Apply `tasks#advanced-elicitation` after presenting this section.
1392
+ sections:
1393
+ - id: design-principles
1394
+ title: Design Principles
1395
+ instruction: Define 3-5 core principles that guide all level design decisions
1396
+ type: numbered-list
1397
+ template: |
1398
+ **{{principle_name}}** - {{description}}
1399
+ - id: player-experience-goals
1400
+ title: Player Experience Goals
1401
+ instruction: Define what players should feel and learn in each level category
1402
+ template: |
1403
+ **Tutorial Levels:** {{experience_description}}
1404
+ **Standard Levels:** {{experience_description}}
1405
+ **Challenge Levels:** {{experience_description}}
1406
+ **Boss Levels:** {{experience_description}}
1407
+ - id: level-flow-framework
1408
+ title: Level Flow Framework
1409
+ instruction: Define the standard structure for level progression
1410
+ template: |
1411
+ **Introduction Phase:** {{duration}} - {{purpose}}
1412
+ **Development Phase:** {{duration}} - {{purpose}}
1413
+ **Climax Phase:** {{duration}} - {{purpose}}
1414
+ **Resolution Phase:** {{duration}} - {{purpose}}
1415
+
1416
+ - id: level-categories
1417
+ title: Level Categories
1418
+ instruction: Define different types of levels based on the GDD requirements. Each category should be specific enough for implementation.
1419
+ repeatable: true
1420
+ sections:
1421
+ - id: level-category
1422
+ title: "{{category_name}} Levels"
1423
+ template: |
1424
+ **Purpose:** {{gameplay_purpose}}
1425
+
1426
+ **Target Duration:** {{min_time}} - {{max_time}} minutes
1427
+
1428
+ **Difficulty Range:** {{difficulty_scale}}
1429
+
1430
+ **Key Mechanics Featured:**
1431
+
1432
+ - {{mechanic_1}} - {{usage_description}}
1433
+ - {{mechanic_2}} - {{usage_description}}
1434
+
1435
+ **Player Objectives:**
1436
+
1437
+ - Primary: {{primary_objective}}
1438
+ - Secondary: {{secondary_objective}}
1439
+ - Hidden: {{secret_objective}}
1440
+
1441
+ **Success Criteria:**
1442
+
1443
+ - {{completion_requirement_1}}
1444
+ - {{completion_requirement_2}}
1445
+
1446
+ **Technical Requirements:**
1447
+
1448
+ - Maximum entities: {{entity_limit}}
1449
+ - Performance target: {{fps_target}} FPS
1450
+ - Memory budget: {{memory_limit}}MB
1451
+ - Asset requirements: {{asset_needs}}
1452
+
1453
+ - id: level-progression-system
1454
+ title: Level Progression System
1455
+ instruction: Define how players move through levels and how difficulty scales
1456
+ sections:
1457
+ - id: world-structure
1458
+ title: World Structure
1459
+ instruction: Based on GDD requirements, define the overall level organization
1460
+ template: |
1461
+ **Organization Type:** {{linear|hub_world|open_world}}
1462
+
1463
+ **Total Level Count:** {{number}}
1464
+
1465
+ **World Breakdown:**
1466
+
1467
+ - World 1: {{level_count}} levels - {{theme}} - {{difficulty_range}}
1468
+ - World 2: {{level_count}} levels - {{theme}} - {{difficulty_range}}
1469
+ - World 3: {{level_count}} levels - {{theme}} - {{difficulty_range}}
1470
+ - id: difficulty-progression
1471
+ title: Difficulty Progression
1472
+ instruction: Define how challenge increases across the game
1473
+ sections:
1474
+ - id: progression-curve
1475
+ title: Progression Curve
1476
+ type: code
1477
+ language: text
1478
+ template: |
1479
+ Difficulty
1480
+ ^ ___/```
1481
+ | /
1482
+ | / ___/```
1483
+ | / /
1484
+ | / /
1485
+ |/ /
1486
+ +-----------> Level Number
1487
+ Tutorial Early Mid Late
1488
+ - id: scaling-parameters
1489
+ title: Scaling Parameters
1490
+ type: bullet-list
1491
+ template: |
1492
+ - Enemy count: {{start_count}} {{end_count}}
1493
+ - Enemy difficulty: {{start_diff}} → {{end_diff}}
1494
+ - Level complexity: {{start_complex}} → {{end_complex}}
1495
+ - Time pressure: {{start_time}} → {{end_time}}
1496
+ - id: unlock-requirements
1497
+ title: Unlock Requirements
1498
+ instruction: Define how players access new levels
1499
+ template: |
1500
+ **Progression Gates:**
1501
+
1502
+ - Linear progression: Complete previous level
1503
+ - Star requirements: {{star_count}} stars to unlock
1504
+ - Skill gates: Demonstrate {{skill_requirement}}
1505
+ - Optional content: {{unlock_condition}}
1506
+
1507
+ - id: level-design-components
1508
+ title: Level Design Components
1509
+ instruction: Define the building blocks used to create levels
1510
+ sections:
1511
+ - id: environmental-elements
1512
+ title: Environmental Elements
1513
+ instruction: Define all environmental components that can be used in levels
1514
+ template: |
1515
+ **Terrain Types:**
1516
+
1517
+ - {{terrain_1}}: {{properties_and_usage}}
1518
+ - {{terrain_2}}: {{properties_and_usage}}
1519
+
1520
+ **Interactive Objects:**
1521
+
1522
+ - {{object_1}}: {{behavior_and_purpose}}
1523
+ - {{object_2}}: {{behavior_and_purpose}}
1524
+
1525
+ **Hazards and Obstacles:**
1526
+
1527
+ - {{hazard_1}}: {{damage_and_behavior}}
1528
+ - {{hazard_2}}: {{damage_and_behavior}}
1529
+ - id: collectibles-rewards
1530
+ title: Collectibles and Rewards
1531
+ instruction: Define all collectible items and their placement rules
1532
+ template: |
1533
+ **Collectible Types:**
1534
+
1535
+ - {{collectible_1}}: {{value_and_purpose}}
1536
+ - {{collectible_2}}: {{value_and_purpose}}
1537
+
1538
+ **Placement Guidelines:**
1539
+
1540
+ - Mandatory collectibles: {{placement_rules}}
1541
+ - Optional collectibles: {{placement_rules}}
1542
+ - Secret collectibles: {{placement_rules}}
1543
+
1544
+ **Reward Distribution:**
1545
+
1546
+ - Easy to find: {{percentage}}%
1547
+ - Moderate challenge: {{percentage}}%
1548
+ - High skill required: {{percentage}}%
1549
+ - id: enemy-placement-framework
1550
+ title: Enemy Placement Framework
1551
+ instruction: Define how enemies should be placed and balanced in levels
1552
+ template: |
1553
+ **Enemy Categories:**
1554
+
1555
+ - {{enemy_type_1}}: {{behavior_and_usage}}
1556
+ - {{enemy_type_2}}: {{behavior_and_usage}}
1557
+
1558
+ **Placement Principles:**
1559
+
1560
+ - Introduction encounters: {{guideline}}
1561
+ - Standard encounters: {{guideline}}
1562
+ - Challenge encounters: {{guideline}}
1563
+
1564
+ **Difficulty Scaling:**
1565
+
1566
+ - Enemy count progression: {{scaling_rule}}
1567
+ - Enemy type introduction: {{pacing_rule}}
1568
+ - Encounter complexity: {{complexity_rule}}
1569
+
1570
+ - id: level-creation-guidelines
1571
+ title: Level Creation Guidelines
1572
+ instruction: Provide specific guidelines for creating individual levels
1573
+ sections:
1574
+ - id: level-layout-principles
1575
+ title: Level Layout Principles
1576
+ template: |
1577
+ **Spatial Design:**
1578
+
1579
+ - Grid size: {{grid_dimensions}}
1580
+ - Minimum path width: {{width_units}}
1581
+ - Maximum vertical distance: {{height_units}}
1582
+ - Safe zones placement: {{safety_guidelines}}
1583
+
1584
+ **Navigation Design:**
1585
+
1586
+ - Clear path indication: {{visual_cues}}
1587
+ - Landmark placement: {{landmark_rules}}
1588
+ - Dead end avoidance: {{dead_end_policy}}
1589
+ - Multiple path options: {{branching_rules}}
1590
+ - id: pacing-and-flow
1591
+ title: Pacing and Flow
1592
+ instruction: Define how to control the rhythm and pace of gameplay within levels
1593
+ template: |
1594
+ **Action Sequences:**
1595
+
1596
+ - High intensity duration: {{max_duration}}
1597
+ - Rest period requirement: {{min_rest_time}}
1598
+ - Intensity variation: {{pacing_pattern}}
1599
+
1600
+ **Learning Sequences:**
1601
+
1602
+ - New mechanic introduction: {{teaching_method}}
1603
+ - Practice opportunity: {{practice_duration}}
1604
+ - Skill application: {{application_context}}
1605
+ - id: challenge-design
1606
+ title: Challenge Design
1607
+ instruction: Define how to create appropriate challenges for each level type
1608
+ template: |
1609
+ **Challenge Types:**
1610
+
1611
+ - Execution challenges: {{skill_requirements}}
1612
+ - Puzzle challenges: {{complexity_guidelines}}
1613
+ - Time challenges: {{time_pressure_rules}}
1614
+ - Resource challenges: {{resource_management}}
1615
+
1616
+ **Difficulty Calibration:**
1617
+
1618
+ - Skill check frequency: {{frequency_guidelines}}
1619
+ - Failure recovery: {{retry_mechanics}}
1620
+ - Hint system integration: {{help_system}}
1621
+
1622
+ - id: technical-implementation
1623
+ title: Technical Implementation
1624
+ instruction: Define technical requirements for level implementation
1625
+ sections:
1626
+ - id: level-data-structure
1627
+ title: Level Data Structure
1628
+ instruction: Define how level data should be structured for implementation
1629
+ template: |
1630
+ **Level File Format:**
1631
+
1632
+ - Data format: {{json|yaml|custom}}
1633
+ - File naming: `level_{{world}}_{{number}}.{{extension}}`
1634
+ - Data organization: {{structure_description}}
1635
+ sections:
1636
+ - id: required-data-fields
1637
+ title: Required Data Fields
1638
+ type: code
1639
+ language: json
1640
+ template: |
1641
+ {
1642
+ "levelId": "{{unique_identifier}}",
1643
+ "worldId": "{{world_identifier}}",
1644
+ "difficulty": {{difficulty_value}},
1645
+ "targetTime": {{completion_time_seconds}},
1646
+ "objectives": {
1647
+ "primary": "{{primary_objective}}",
1648
+ "secondary": ["{{secondary_objectives}}"],
1649
+ "hidden": ["{{secret_objectives}}"]
1650
+ },
1651
+ "layout": {
1652
+ "width": {{grid_width}},
1653
+ "height": {{grid_height}},
1654
+ "tilemap": "{{tilemap_reference}}"
1655
+ },
1656
+ "entities": [
1657
+ {
1658
+ "type": "{{entity_type}}",
1659
+ "position": {"x": {{x}}, "y": {{y}}},
1660
+ "properties": {{entity_properties}}
1661
+ }
1662
+ ]
1663
+ }
1664
+ - id: asset-integration
1665
+ title: Asset Integration
1666
+ instruction: Define how level assets are organized and loaded
1667
+ template: |
1668
+ **Tilemap Requirements:**
1669
+
1670
+ - Tile size: {{tile_dimensions}}px
1671
+ - Tileset organization: {{tileset_structure}}
1672
+ - Layer organization: {{layer_system}}
1673
+ - Collision data: {{collision_format}}
1674
+
1675
+ **Audio Integration:**
1676
+
1677
+ - Background music: {{music_requirements}}
1678
+ - Ambient sounds: {{ambient_system}}
1679
+ - Dynamic audio: {{dynamic_audio_rules}}
1680
+ - id: performance-optimization
1681
+ title: Performance Optimization
1682
+ instruction: Define performance requirements for level systems
1683
+ template: |
1684
+ **Entity Limits:**
1685
+
1686
+ - Maximum active entities: {{entity_limit}}
1687
+ - Maximum particles: {{particle_limit}}
1688
+ - Maximum audio sources: {{audio_limit}}
1689
+
1690
+ **Memory Management:**
1691
+
1692
+ - Texture memory budget: {{texture_memory}}MB
1693
+ - Audio memory budget: {{audio_memory}}MB
1694
+ - Level loading time: <{{load_time}}s
1695
+
1696
+ **Culling and LOD:**
1697
+
1698
+ - Off-screen culling: {{culling_distance}}
1699
+ - Level-of-detail rules: {{lod_system}}
1700
+ - Asset streaming: {{streaming_requirements}}
1701
+
1702
+ - id: level-testing-framework
1703
+ title: Level Testing Framework
1704
+ instruction: Define how levels should be tested and validated
1705
+ sections:
1706
+ - id: automated-testing
1707
+ title: Automated Testing
1708
+ template: |
1709
+ **Performance Testing:**
1710
+
1711
+ - Frame rate validation: Maintain {{fps_target}} FPS
1712
+ - Memory usage monitoring: Stay under {{memory_limit}}MB
1713
+ - Loading time verification: Complete in <{{load_time}}s
1714
+
1715
+ **Gameplay Testing:**
1716
+
1717
+ - Completion path validation: All objectives achievable
1718
+ - Collectible accessibility: All items reachable
1719
+ - Softlock prevention: No unwinnable states
1720
+ - id: manual-testing-protocol
1721
+ title: Manual Testing Protocol
1722
+ sections:
1723
+ - id: playtesting-checklist
1724
+ title: Playtesting Checklist
1725
+ type: checklist
1726
+ items:
1727
+ - "Level completes within target time range"
1728
+ - "All mechanics function correctly"
1729
+ - "Difficulty feels appropriate for level category"
1730
+ - "Player guidance is clear and effective"
1731
+ - "No exploits or sequence breaks (unless intended)"
1732
+ - id: player-experience-testing
1733
+ title: Player Experience Testing
1734
+ type: checklist
1735
+ items:
1736
+ - "Tutorial levels teach effectively"
1737
+ - "Challenge feels fair and rewarding"
1738
+ - "Flow and pacing maintain engagement"
1739
+ - "Audio and visual feedback support gameplay"
1740
+ - id: balance-validation
1741
+ title: Balance Validation
1742
+ template: |
1743
+ **Metrics Collection:**
1744
+
1745
+ - Completion rate: Target {{completion_percentage}}%
1746
+ - Average completion time: {{target_time}} ± {{variance}}
1747
+ - Death count per level: <{{max_deaths}}
1748
+ - Collectible discovery rate: {{discovery_percentage}}%
1749
+
1750
+ **Iteration Guidelines:**
1751
+
1752
+ - Adjustment criteria: {{criteria_for_changes}}
1753
+ - Testing sample size: {{minimum_testers}}
1754
+ - Validation period: {{testing_duration}}
1755
+
1756
+ - id: content-creation-pipeline
1757
+ title: Content Creation Pipeline
1758
+ instruction: Define the workflow for creating new levels
1759
+ sections:
1760
+ - id: design-phase
1761
+ title: Design Phase
1762
+ template: |
1763
+ **Concept Development:**
1764
+
1765
+ 1. Define level purpose and goals
1766
+ 2. Create rough layout sketch
1767
+ 3. Identify key mechanics and challenges
1768
+ 4. Estimate difficulty and duration
1769
+
1770
+ **Documentation Requirements:**
1771
+
1772
+ - Level design brief
1773
+ - Layout diagrams
1774
+ - Mechanic integration notes
1775
+ - Asset requirement list
1776
+ - id: implementation-phase
1777
+ title: Implementation Phase
1778
+ template: |
1779
+ **Technical Implementation:**
1780
+
1781
+ 1. Create level data file
1782
+ 2. Build tilemap and layout
1783
+ 3. Place entities and objects
1784
+ 4. Configure level logic and triggers
1785
+ 5. Integrate audio and visual effects
1786
+
1787
+ **Quality Assurance:**
1788
+
1789
+ 1. Automated testing execution
1790
+ 2. Internal playtesting
1791
+ 3. Performance validation
1792
+ 4. Bug fixing and polish
1793
+ - id: integration-phase
1794
+ title: Integration Phase
1795
+ template: |
1796
+ **Game Integration:**
1797
+
1798
+ 1. Level progression integration
1799
+ 2. Save system compatibility
1800
+ 3. Analytics integration
1801
+ 4. Achievement system integration
1802
+
1803
+ **Final Validation:**
1804
+
1805
+ 1. Full game context testing
1806
+ 2. Performance regression testing
1807
+ 3. Platform compatibility verification
1808
+ 4. Final approval and release
1809
+
1810
+ - id: success-metrics
1811
+ title: Success Metrics
1812
+ instruction: Define how to measure level design success
1813
+ sections:
1814
+ - id: player-engagement
1815
+ title: Player Engagement
1816
+ type: bullet-list
1817
+ template: |
1818
+ - Level completion rate: {{target_rate}}%
1819
+ - Replay rate: {{replay_target}}%
1820
+ - Time spent per level: {{engagement_time}}
1821
+ - Player satisfaction scores: {{satisfaction_target}}/10
1822
+ - id: technical-performance
1823
+ title: Technical Performance
1824
+ type: bullet-list
1825
+ template: |
1826
+ - Frame rate consistency: {{fps_consistency}}%
1827
+ - Loading time compliance: {{load_compliance}}%
1828
+ - Memory usage efficiency: {{memory_efficiency}}%
1829
+ - Crash rate: <{{crash_threshold}}%
1830
+ - id: design-quality
1831
+ title: Design Quality
1832
+ type: bullet-list
1833
+ template: |
1834
+ - Difficulty curve adherence: {{curve_accuracy}}
1835
+ - Mechanic integration effectiveness: {{integration_score}}
1836
+ - Player guidance clarity: {{guidance_score}}
1837
+ - Content accessibility: {{accessibility_rate}}%
1838
+ ==================== END: .bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml ====================
1839
+
1840
+ ==================== START: .bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml ====================
1841
+ template:
1842
+ id: game-brief-template-v2
1843
+ name: Game Brief
1844
+ version: 2.0
1845
+ output:
1846
+ format: markdown
1847
+ filename: "docs/{{game_name}}-game-brief.md"
1848
+ title: "{{game_title}} Game Brief"
1849
+
1850
+ workflow:
1851
+ mode: interactive
1852
+
1853
+ sections:
1854
+ - id: initial-setup
1855
+ instruction: |
1856
+ This template creates a comprehensive game brief that serves as the foundation for all subsequent game development work. The brief should capture the essential vision, scope, and requirements needed to create a detailed Game Design Document.
1857
+
1858
+ This brief is typically created early in the ideation process, often after brainstorming sessions, to crystallize the game concept before moving into detailed design.
1859
+
1860
+ - id: game-vision
1861
+ title: Game Vision
1862
+ instruction: Establish the core vision and identity of the game. Present each subsection and gather user feedback before proceeding.
1863
+ sections:
1864
+ - id: core-concept
1865
+ title: Core Concept
1866
+ instruction: 2-3 sentences that clearly capture what the game is and why it will be compelling to players
1867
+ - id: elevator-pitch
1868
+ title: Elevator Pitch
1869
+ instruction: Single sentence that captures the essence of the game in a memorable way
1870
+ template: |
1871
+ **"{{game_description_in_one_sentence}}"**
1872
+ - id: vision-statement
1873
+ title: Vision Statement
1874
+ instruction: Inspirational statement about what the game will achieve for players and why it matters
1875
+
1876
+ - id: target-market
1877
+ title: Target Market
1878
+ instruction: Define the audience and market context. Apply `tasks#advanced-elicitation` after presenting this section.
1879
+ sections:
1880
+ - id: primary-audience
1881
+ title: Primary Audience
1882
+ template: |
1883
+ **Demographics:** {{age_range}}, {{platform_preference}}, {{gaming_experience}}
1884
+ **Psychographics:** {{interests}}, {{motivations}}, {{play_patterns}}
1885
+ **Gaming Preferences:** {{preferred_genres}}, {{session_length}}, {{difficulty_preference}}
1886
+ - id: secondary-audiences
1887
+ title: Secondary Audiences
1888
+ template: |
1889
+ **Audience 2:** {{description}}
1890
+ **Audience 3:** {{description}}
1891
+ - id: market-context
1892
+ title: Market Context
1893
+ template: |
1894
+ **Genre:** {{primary_genre}} / {{secondary_genre}}
1895
+ **Platform Strategy:** {{platform_focus}}
1896
+ **Competitive Positioning:** {{differentiation_statement}}
1897
+
1898
+ - id: game-fundamentals
1899
+ title: Game Fundamentals
1900
+ instruction: Define the core gameplay elements. Each subsection should be specific enough to guide detailed design work.
1901
+ sections:
1902
+ - id: core-gameplay-pillars
1903
+ title: Core Gameplay Pillars
1904
+ instruction: 3-5 fundamental principles that guide all design decisions
1905
+ type: numbered-list
1906
+ template: |
1907
+ **{{pillar_name}}** - {{description_and_rationale}}
1908
+ - id: primary-mechanics
1909
+ title: Primary Mechanics
1910
+ instruction: List the 3-5 most important gameplay mechanics that define the player experience
1911
+ repeatable: true
1912
+ template: |
1913
+ **Core Mechanic: {{mechanic_name}}**
1914
+
1915
+ - **Description:** {{how_it_works}}
1916
+ - **Player Value:** {{why_its_fun}}
1917
+ - **Implementation Scope:** {{complexity_estimate}}
1918
+ - id: player-experience-goals
1919
+ title: Player Experience Goals
1920
+ instruction: Define what emotions and experiences the game should create for players
1921
+ template: |
1922
+ **Primary Experience:** {{main_emotional_goal}}
1923
+ **Secondary Experiences:** {{supporting_emotional_goals}}
1924
+ **Engagement Pattern:** {{how_player_engagement_evolves}}
1925
+
1926
+ - id: scope-constraints
1927
+ title: Scope and Constraints
1928
+ instruction: Define the boundaries and limitations that will shape development. Apply `tasks#advanced-elicitation` to clarify any constraints.
1929
+ sections:
1930
+ - id: project-scope
1931
+ title: Project Scope
1932
+ template: |
1933
+ **Game Length:** {{estimated_content_hours}}
1934
+ **Content Volume:** {{levels_areas_content_amount}}
1935
+ **Feature Complexity:** {{simple|moderate|complex}}
1936
+ **Scope Comparison:** "Similar to {{reference_game}} but with {{key_differences}}"
1937
+ - id: technical-constraints
1938
+ title: Technical Constraints
1939
+ template: |
1940
+ **Platform Requirements:**
1941
+
1942
+ - Primary: {{platform_1}} - {{requirements}}
1943
+ - Secondary: {{platform_2}} - {{requirements}}
1944
+
1945
+ **Technical Specifications:**
1946
+
1947
+ - Engine: Phaser 3 + TypeScript
1948
+ - Performance Target: {{fps_target}} FPS on {{target_device}}
1949
+ - Memory Budget: <{{memory_limit}}MB
1950
+ - Load Time Goal: <{{load_time_seconds}}s
1951
+ - id: resource-constraints
1952
+ title: Resource Constraints
1953
+ template: |
1954
+ **Team Size:** {{team_composition}}
1955
+ **Timeline:** {{development_duration}}
1956
+ **Budget Considerations:** {{budget_constraints_or_targets}}
1957
+ **Asset Requirements:** {{art_audio_content_needs}}
1958
+ - id: business-constraints
1959
+ title: Business Constraints
1960
+ condition: has_business_goals
1961
+ template: |
1962
+ **Monetization Model:** {{free|premium|freemium|subscription}}
1963
+ **Revenue Goals:** {{revenue_targets_if_applicable}}
1964
+ **Platform Requirements:** {{store_certification_needs}}
1965
+ **Launch Timeline:** {{target_launch_window}}
1966
+
1967
+ - id: reference-framework
1968
+ title: Reference Framework
1969
+ instruction: Provide context through references and competitive analysis
1970
+ sections:
1971
+ - id: inspiration-games
1972
+ title: Inspiration Games
1973
+ sections:
1974
+ - id: primary-references
1975
+ title: Primary References
1976
+ type: numbered-list
1977
+ repeatable: true
1978
+ template: |
1979
+ **{{reference_game}}** - {{what_we_learn_from_it}}
1980
+ - id: competitive-analysis
1981
+ title: Competitive Analysis
1982
+ template: |
1983
+ **Direct Competitors:**
1984
+
1985
+ - {{competitor_1}}: {{strengths_and_weaknesses}}
1986
+ - {{competitor_2}}: {{strengths_and_weaknesses}}
1987
+
1988
+ **Differentiation Strategy:**
1989
+ {{how_we_differ_and_why_thats_valuable}}
1990
+ - id: market-opportunity
1991
+ title: Market Opportunity
1992
+ template: |
1993
+ **Market Gap:** {{underserved_need_or_opportunity}}
1994
+ **Timing Factors:** {{why_now_is_the_right_time}}
1995
+ **Success Metrics:** {{how_well_measure_success}}
1996
+
1997
+ - id: content-framework
1998
+ title: Content Framework
1999
+ instruction: Outline the content structure and progression without full design detail
2000
+ sections:
2001
+ - id: game-structure
2002
+ title: Game Structure
2003
+ template: |
2004
+ **Overall Flow:** {{linear|hub_world|open_world|procedural}}
2005
+ **Progression Model:** {{how_players_advance}}
2006
+ **Session Structure:** {{typical_play_session_flow}}
2007
+ - id: content-categories
2008
+ title: Content Categories
2009
+ template: |
2010
+ **Core Content:**
2011
+
2012
+ - {{content_type_1}}: {{quantity_and_description}}
2013
+ - {{content_type_2}}: {{quantity_and_description}}
2014
+
2015
+ **Optional Content:**
2016
+
2017
+ - {{optional_content_type}}: {{quantity_and_description}}
2018
+
2019
+ **Replay Elements:**
2020
+
2021
+ - {{replayability_features}}
2022
+ - id: difficulty-accessibility
2023
+ title: Difficulty and Accessibility
2024
+ template: |
2025
+ **Difficulty Approach:** {{how_challenge_is_structured}}
2026
+ **Accessibility Features:** {{planned_accessibility_support}}
2027
+ **Skill Requirements:** {{what_skills_players_need}}
2028
+
2029
+ - id: art-audio-direction
2030
+ title: Art and Audio Direction
2031
+ instruction: Establish the aesthetic vision that will guide asset creation
2032
+ sections:
2033
+ - id: visual-style
2034
+ title: Visual Style
2035
+ template: |
2036
+ **Art Direction:** {{style_description}}
2037
+ **Reference Materials:** {{visual_inspiration_sources}}
2038
+ **Technical Approach:** {{2d_style_pixel_vector_etc}}
2039
+ **Color Strategy:** {{color_palette_mood}}
2040
+ - id: audio-direction
2041
+ title: Audio Direction
2042
+ template: |
2043
+ **Music Style:** {{genre_and_mood}}
2044
+ **Sound Design:** {{audio_personality}}
2045
+ **Implementation Needs:** {{technical_audio_requirements}}
2046
+ - id: ui-ux-approach
2047
+ title: UI/UX Approach
2048
+ template: |
2049
+ **Interface Style:** {{ui_aesthetic}}
2050
+ **User Experience Goals:** {{ux_priorities}}
2051
+ **Platform Adaptations:** {{cross_platform_considerations}}
2052
+
2053
+ - id: risk-assessment
2054
+ title: Risk Assessment
2055
+ instruction: Identify potential challenges and mitigation strategies
2056
+ sections:
2057
+ - id: technical-risks
2058
+ title: Technical Risks
2059
+ type: table
2060
+ template: |
2061
+ | Risk | Probability | Impact | Mitigation Strategy |
2062
+ | ---- | ----------- | ------ | ------------------- |
2063
+ | {{technical_risk}} | {{high|med|low}} | {{high|med|low}} | {{mitigation_approach}} |
2064
+ - id: design-risks
2065
+ title: Design Risks
2066
+ type: table
2067
+ template: |
2068
+ | Risk | Probability | Impact | Mitigation Strategy |
2069
+ | ---- | ----------- | ------ | ------------------- |
2070
+ | {{design_risk}} | {{high|med|low}} | {{high|med|low}} | {{mitigation_approach}} |
2071
+ - id: market-risks
2072
+ title: Market Risks
2073
+ type: table
2074
+ template: |
2075
+ | Risk | Probability | Impact | Mitigation Strategy |
2076
+ | ---- | ----------- | ------ | ------------------- |
2077
+ | {{market_risk}} | {{high|med|low}} | {{high|med|low}} | {{mitigation_approach}} |
2078
+
2079
+ - id: success-criteria
2080
+ title: Success Criteria
2081
+ instruction: Define measurable goals for the project
2082
+ sections:
2083
+ - id: player-experience-metrics
2084
+ title: Player Experience Metrics
2085
+ template: |
2086
+ **Engagement Goals:**
2087
+
2088
+ - Tutorial completion rate: >{{percentage}}%
2089
+ - Average session length: {{duration}} minutes
2090
+ - Player retention: D1 {{d1}}%, D7 {{d7}}%, D30 {{d30}}%
2091
+
2092
+ **Quality Benchmarks:**
2093
+
2094
+ - Player satisfaction: >{{rating}}/10
2095
+ - Completion rate: >{{percentage}}%
2096
+ - Technical performance: {{fps_target}} FPS consistent
2097
+ - id: development-metrics
2098
+ title: Development Metrics
2099
+ template: |
2100
+ **Technical Targets:**
2101
+
2102
+ - Zero critical bugs at launch
2103
+ - Performance targets met on all platforms
2104
+ - Load times under {{seconds}}s
2105
+
2106
+ **Process Goals:**
2107
+
2108
+ - Development timeline adherence
2109
+ - Feature scope completion
2110
+ - Quality assurance standards
2111
+ - id: business-metrics
2112
+ title: Business Metrics
2113
+ condition: has_business_goals
2114
+ template: |
2115
+ **Commercial Goals:**
2116
+
2117
+ - {{revenue_target}} in first {{time_period}}
2118
+ - {{user_acquisition_target}} players in first {{time_period}}
2119
+ - {{retention_target}} monthly active users
2120
+
2121
+ - id: next-steps
2122
+ title: Next Steps
2123
+ instruction: Define immediate actions following the brief completion
2124
+ sections:
2125
+ - id: immediate-actions
2126
+ title: Immediate Actions
2127
+ type: numbered-list
2128
+ template: |
2129
+ **{{action_item}}** - {{details_and_timeline}}
2130
+ - id: development-roadmap
2131
+ title: Development Roadmap
2132
+ sections:
2133
+ - id: phase-1-preproduction
2134
+ title: "Phase 1: Pre-Production ({{duration}})"
2135
+ type: bullet-list
2136
+ template: |
2137
+ - Detailed Game Design Document creation
2138
+ - Technical architecture planning
2139
+ - Art style exploration and pipeline setup
2140
+ - id: phase-2-prototype
2141
+ title: "Phase 2: Prototype ({{duration}})"
2142
+ type: bullet-list
2143
+ template: |
2144
+ - Core mechanic implementation
2145
+ - Technical proof of concept
2146
+ - Initial playtesting and iteration
2147
+ - id: phase-3-production
2148
+ title: "Phase 3: Production ({{duration}})"
2149
+ type: bullet-list
2150
+ template: |
2151
+ - Full feature development
2152
+ - Content creation and integration
2153
+ - Comprehensive testing and optimization
2154
+ - id: documentation-pipeline
2155
+ title: Documentation Pipeline
2156
+ sections:
2157
+ - id: required-documents
2158
+ title: Required Documents
2159
+ type: numbered-list
2160
+ template: |
2161
+ Game Design Document (GDD) - {{target_completion}}
2162
+ Technical Architecture Document - {{target_completion}}
2163
+ Art Style Guide - {{target_completion}}
2164
+ Production Plan - {{target_completion}}
2165
+ - id: validation-plan
2166
+ title: Validation Plan
2167
+ template: |
2168
+ **Concept Testing:**
2169
+
2170
+ - {{validation_method_1}} - {{timeline}}
2171
+ - {{validation_method_2}} - {{timeline}}
2172
+
2173
+ **Prototype Testing:**
2174
+
2175
+ - {{testing_approach}} - {{timeline}}
2176
+ - {{feedback_collection_method}} - {{timeline}}
2177
+
2178
+ - id: appendices
2179
+ title: Appendices
2180
+ sections:
2181
+ - id: research-materials
2182
+ title: Research Materials
2183
+ instruction: Include any supporting research, competitive analysis, or market data that informed the brief
2184
+ - id: brainstorming-notes
2185
+ title: Brainstorming Session Notes
2186
+ instruction: Reference any brainstorming sessions that led to this brief
2187
+ - id: stakeholder-input
2188
+ title: Stakeholder Input
2189
+ instruction: Include key input from stakeholders that shaped the vision
2190
+ - id: change-log
2191
+ title: Change Log
2192
+ instruction: Track document versions and changes
2193
+ type: table
2194
+ template: |
2195
+ | Date | Version | Description | Author |
2196
+ | :--- | :------ | :---------- | :----- |
2197
+ ==================== END: .bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml ====================
2198
+
2199
+ ==================== START: .bmad-2d-phaser-game-dev/checklists/game-design-checklist.md ====================
2177
2200
  # Game Design Document Quality Checklist
2178
2201
 
2179
2202
  ## Document Completeness
@@ -2375,4 +2398,4 @@ _List any critical items that need attention before moving to implementation pha
2375
2398
 
2376
2399
  **Next Steps:**
2377
2400
  _Outline immediate next actions for the team based on this assessment._
2378
- ==================== END: checklists#game-design-checklist ====================
2401
+ ==================== END: .bmad-2d-phaser-game-dev/checklists/game-design-checklist.md ====================