Sub topic 1
What a Feature Spec Is For
A feature spec is a written document that describes one game feature well enough for the team to build and test it. It turns a design idea into shared terms that designers, engineers, artists, audio staff, and QA can all work from.
Prerequisites
This chapter assumes you know how a game team is organized, have played and analyzed games, and have worked in sprints or milestones. You do not need to have written a spec before.
Who reads the spec and what it covers
Several roles read the spec, and each one looks for different answers:
- Engineers need exact rules and inputs so they can write code.
- Artists and animators need to know which states and animations to produce.
- QA needs observable behavior to test against.
- Producers need scope and dependencies to plan the schedule.
A spec covers one feature, such as a dash ability or an inventory screen. It does not describe the whole game.
Stating the design intent
Open the spec with a design intent statement. It names the player experience the feature should create and the way you will judge success. For example: "Give the player a short burst of movement to avoid attacks and cross gaps, so movement feels responsive." A good intent statement lets a reader decide whether a proposed change fits the feature.
A template you can reuse
Use the same sections in every spec so readers know where to look:
# Feature: Dash
## Design intent
Short burst of movement that feels responsive and skillful.
## Scope
In: ground dash. Out: dash attacks.
## Rules
1. Pressing Dash starts a dash in the movement direction.
2. With no movement input, the dash uses the facing direction.
## Acceptance criteria
See the scenarios below.
## Open questions
- Can the player dash while carrying an object?Writing mechanics and rules clearly
Write each rule as one numbered statement with one observable outcome. Avoid words such as "usually" or "should feel." Replace them with a condition and a result: "If the player is on the ground and the cooldown is over, pressing Dash starts a dash." Keep numbers such as speed and duration out of the rule text. Put them in a separate tuning file so designers can change them without editing the rules.
> Keep each rule testable. If QA cannot check a rule by playing the game, rewrite it.
Exercise
Why should a rule say "pressing Dash starts a dash in the movement direction" instead of "the dash should feel responsive"?
Show answer
The first version states a condition and an observable result that QA can test by playing the game. The second describes a feeling that two testers can judge differently.