Sub topic 10
Showing the Player What a Verb Can Do
This chapter assumes you can already specify a verb with a precondition, a cost, and an outcome, and that you know what a verb-object table is. Here we deal with a different problem. A verb can be well designed and still fail, because the player never learns that it exists, when it is available, or what it did. Two ideas cover this: affordance and feedback.
Affordance: what the player believes is possible
An affordance is a property of an object or situation that suggests an action. A ledge suggests "jump up". A handle suggests "pull". A crate with a rope suggests "grab". In game design the important part is the player's perception. If the action is possible but nothing suggests it, the affordance is hidden. If something suggests an action that the game does not support, the affordance is false.
Both failures cost the player trust. A hidden affordance means a verb goes unused, and the audit later reads that as a redundant verb when the real fault is communication. A false affordance means the player tries something, nothing happens, and they stop trusting the visuals.
| Situation | What the player perceives | Result |
|---|---|---|
| Climbable wall that looks like scenery | Nothing to do | Hidden affordance, verb never used |
| Decorative crate that looks like a pushable one | "I can grab this" | False affordance, wasted attempts |
| Lever with a highlight and a glow | "I can pull this" | Clear affordance |
| Lever the player cannot pull yet because of a locked door | "I can pull this", then nothing happens | Needs feedback about why |
The last row shows why affordance alone is not enough. The player can correctly perceive a possible action, try it, and fail because a precondition is not met. Feedback has to cover that case too.
Three moments that need a signal
A verb has three moments where the player needs information. Treating them separately helps you find gaps.
- Before the action: can I do this here? This is the affordance and availability signal. Examples are a prompt over a lever, a highlighted ledge, or a greyed-out button when stamina is too low.
- During the action: is it happening? This is acknowledgement. The character animation starts, a sound plays, a bar begins to drain.
- After the action: what happened? This is the outcome signal. The crate lands, the lever clicks, the door opens, or a clear message says nothing happened and why.
Connecting signals to the verb specification
You already write a precondition, cost, cooldown, and outcome for each verb. Each of those parts maps to something the player should be able to see or hear.
| Specification part | What to show | Example signal |
|---|---|---|
| Precondition (target in range, correct object) | The verb is available here | Prompt appears, target outline highlights |
| Resource cost | What it will use and what remains | Stamina bar preview, cost flash on use |
| Cooldown | When it comes back | Radial timer on the icon, icon dims then brightens |
| Outcome | What changed | Animation, sound, object state change |
| Failure reason | Why it did not work | Icon shake plus a short label such as "Not enough stamina" |
Notice that a cooldown with no visible timer is a hidden constraint. The player experiences it as the verb sometimes working and sometimes not, which feels random. The same holds for a resource cost the player cannot read.
The following code makes this concrete. It extends the can_use idea from the previous chapter so that it returns a reason instead of only a yes or no. The interface can then pick the right message.
from dataclasses import dataclass
@dataclass(frozen=True)
class Verb:
name: str
stamina_cost: int
cooldown: float # seconds
def check_use(verb, stamina, now, last_used):
"""Return (ok, reason). reason is None when ok is True."""
last = last_used.get(verb.name, float("-inf"))
remaining = verb.cooldown - (now - last)
if remaining > 0:
return False, f"cooldown {remaining:.1f}s"
if stamina < verb.stamina_cost:
missing = verb.stamina_cost - stamina
return False, f"need {missing} more stamina"
return True, None
throw = Verb("throw", 15, 1.0)
print(check_use(throw, 20, 5.0, {"throw": 4.5})) # (False, 'cooldown 0.5s')
print(check_use(throw, 10, 6.0, {"throw": 4.5})) # (False, 'need 5 more stamina')
print(check_use(throw, 20, 6.0, {"throw": 4.5})) # (True, None)The order of the checks matters for feedback. If both conditions fail, the function reports the cooldown first. Pick an order that reports the problem the player can least control last, or the one that will clear soonest first, and keep it consistent so the same situation always gives the same message.
Feedback properties that make a signal useful
Feedback can exist and still be poor. Check each signal against these properties.
- Immediate. The response should arrive within a fraction of a second of the input. Delay makes the player doubt whether the input registered and triggers repeated presses.
- Proportional. A small action gets a small signal and a major action gets a large one. If every verb produces the same flash, the player cannot tell outcomes apart.
- Distinct. Different outcomes need different signals. Success, failure, and blocked-by-cost should not share one sound.
- Redundant across channels. Combine at least two of visual, audio, and haptic cues for important outcomes. This helps players in noisy rooms, players with reduced vision or hearing, and players whose attention is elsewhere on screen.
- Located at the point of attention. Put the signal where the player is already looking, usually the character or the target, not only in a corner of the interface.
Redundancy deserves a note about color. If the only difference between "available" and "unavailable" is red versus green, players with color-vision deficiency may not see it. Add a shape, an icon change, or a brightness difference.
Diegetic and non-diegetic signals
A diegetic signal exists in the game world: a character's weary breathing at low stamina, a lever that visibly clicks, a ledge with worn chalk marks. A non-diegetic signal exists only for the player: a stamina bar, a button prompt, a cooldown ring.
Neither is better in every case. Diegetic signals protect immersion but are less precise, so they suit affordances and soft states. Non-diegetic signals are exact and fast to read, so they suit numeric costs and cooldowns where the player needs to plan. Many games combine them: the world suggests the action, and a small prompt confirms it when the player is in range.
The diagram below summarizes the flow from a player's input to the signal they should receive.
Common errors
- Prompts that appear for every object. If everything shows a prompt, the prompts stop meaning "this is interesting". Reserve strong highlights for objects where a verb has a real outcome, and use weaker cues for marginal ones.
- Inconsistent visual language. If yellow paint means "climbable" in one level and "dangerous" in another, the player cannot build a rule. Pick one cue per affordance and keep it.
- Feedback that lies. A hit sound on a miss, or a "success" animation when the game applied no effect, teaches the wrong model of the verb.
- Too much feedback. Screen shake, flash, and loud sound on every minor action tire the player and hide the important signals. Save the strongest feedback for the most consequential outcomes.
- Hiding information the player needs to plan. If a cost matters to a decision, show it before the choice, not only after it.
Testing signals
You can check signals with a short playtest, and the results feed the audit covered later in the tutorial. Watch for these behaviors:
- The player walks past a usable target without trying a verb. This points to a hidden affordance.
- The player repeatedly tries a verb on something that does not respond. This points to a false affordance or a missing failure signal.
- The player presses a button several times in quick succession. This points to delayed or missing acknowledgement.
- The player asks "why didn't that work?" This points to a missing failure reason.
Do not explain the game to the tester during the session. If you have to explain, the signal is missing, and that is the finding.
Exercise
A player stands next to a lever and presses the grab button. Nothing happens and no message appears. The lever is correctly highlighted, and the game ignores the press because a door elsewhere in the level must be unlocked first. Name which of the three signal moments is missing, and write the feedback you would add.
Show answer
The missing moment is the outcome signal after a failed action. The affordance cue is correct, so the player rightly believes the lever can be pulled. Add a distinct failure signal at the lever with a reason, for example the lever jiggles and a short label reads "Jammed. Something is blocking it." The reason should be consistent with the game's other failure messages, and the sound should differ from the success click.
Exercise
Using the check_use function, what does check_use(Verb("grab", 5, 0.5), 3, 10.0, {"grab": 9.8}) return, and which message would the player see?
Show answer
It returns (False, 'cooldown 0.3s'). The time since last use is 0.2 seconds, so 0.3 seconds of cooldown remain, and the cooldown check runs before the stamina check. The stamina shortfall (needs 2 more) is hidden until the cooldown ends, so the player may then see a second failure. If that sequence feels frustrating, report both reasons together.