Sub topic 4
A Template You Can Reuse
This chapter assumes you understand the basic roles of game design, engineering, art, audio, and QA. It also assumes you have seen a feature move through a production cycle such as planning, implementation, testing, and review.
A feature specification, or feature spec, is a shared document that explains what a game feature should do and how the team will know it works. A reusable template keeps important information in predictable places. Readers can find the rules, dependencies, and test conditions without learning a new document structure for every feature.
The core sections
Use these sections for most gameplay features:
| Section | Main question |
|---|---|
| Status and ownership | Who maintains this document, and what stage is it in? |
| Design intent | What player experience should the feature create? |
| Scope | What is included, and what is excluded? |
| Rules | What must the game do? |
| States and edge cases | What happens during unusual conditions? |
| Tuning values | Which numbers can designers adjust? |
| Dependencies and content | What must other disciplines provide? |
| Acceptance criteria | What observable results prove the feature works? |
| Open questions | Which decisions remain unresolved? |
The sections do not all need equal length. A simple sound cue may need only a few rules. A movement ability may need detailed state behavior and many acceptance criteria.
A practical template
Copy this structure into a new document, then remove sections that do not apply:
# Feature: Dash
## Status
Draft | Owner: Gameplay Design | Reviewers: Engineering, Animation, QA
## Design intent
Give the player a short burst of movement to avoid attacks and cross gaps,
so that movement feels responsive and skillful.
## Scope
In: ground dash, air dash (one per jump).
Out: dash attacks, upgrades.
## Rules
1. Pressing Dash starts a dash in the movement-input direction.
2. With no movement input, the dash uses the facing direction.
3. The player cannot dash while the cooldown is active.
## States and edge cases
- Available: the player can start a dash.
- Active: the player moves at dash speed.
- Cooldown: the player cannot start another dash.
- Dashing into a wall ends the dash immediately.
- Taking damage during a dash cancels the dash.
## Tuning values
See dash_tuning.yaml.
## Dependencies and content
- Animation: dash start, loop, and end animations.
- Audio: dash start and impact sounds.
- UI: optional cooldown indicator.
## Acceptance criteria
See the Given/When/Then scenarios below.
## Open questions
- Can the player dash while carrying an object?The template separates the feature’s purpose from its implementation details. It also distinguishes rules from tuning. “The dash ends when it hits a wall” is a rule. “The dash speed is 18 units per second” is a tuning value. Keeping those apart lets the team adjust feel without rewriting the behavior contract.
Connect sections in a review
A good spec tells one connected story:
During review, ask whether each rule supports the design intent. Then ask whether every important rule has an acceptance criterion. If a section cannot be verified or assigned, it may be too vague.
> callout note > Write for the next person who must build or test the feature. If a reader has to infer a rule from a mood description, the spec needs more detail.
Common template errors
- Mixing requirements with suggestions, so the team cannot tell what is mandatory.
- Listing a number without its unit, such as “duration: 0.2.”
- Hiding exclusions, which allows out-of-scope work to grow silently.
- Writing “make it feel good” instead of describing observable behavior.
- Leaving ownership and open questions blank.
Exercise
Where should “the dash lasts 0.2 seconds” go, and where should “the dash ends when the player takes damage” go?
Show answer
The duration belongs under Tuning values. The damage behavior belongs under Rules or States and edge cases because it defines required behavior.