@opengamehq/cli 0.0.0-stage → 0.4.0
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.
- package/AGENTS.md +235 -0
- package/CHANGELOG.md +9 -0
- package/README.md +128 -2
- package/dist/cli.mjs +1415 -0
- package/dist/opengame-global.js +3 -0
- package/dist/opengame-global.js.LEGAL.txt +1 -0
- package/dist/preflight-worker.mjs +13 -0
- package/dist/runtime-builder.mjs +800 -0
- package/dist/runtime-catalog.json +1 -0
- package/dist/runtime-catalog.sha256 +1 -0
- package/dist/runtime-shells/runtime-shell.html +4 -0
- package/dist/runtime-shells/runtime-shell.js +91 -0
- package/dist/safe-fs.py +242 -0
- package/dist/skills/manifest.json +512 -0
- package/dist/skills/opengame-accessibility/SKILL.md +90 -0
- package/dist/skills/opengame-api/SKILL.md +85 -0
- package/dist/skills/opengame-assets/SKILL.md +124 -0
- package/dist/skills/opengame-assets/references/pipeline.md +97 -0
- package/dist/skills/opengame-audio/SKILL.md +154 -0
- package/dist/skills/opengame-audio/helpers/audio-chain.js +325 -0
- package/dist/skills/opengame-audio/references/mix-notes.md +82 -0
- package/dist/skills/opengame-capture/SKILL.md +108 -0
- package/dist/skills/opengame-capture/references/pipeline.md +82 -0
- package/dist/skills/opengame-capture/references/threejs.md +145 -0
- package/dist/skills/opengame-characters/SKILL.md +129 -0
- package/dist/skills/opengame-characters/references/integration.md +144 -0
- package/dist/skills/opengame-characters/references/player-og.md +160 -0
- package/dist/skills/opengame-cli/SKILL.md +118 -0
- package/dist/skills/opengame-deploy/SKILL.md +204 -0
- package/dist/skills/opengame-deploy/references/json-events.md +62 -0
- package/dist/skills/opengame-deploy/references/manifest.md +83 -0
- package/dist/skills/opengame-deploy/references/packaging.md +117 -0
- package/dist/skills/opengame-depth/SKILL.md +130 -0
- package/dist/skills/opengame-enemies/SKILL.md +103 -0
- package/dist/skills/opengame-enemies/references/threejs.md +134 -0
- package/dist/skills/opengame-front-end/SKILL.md +143 -0
- package/dist/skills/opengame-front-end/references/launch.md +50 -0
- package/dist/skills/opengame-front-end/references/menus.md +47 -0
- package/dist/skills/opengame-game-feel/SKILL.md +137 -0
- package/dist/skills/opengame-game-feel/helpers/spring.js +146 -0
- package/dist/skills/opengame-game-feel/references/feel-numbers.md +83 -0
- package/dist/skills/opengame-jam/SKILL.md +103 -0
- package/dist/skills/opengame-lighting/SKILL.md +94 -0
- package/dist/skills/opengame-lighting/helpers/light-pool.js +185 -0
- package/dist/skills/opengame-loading/SKILL.md +99 -0
- package/dist/skills/opengame-loading/references/threejs.md +116 -0
- package/dist/skills/opengame-look/SKILL.md +114 -0
- package/dist/skills/opengame-look/references/post-and-lens.md +66 -0
- package/dist/skills/opengame-mobile/SKILL.md +90 -0
- package/dist/skills/opengame-performance/SKILL.md +140 -0
- package/dist/skills/opengame-performance/references/measuring.md +72 -0
- package/dist/skills/opengame-production/SKILL.md +131 -0
- package/dist/skills/opengame-production/references/templates.md +63 -0
- package/dist/skills/opengame-quality-bar/SKILL.md +122 -0
- package/dist/skills/opengame-quality-bar/references/cheap-tells.md +36 -0
- package/dist/skills/opengame-quality-bar/references/review-prompt.md +27 -0
- package/dist/skills/opengame-router/SKILL.md +51 -0
- package/dist/skills/opengame-router/references/process.md +38 -0
- package/dist/skills/opengame-scene-audit/SKILL.md +123 -0
- package/dist/skills/opengame-scene-audit/helpers/scene-audit.js +599 -0
- package/dist/skills/opengame-sdk/SKILL.md +254 -0
- package/dist/skills/opengame-sdk/references/engines.md +93 -0
- package/dist/skills/opengame-sdk/references/frame.md +107 -0
- package/dist/skills/opengame-sdk/references/identity.md +112 -0
- package/dist/skills/opengame-sdk/references/leaderboards.md +83 -0
- package/dist/skills/opengame-stability/SKILL.md +84 -0
- package/dist/skills/opengame-verification/SKILL.md +136 -0
- package/dist/skills/opengame-verification/helpers/browser-evidence.mjs +74 -0
- package/dist/skills/opengame-weapons/SKILL.md +109 -0
- package/dist/skills/opengame-weapons/references/handling-numbers.md +72 -0
- package/dist/skills/opengame-weapons/references/threejs.md +169 -0
- package/dist/skills/opengame-world-physics/SKILL.md +114 -0
- package/dist/skills/opengame-world-physics/references/measured-failures.md +52 -0
- package/package.json +38 -4
|
@@ -0,0 +1,512 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": 1,
|
|
3
|
+
"limitsVersion": "2026-10",
|
|
4
|
+
"skills": [
|
|
5
|
+
{
|
|
6
|
+
"name": "opengame-accessibility",
|
|
7
|
+
"family": "craft",
|
|
8
|
+
"default": false,
|
|
9
|
+
"description": "Make a browser game playable by more people. Covers a controller that reaches every screen, remapping, sensitivity and field of view, subtitles and visual sound cues, colour never the only signal, limited flashes, reduced motion, keyboard menus and options proven in play. Use when the person asks about accessibility, gamepad support, colourblind modes, subtitles, remapping keys, motion sickness, photosensitivity, or menus that work with a keyboard or screen reader.",
|
|
10
|
+
"version": "1.0.0",
|
|
11
|
+
"files": [
|
|
12
|
+
{
|
|
13
|
+
"path": "SKILL.md",
|
|
14
|
+
"sha256": "d06f2b59fe4b9b9935cdb65748c33dcff72ddd4eb4d66a4594b85c3675c69ad3"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"digest": "4931cf078438d687d0a3009a113906d6fc8d05ccdf13f93a6bb431f37e8854df"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "opengame-api",
|
|
21
|
+
"family": "platform",
|
|
22
|
+
"default": false,
|
|
23
|
+
"description": "Call the OpenGame creator API directly over HTTPS. Covers the base URL, creator tokens and scopes, the OpenAPI document, the error shape and retry fields, deploying without the CLI, and checking whether OpenGame is open. Use when the person wants to deploy from their own tool or CI without the CLI, asks about the OpenGame REST API, api/v1, openapi.json or a creator token, or an API call returned an error code you need to read.",
|
|
24
|
+
"version": "1.0.3",
|
|
25
|
+
"files": [
|
|
26
|
+
{
|
|
27
|
+
"path": "SKILL.md",
|
|
28
|
+
"sha256": "b3c5ab917a1a3ef407894c632b2bfcc3861513f6b35c8fb1257913b802b790d7"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"digest": "e19ed80c5de057ae76a51e0b0dbb2f1622ad6e3097fe8a62b87f538b4ad65491"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "opengame-assets",
|
|
35
|
+
"family": "craft",
|
|
36
|
+
"default": false,
|
|
37
|
+
"description": "Generate and import a browser game's models, textures, sounds and menu films so they match, load and look right. Covers content over tuning with scanned CC0 materials, an import lint for scale, axes, origin, material defaults, packed channels and normals, deduplicated textures, spend caps per provider, every asset seen in game, and paid jobs bought once. Use when the person says generate models, use Meshy, ElevenLabs or fal, assets look black or chrome, or downloads are big.",
|
|
38
|
+
"version": "1.0.0",
|
|
39
|
+
"files": [
|
|
40
|
+
{
|
|
41
|
+
"path": "SKILL.md",
|
|
42
|
+
"sha256": "702c9518fb74da1e49941684208ea093a512f817e4d0ac0e60271b427f5828df"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "references/pipeline.md",
|
|
46
|
+
"sha256": "0ef8731570bd85f7bddebe1348e090fea4e81351a94c1167c1fc68476c88259f"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"digest": "6d31412517a0b72c07882981a7ce5384c4d8d71e02bb5b04655a063f2f6965c6"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "opengame-audio",
|
|
53
|
+
"family": "craft",
|
|
54
|
+
"default": false,
|
|
55
|
+
"description": "Make a browser game sound finished. Covers sound from the first press, a check that the shipped build plays sound on every device, listening before shipping, harshness and loudness gates, a distance model that keeps far sounds audible, voice priority, reload sounds on the beat, a master chain, buses and shuffled takes. Use when the person says the game is silent, silent on iPhone, sounds cheap, harsh or thin, clips, gets muddy in fights, repeats sounds, or needs music or sound effects.",
|
|
56
|
+
"version": "1.0.0",
|
|
57
|
+
"files": [
|
|
58
|
+
{
|
|
59
|
+
"path": "SKILL.md",
|
|
60
|
+
"sha256": "b8c8c4f2473ae3d5a766ea5714f47900e3ed5df77411f5f399b615930fa95709"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "helpers/audio-chain.js",
|
|
64
|
+
"sha256": "48d684f74671c78819cd0d5f2478c64f4a9676ca9a070b0e4fce329f93eae604"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"path": "references/mix-notes.md",
|
|
68
|
+
"sha256": "4c0b89f870ba78db455896fadb4b93280f76e95853aa7c999f868198729b1d60"
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"digest": "ebeac4b9fa1bc24a35b9c0a496d409a3619b5b3e6f577d6dd022f39bbd8a3ac9"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "opengame-capture",
|
|
75
|
+
"family": "craft",
|
|
76
|
+
"default": false,
|
|
77
|
+
"description": "Make a browser game filmable and screenshot-testable. Covers a host-stepped clock, one time scale, seeded takes, a director camera whose cuts reset history, a clean feed with HUD masks and mute flags, an awaitable ready state, acknowledged capture requests, a state probe, stepped audio, 4K60 readback from the render surface and hooks kept out of public builds. Use when the person wants a trailer, gameplay footage, slow motion, a photo mode or screenshot tests, or says takes do not repeat.",
|
|
78
|
+
"version": "1.0.0",
|
|
79
|
+
"files": [
|
|
80
|
+
{
|
|
81
|
+
"path": "SKILL.md",
|
|
82
|
+
"sha256": "38ac2fa09557a4178f59556e6f26c0a71abb329b9ebe2c209cdc4074276033b8"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"path": "references/pipeline.md",
|
|
86
|
+
"sha256": "571e421776acbdafd6e9cb8bdddfe089161c1021d49a2f85c6a31e0022d7c431"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"path": "references/threejs.md",
|
|
90
|
+
"sha256": "ed46bad72b6ac67f32d1d8a5e0011c84a369d1723a72681b5cb47120b8aee3c7"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"digest": "04b190443785bc17308b1c0f3dbbe5fc7ceecc023f458b044d70477d0d45390d"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "opengame-characters",
|
|
97
|
+
"family": "craft",
|
|
98
|
+
"default": false,
|
|
99
|
+
"description": "Bring generated or imported 3D characters into a browser game so they hold up in play. Covers skin checks against pinched waists, eased gait choice against third-person jitter, authored locomotion over procedural, thumb-and-mitten hands on the posed gun, canon sheets against drift, instant customisation, gated stages and real grips. Use when the character T-poses, jitters, bends wrong, feet slide, hands clip the gun, it drifts from the art, customising is slow, or a game shows the player's OG.",
|
|
100
|
+
"version": "1.1.0",
|
|
101
|
+
"files": [
|
|
102
|
+
{
|
|
103
|
+
"path": "SKILL.md",
|
|
104
|
+
"sha256": "325ba2dd370929c387d3d50668373ed362c5b82a0141ed4881a87dd1bae1e660"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"path": "references/integration.md",
|
|
108
|
+
"sha256": "e11d18459029e10427b7b252d79ddc493305b5726976169f838d6406b9a32898"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"path": "references/player-og.md",
|
|
112
|
+
"sha256": "3191be6381943a96060d18952be9dc8e52366839dbe6f0b0f8bdba91170d1b68"
|
|
113
|
+
}
|
|
114
|
+
],
|
|
115
|
+
"digest": "c60c349f58483bfa633c40dd721f2d7e38a60394daf73965a161b22e6f768bcd"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "opengame-cli",
|
|
119
|
+
"family": "platform",
|
|
120
|
+
"default": false,
|
|
121
|
+
"description": "Drive the OpenGame command line tool from an agent. Covers installing it, signing in with the person, every command, JSON and JSONL output, exit codes, findings and how to retry. Use when the person mentions the opengame command, the OpenGame CLI, installing @opengamehq/cli, opengame login, check, dev, deploy, status, submit or token, or a command exited with an error you need to read.",
|
|
122
|
+
"version": "1.0.3",
|
|
123
|
+
"files": [
|
|
124
|
+
{
|
|
125
|
+
"path": "SKILL.md",
|
|
126
|
+
"sha256": "e3b374d4cb73343d6ceb7f5704a9fb3611dd63ec5382719a2f7801cfbbe388d8"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"digest": "376fea9a07d97510c9f56debeb8bf1a69f30a35e5ed2103b57599376645e5d64"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "opengame-deploy",
|
|
133
|
+
"family": "platform",
|
|
134
|
+
"default": true,
|
|
135
|
+
"description": "Put a browser game online with OpenGame, the marketplace and game jam for browser games. Packages the game, checks it locally, uploads it to a private preview only the owner can play, reads and fixes findings, then submits one exact release for review. Use when the person says deploy my game, put it online, host it, share it, upload it, publish it, get me a link, make it playable for friends, or asks where to put a browser game or a Three.js game.",
|
|
136
|
+
"version": "1.0.7",
|
|
137
|
+
"files": [
|
|
138
|
+
{
|
|
139
|
+
"path": "SKILL.md",
|
|
140
|
+
"sha256": "b17c61a1a7974bc27ae108adf3ec26c191502a463b3f8a99f311e8ab8b0613e2"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"path": "references/json-events.md",
|
|
144
|
+
"sha256": "a33f6e85010057d66fa2cdc8b656a71f49f63efdfca0d2193ac704fabe53c274"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"path": "references/manifest.md",
|
|
148
|
+
"sha256": "7c048c4060044208ffd9811e502ddbf0837f5d77fab3d56ed15b97cc550efab1"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"path": "references/packaging.md",
|
|
152
|
+
"sha256": "5d173c21c463c2370a803d8985376bb2a33f3239a24c5456dd63f24f1bfdb9b8"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"digest": "ca93f87cd5b8c7bacf7d29dede39ba7d7ebbd10fdd40585cbe1c2ee3f91d40c4"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "opengame-depth",
|
|
159
|
+
"family": "craft",
|
|
160
|
+
"default": false,
|
|
161
|
+
"description": "Give a browser game depth instead of a single verb. Covers proving a natural win exists, boss health sized from real damage, a first goal reachable at spawn, a spawn controller with wave sizes and a cap, rounds that never stall, short defence objectives, a boss goal the player can read, dev staging to any moment of a run, tuned odds, and systems that interact. Use when the person says the game is boring, too hard, rounds drag, it is unclear what to do, or it feels like a tech demo.",
|
|
162
|
+
"version": "1.0.0",
|
|
163
|
+
"files": [
|
|
164
|
+
{
|
|
165
|
+
"path": "SKILL.md",
|
|
166
|
+
"sha256": "6fe198fb0ca9aafb0a30a0897ae57f745b27126fe09b9e7efec9f4efee8cb7d0"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"digest": "c2471c41b07e85b26244612d48bb5aad6cfea268026b6b5e9be17e89801c8f5d"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "opengame-enemies",
|
|
173
|
+
"family": "craft",
|
|
174
|
+
"default": false,
|
|
175
|
+
"description": "Make enemies, hordes, teammates and bosses in a 3D browser game move and fight as designed. Covers a pursuit test that measures reach, jump links for player-built geometry, stuck recovery, no unreachable perches, navigation work budgeted per frame, a counter that matches the screen, teammate metrics, deaths per weapon, and a boss that lives and telegraphs. Use when the person says zombies get stuck, enemies stand around, allies are dumb, the counter is wrong, or the boss feels dead.",
|
|
176
|
+
"version": "1.0.0",
|
|
177
|
+
"files": [
|
|
178
|
+
{
|
|
179
|
+
"path": "SKILL.md",
|
|
180
|
+
"sha256": "aa00a8841cdd7aae0ce04f8b8f1c14ae8499624dc9004a983d0f60da458cfbc5"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"path": "references/threejs.md",
|
|
184
|
+
"sha256": "7b0d402e6b4cf47c92f3d72201d2815713a4695b86e36123e33db0e6e70c4d23"
|
|
185
|
+
}
|
|
186
|
+
],
|
|
187
|
+
"digest": "ec31b5e016d55bb365a7103f7ff7243770ae74a146a3aa0628158aeadf4b4c13"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "opengame-front-end",
|
|
191
|
+
"family": "craft",
|
|
192
|
+
"default": false,
|
|
193
|
+
"description": "Build a browser game's title, menus, first run, loading, settings, results and HUD. Covers menus that are live scenes with sound, a short first run, saves that survive, an honest loading bar, clicks that always land, a HUD from one unit, an FPS counter, dialogs from the game's own kit and a share card from a real frame. Use when the person says the menu looks cheap, the loading bar freezes, clicks do nothing, settings reset, or asks for a title, menu, HUD or share image.",
|
|
194
|
+
"version": "1.0.1",
|
|
195
|
+
"files": [
|
|
196
|
+
{
|
|
197
|
+
"path": "SKILL.md",
|
|
198
|
+
"sha256": "994e17f2f2082ef1fae406726192accf3f5256b9f55309a6727bb556ae0f6ac2"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"path": "references/launch.md",
|
|
202
|
+
"sha256": "87326dc9a8e57665482c5ab9886fefe976c8214b942c8acec14d3071b84772e0"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"path": "references/menus.md",
|
|
206
|
+
"sha256": "a87da712a0b23c247b360ffc0894357437a8f8487005e17bbc2619bd79681e03"
|
|
207
|
+
}
|
|
208
|
+
],
|
|
209
|
+
"digest": "1c4b02da6ca61a703f565ddfda674d04d4e52756fdca9392debc39981951eb3d"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "opengame-game-feel",
|
|
213
|
+
"family": "craft",
|
|
214
|
+
"default": false,
|
|
215
|
+
"description": "Make a browser game feel responsive and weighty. Covers hit and kill feedback on the hit frame, hits on the player that read light or heavy, one game clock for hitstop and slow motion, camera sway that never moves the aim, third-person jitter, input that is never dropped, effects capped near the lens, springs, recoil, shake and the view model pass. Use when the person says it feels floaty, stiff or unresponsive, hits do not land, the camera or body jitters, effects freeze, or add juice.",
|
|
216
|
+
"version": "1.0.0",
|
|
217
|
+
"files": [
|
|
218
|
+
{
|
|
219
|
+
"path": "SKILL.md",
|
|
220
|
+
"sha256": "56aa1e47871328c2a8cec6d4817f18f2939eeaa8445aa89acc48c6bbf571bd29"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"path": "helpers/spring.js",
|
|
224
|
+
"sha256": "f923f88d327bf292832a0bd5fbcb15d773e56e682dd74894e87c98cc6f8ee9b2"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"path": "references/feel-numbers.md",
|
|
228
|
+
"sha256": "9b19fbfeeea559cfb8d5f3ad0e5710a314f508d57567566d6e5a34382ec256e6"
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"digest": "8ae60fb25a07919e8d38b75fdfeffa28d20cc328336a9784a23f65f9d26ad576"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"name": "opengame-jam",
|
|
235
|
+
"family": "platform",
|
|
236
|
+
"default": false,
|
|
237
|
+
"description": "Enter a game in an OpenGame jam. Finds the open jams, their tracks and rules, checks the game against them, and submits one exact release as an entry with the person's own answers, leaving the certification to the person. Use when the person says enter the jam, submit to the jam, which track should I pick, am I eligible, what are the jam rules, or mentions the OpenGame Global AI Game Jam.",
|
|
238
|
+
"version": "1.0.5",
|
|
239
|
+
"files": [
|
|
240
|
+
{
|
|
241
|
+
"path": "SKILL.md",
|
|
242
|
+
"sha256": "134ad3043339a96b1887c56c75726a254a9fab8299b8edfaf58a83da9ad6e33b"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"digest": "ad58fd3aa72b6a12f84bbb6e1028d2f5793e49a1026a938ae30c57dbc3c8fd22"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "opengame-lighting",
|
|
249
|
+
"family": "craft",
|
|
250
|
+
"default": false,
|
|
251
|
+
"description": "Light a three.js browser game so it reads as a place. Covers characters that do not read as black silhouettes, counting light sources against the renderer's light limit, one shadow key that does not crawl, a fixed pool of real lights, real indirect light, and effects lit by the scene. Use when the person says the lighting is flat, characters look black, shadows flicker, the game stutters when lights turn on, it is too dark, add lamps or torches, or particles look pasted on.",
|
|
252
|
+
"version": "1.0.0",
|
|
253
|
+
"files": [
|
|
254
|
+
{
|
|
255
|
+
"path": "SKILL.md",
|
|
256
|
+
"sha256": "4db41e2539c9f46082b1130b62d35459fa27191d5aa544876427511773a19fd6"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"path": "helpers/light-pool.js",
|
|
260
|
+
"sha256": "06f4e72f32865f8d8bfbc3512c25549a5806f6cde99a35432049e7961302c6a8"
|
|
261
|
+
}
|
|
262
|
+
],
|
|
263
|
+
"digest": "37fb8c522e9c2bb95137be01abec5d9f416bed4bd1250057c0c288634334f4e1"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "opengame-loading",
|
|
267
|
+
"family": "craft",
|
|
268
|
+
"default": false,
|
|
269
|
+
"description": "Get a browser game from link to playable fast, and make the second visit almost instant. Covers a title-first boot over key art, a manifest of what the game really requests, a byte budget at a stated bandwidth, precompression and content types, hashed caching, fetch retries and stall deadlines, a progress bar by bytes, priority loads and quality changes without a reload. Use when the person says loading is slow, the bar sticks, the first load is huge, assets pop in or a return visit is slow.",
|
|
270
|
+
"version": "1.0.0",
|
|
271
|
+
"files": [
|
|
272
|
+
{
|
|
273
|
+
"path": "SKILL.md",
|
|
274
|
+
"sha256": "b6c8f106ce070728876dc5174e3ab5ef632133c0ff472b908b6b48e45cfd3a65"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"path": "references/threejs.md",
|
|
278
|
+
"sha256": "ee430319949992a140bdcf6ce9a83e51d15b7c47b8d680ba2e517f8aeb177619"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"digest": "c9e4f6763a4b17495a67a3c7850f6954dc6068a2a278175d677f5f6fcf6f4e0c"
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"name": "opengame-look",
|
|
285
|
+
"family": "craft",
|
|
286
|
+
"default": false,
|
|
287
|
+
"description": "Make a three.js browser game's image hold up. Covers linear HDR rendering with one tone curve, a sky inside the exposure, fog that leaves the sky alone, the concept's lens, bloom that keeps small glows small, an authored grade, honest materials, detail that does not tile or shimmer, and a look bible. Use when the person says it looks flat, washed out, plastic, like a prototype, too dark, too bright, the sky looks pale, the colours are off, or wants a cinematic or AAA look.",
|
|
288
|
+
"version": "1.0.0",
|
|
289
|
+
"files": [
|
|
290
|
+
{
|
|
291
|
+
"path": "SKILL.md",
|
|
292
|
+
"sha256": "1ce0ca53682105f50eecd6f4db7b3d934a154866eec45f014601d751491d93fc"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"path": "references/post-and-lens.md",
|
|
296
|
+
"sha256": "5b4c42d196d8ab5ce19d46bad7dd6adbee5b6a908da98162b75c6b18c7b5e4ad"
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"digest": "9d9fd30fe125e90c9c7d4b76173c83d8ea7d82d413ae6ba5823162befda413e1"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "opengame-mobile",
|
|
303
|
+
"family": "craft",
|
|
304
|
+
"default": false,
|
|
305
|
+
"description": "Make a browser game run, sound and stay up on real phones. Covers tab memory measured on a real phone in Safari, freeing CPU copies after GPU upload, texture caps per device class, tier and pixel ratio before the first frame, touch input that keeps every release, audio unlock with a real check, phone frame rates, no blur over the canvas on iPhone, and WebGPU fallback. Use when the game crashes or reloads on a phone, is silent on iPhone, lags on mobile or has stuck touch controls.",
|
|
306
|
+
"version": "1.0.0",
|
|
307
|
+
"files": [
|
|
308
|
+
{
|
|
309
|
+
"path": "SKILL.md",
|
|
310
|
+
"sha256": "18fb87350fef602c08a507ddd027c7d668db5e75481aafcf47db6dfd237bde35"
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"digest": "b08a8a8490ddb7435339e16c6ff7bfc9caa3efce1707ed5560c17544a2c53af9"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "opengame-performance",
|
|
317
|
+
"family": "craft",
|
|
318
|
+
"default": false,
|
|
319
|
+
"description": "Keep a browser game smooth on an ordinary laptop, with three.js specifics. Covers frame-time variance and one-percent lows, per-system timing, writes only on change, menus and previews at high pixel ratio, quiet-machine A/B measurement, draw and memory budgets, shader prewarm, textures decoded once, dynamic resolution and no per-frame allocation. Use when the person says the game stutters, hitches, lags, drops frames, swings between frame rates, has a slow menu or freezes on the first explosion.",
|
|
320
|
+
"version": "1.0.0",
|
|
321
|
+
"files": [
|
|
322
|
+
{
|
|
323
|
+
"path": "SKILL.md",
|
|
324
|
+
"sha256": "f4816b40f0e3f21f911b1dfeb103e374d5b6be08c7c57b5582fe4d0fd279027f"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"path": "references/measuring.md",
|
|
328
|
+
"sha256": "68e44342d0f070a2a771498f27db42bb6ccba4368271a2123ab2f2d57b69bc48"
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"digest": "8f0d110e3b0e8776747039587aa37a2fe9b511eff69541ed06dd12c2c6c6676d"
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "opengame-production",
|
|
335
|
+
"family": "craft",
|
|
336
|
+
"default": false,
|
|
337
|
+
"description": "Run a browser game build with one or many agents so the owner's feedback lands in few rounds. Covers the owner's bar written in the first hour, one ask register across handoffs, one integrator, frozen snapshots with a receipt per round, one latest playable link, status on a fixed cadence, usage limits, machine load and reference-first iconic items. Use when a game will take many rounds of owner feedback, when several agents share one game, or when rounds are slow or fixes never reach builds.",
|
|
338
|
+
"version": "1.0.0",
|
|
339
|
+
"files": [
|
|
340
|
+
{
|
|
341
|
+
"path": "SKILL.md",
|
|
342
|
+
"sha256": "57c354db6f403f181a04e5373aef9693d3a2199933050d71679af84882bbcb87"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"path": "references/templates.md",
|
|
346
|
+
"sha256": "18fe0997f220ef341aa10a9011f468ecb8a49a89f79d8cce32f45b6443c957fb"
|
|
347
|
+
}
|
|
348
|
+
],
|
|
349
|
+
"digest": "d1f91f001c4c1976cceea8d1c5244a7a589956d711f7903cf161821e50082a3a"
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "opengame-quality-bar",
|
|
353
|
+
"family": "craft",
|
|
354
|
+
"default": true,
|
|
355
|
+
"description": "The bar a browser game is judged against on OpenGame, and how to judge your own game against it without fooling yourself. Covers the sixteen cheap tells, blunt scores against the concept and a named reference game, sweeping a whole class from one report, the ninety-second stranger test and a fresh-context reviewer. Use when the person asks is my game good enough, make it feel AAA, polish it, review my game, what is missing, after a first playable, or before submitting to a jam.",
|
|
356
|
+
"version": "1.0.1",
|
|
357
|
+
"files": [
|
|
358
|
+
{
|
|
359
|
+
"path": "SKILL.md",
|
|
360
|
+
"sha256": "bb5a7554481932d93969b2766e8153ee0e3f8fe19abdfb4695054c86c080a9aa"
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
"path": "references/cheap-tells.md",
|
|
364
|
+
"sha256": "7475d3b50346ee99032240e90d8bb1a408bdcbc1994611ff095894f2c32bb9a9"
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"path": "references/review-prompt.md",
|
|
368
|
+
"sha256": "3fb3afa0988e166d2b1ba5280e013c136b6fbb00b03091063dbdabbf99517811"
|
|
369
|
+
}
|
|
370
|
+
],
|
|
371
|
+
"digest": "7d75c2444706ba78c6f573700679cd00d7e5991f0116eeb49fa36c1c6bdfa853"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "opengame-router",
|
|
375
|
+
"family": "platform",
|
|
376
|
+
"default": true,
|
|
377
|
+
"description": "Build, test and submit a browser game on OpenGame. Routes game work to the deploy guide, whole-game review and relevant craft skills. Use when someone asks to make a game, improve a game, check it, deploy it or enter an OpenGame jam.",
|
|
378
|
+
"version": "1.0.4",
|
|
379
|
+
"files": [
|
|
380
|
+
{
|
|
381
|
+
"path": "SKILL.md",
|
|
382
|
+
"sha256": "ae4f0a6aad68f36fb01d014e962eb79d1aa146edda3a6cf350f72a11618f0180"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"path": "references/process.md",
|
|
386
|
+
"sha256": "3462bdd5a87f81eee69ffb12ca04519b35404f67c920b182443e81a8904100dd"
|
|
387
|
+
}
|
|
388
|
+
],
|
|
389
|
+
"digest": "1fe138087354de5af57e4e450e24642a3ab58927755f0edf525797e43e984fa3"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "opengame-scene-audit",
|
|
393
|
+
"family": "craft",
|
|
394
|
+
"default": false,
|
|
395
|
+
"description": "Audit a 3D browser game's geometry with a script. It finds floating and buried props, solids inside each other, coplanar faces that z-fight, solids with no collider or a collider that does not fit, cameras inside solids and duplicate actors, runs a walk bot up every staircase without jumping, and proves each check on a planted defect first. Use when the person says things float, z-fighting, I can walk through things, the screen goes black, stairs are broken, or before calling a level finished.",
|
|
396
|
+
"version": "1.0.0",
|
|
397
|
+
"files": [
|
|
398
|
+
{
|
|
399
|
+
"path": "SKILL.md",
|
|
400
|
+
"sha256": "3eb954475de5705f5f47efe59d5812bc3b47d0f75f811108061e48432b4c6a27"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"path": "helpers/scene-audit.js",
|
|
404
|
+
"sha256": "50c3a07327510aa40b8dbb95cc09a9bb3aa89f37a5f819e3201e0302dd4b21f1"
|
|
405
|
+
}
|
|
406
|
+
],
|
|
407
|
+
"digest": "565588b6e28661c20daf4db75e2a7d1a381b25149f9f411d0d83c7ec62a82338"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"name": "opengame-sdk",
|
|
411
|
+
"family": "platform",
|
|
412
|
+
"default": false,
|
|
413
|
+
"description": "Integrate a browser game with OpenGame through @opengamehq/sdk, the injected global or a native engine bridge. Covers start-up, the player and their OG at load, names, leaderboards, achievements, events, pause, mute, fullscreen, keys inside the frame and threaded builds. Use when the person says integrate with OpenGame, add the SDK, show the player's name or OG, add a leaderboard or achievement, track events, fix fullscreen or keys in the game frame, or asks how a game talks to OpenGame.",
|
|
414
|
+
"version": "1.0.6",
|
|
415
|
+
"files": [
|
|
416
|
+
{
|
|
417
|
+
"path": "SKILL.md",
|
|
418
|
+
"sha256": "758833286d82569f1f092a27d16a1c7c03c78e479e31956d05c1f8fb81090c81"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"path": "references/engines.md",
|
|
422
|
+
"sha256": "b6fdb69955026ae19aaf300e928b6da5149a0237ccb88aabc77540f16988dda4"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"path": "references/frame.md",
|
|
426
|
+
"sha256": "292c1e4bb93acd397611162bd573ade3767d737cefa0e23fc5144b2f0a47a832"
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
"path": "references/identity.md",
|
|
430
|
+
"sha256": "58669988cdd67c2b130d29324be532a342de471f43b77a58ea84b4522179943d"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"path": "references/leaderboards.md",
|
|
434
|
+
"sha256": "bb200cc6fd2f74ce01522ce6ae6497ab1e759dd64bc7bc52daf47a94fd211f7b"
|
|
435
|
+
}
|
|
436
|
+
],
|
|
437
|
+
"digest": "68cea06c7a9dd1a82de98d0555748e1042f30d3d8a5c32719a8883d3dd6b4e9d"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"name": "opengame-stability",
|
|
441
|
+
"family": "craft",
|
|
442
|
+
"default": false,
|
|
443
|
+
"description": "Make a browser game crash-free on every device and browser, and prove it. Covers zero crashes as the release bar, soak tests over hundreds of full sessions, fixed pools named, counted and warned before full, crash reports that survive reload, a watchdog that tells a slow load from a hang, recovery that never loops, GPU device loss, dev commands off in public builds and the served build checked after each deploy. Use when the game crashes, freezes, reloads itself or breaks after a deploy.",
|
|
444
|
+
"version": "1.0.0",
|
|
445
|
+
"files": [
|
|
446
|
+
{
|
|
447
|
+
"path": "SKILL.md",
|
|
448
|
+
"sha256": "06700097277cb920b25696d492fe0dfb9369273e5f243994cfdd546a4d63928a"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"digest": "fcd1857860527da82a35f3ea8f6a99c5265c3a248eddb1eaaf35bf46e280ce47"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "opengame-verification",
|
|
455
|
+
"family": "craft",
|
|
456
|
+
"default": false,
|
|
457
|
+
"description": "Prove a browser game works by using it as a player does. Covers the frame after Play, input that moves the player, a state contract, captures checked for build and screen before judging, the served build matched to its receipt, gates that fail closed, real phones over emulation, and checks that fail once on purpose. Use when the person asks does it work, test my game, verify the fix, before deploying or submitting, after a big change, or when a test passes but the game is broken.",
|
|
458
|
+
"version": "1.0.1",
|
|
459
|
+
"files": [
|
|
460
|
+
{
|
|
461
|
+
"path": "SKILL.md",
|
|
462
|
+
"sha256": "55e7f3efd5a0fc90790e0254c7351a33b29304e5e31ae7177e56a57a2fd32043"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"path": "helpers/browser-evidence.mjs",
|
|
466
|
+
"sha256": "f3de911d9c6027f66ef4642047d53954ee8123bc4a19dc4955a1b68b8aa83eee"
|
|
467
|
+
}
|
|
468
|
+
],
|
|
469
|
+
"digest": "80e7f4b96c1bc189737d0f8f73d1cdccabf49efc3fd06e6587f55781b3c628da"
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
"name": "opengame-weapons",
|
|
473
|
+
"family": "craft",
|
|
474
|
+
"default": false,
|
|
475
|
+
"description": "Build first-person weapons and view models that hold up next to a shipped shooter. Covers iconic guns built from the real reference, view model size per gun class, beat-by-beat reloads with exported timings, hands that touch and never clip, no low-poly stand-ins, aiming through the real sight, kill reactions per weapon, camos and upgrades, wonder weapons and mystery-box odds. Use when the person says the gun looks like a toy or is too big, reloads look fake, hands clip, or add a weapon or box.",
|
|
476
|
+
"version": "1.0.0",
|
|
477
|
+
"files": [
|
|
478
|
+
{
|
|
479
|
+
"path": "SKILL.md",
|
|
480
|
+
"sha256": "f76f9ad55229d87974555962f34485e748169ff19f228798507a7766fede6777"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"path": "references/handling-numbers.md",
|
|
484
|
+
"sha256": "80acc75a3623371702104c2d380fda31e548f3497643b29adecc1e85537bb82d"
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"path": "references/threejs.md",
|
|
488
|
+
"sha256": "512075a810bdc7e81cf7a2fa5ab9cab998b3779150ab8b0270b55d81a8886d5b"
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"digest": "5b3a2670cbc7eb7152177f3fd98391ff98a832e897430be150d67d4e688136fd"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"name": "opengame-world-physics",
|
|
495
|
+
"family": "craft",
|
|
496
|
+
"default": false,
|
|
497
|
+
"description": "Make a 3D browser game's world physically coherent for players and AI. Covers colliders that fit what is drawn, stairs walked without jumping, a navigation step that matches the body's step, no tunnelling, bounded depenetration, ragdolls that settle, corpses on deadlines, ray queries on a budget and a fixed step. Use when the person says I walked through a wall, fell through the floor, have to jump up stairs, zombies get stuck on steps, corpses spaz out, or movement feels floaty.",
|
|
498
|
+
"version": "1.0.0",
|
|
499
|
+
"files": [
|
|
500
|
+
{
|
|
501
|
+
"path": "SKILL.md",
|
|
502
|
+
"sha256": "3886e94eb9d077ae74d340660670f719c35a1af1db53405d80810142700ace05"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"path": "references/measured-failures.md",
|
|
506
|
+
"sha256": "03ae97cf7ef6e13752d78cf990c3ffa5eb0a28aef19e43273c15f2cfbcd2f52d"
|
|
507
|
+
}
|
|
508
|
+
],
|
|
509
|
+
"digest": "2bffb202ce77676fff958673a7c2ee5da01c255229f167d98be794e8405519d5"
|
|
510
|
+
}
|
|
511
|
+
]
|
|
512
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: opengame-accessibility
|
|
3
|
+
description: Make a browser game playable by more people. Covers a controller that reaches every screen, remapping, sensitivity and field of view, subtitles and visual sound cues, colour never the only signal, limited flashes, reduced motion, keyboard menus and options proven in play. Use when the person asks about accessibility, gamepad support, colourblind modes, subtitles, remapping keys, motion sickness, photosensitivity, or menus that work with a keyboard or screen reader.
|
|
4
|
+
metadata:
|
|
5
|
+
version: "1.0.0"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Accessibility
|
|
9
|
+
|
|
10
|
+
Most of this costs little when it is designed in and a lot when it is retrofitted. Our
|
|
11
|
+
first four games had no subtitles or visual sound cues, so this skill also teaches from
|
|
12
|
+
published guidance: WCAG 2.3.1 for flashes, the Game Accessibility Guidelines and the
|
|
13
|
+
Xbox Accessibility Guidelines for controls, audio and vision. OC shipped an accessibility
|
|
14
|
+
tab, subtitles and controller support, and its launch audit found every one of those
|
|
15
|
+
options "unverified at runtime"; the last rule is for that.
|
|
16
|
+
|
|
17
|
+
Rules carry five tags; `opengame-quality-bar` explains them and the game codes. Where
|
|
18
|
+
none of our games set a value, the reference configuration says so.
|
|
19
|
+
|
|
20
|
+
## Rules
|
|
21
|
+
|
|
22
|
+
### A controller reaches everything
|
|
23
|
+
- **Invariant:** With a gamepad connected, every screen, menu, setting and dialog can be reached and used with the pad alone, focus is always visible, and a connected pad never breaks the game.
|
|
24
|
+
- **Technique:** Read pads through the standard mapping each frame. Drive menus by focus with four-way navigation that also works inside sliders, dropdowns and checkboxes. Show prompts for the device used last (keyboard, pad or touch). Offer sensitivity, layouts and deadzone calibration in settings. Test with a pad connected before boot and with one connected mid-game.
|
|
25
|
+
- **Reference configuration:** OC's owner on controller support: "RSI that a few times because we always mess this up". His list: works everywhere, visible focus, four-way navigation on sliders, dropdowns and checkboxes, Default and Tactical layouts, sensitivity 1-10, deadzone calibration, calibration for Bluetooth lag, and consistent styling. It landed at R87-R89. In another game a connected pad crashed every frame.
|
|
26
|
+
- **Applies when:** Every game that runs on desktop, and every game whose genre players expect a pad.
|
|
27
|
+
- **Verify:** After boot, put the mouse and keyboard away. With the pad alone, go from the title to a match, change three settings, pause, quit and confirm. Then reload with the pad already connected and do it again.
|
|
28
|
+
|
|
29
|
+
### Every control can be remapped
|
|
30
|
+
- **Invariant:** Every gameplay action can be bound to a different key or button, conflicts are shown, and the bindings persist and are the ones the game reads.
|
|
31
|
+
- **Technique:** One action table drives input, HUD hints, menu help and the remapping screen, so a remap updates every prompt. Offer hold or toggle for held actions (aim, crouch, sprint), and make every action reachable without a mouse.
|
|
32
|
+
- **Reference configuration:** Not set by our first four games. ST keeps one action table for input handling, HUD hints, menu help and playtests, and its control defaults (WASD, mouse, F to interact, R to reload) are a starting table. OC offers hold or toggle for aim and crouch. At one OC commit rebinding was cosmetic: the docs said the player code read the saved bindings, and a reviewer found it did not.
|
|
33
|
+
- **Applies when:** Every game with more than a couple of inputs.
|
|
34
|
+
- **Verify:** Rebind every action to a different key, restart the game, and complete the first objective with only the new keys.
|
|
35
|
+
|
|
36
|
+
### Sensitivity and field of view are the player's
|
|
37
|
+
- **Invariant:** Look sensitivity, axis inversion and field of view can be changed in settings, apply live, and persist.
|
|
38
|
+
- **Technique:** Settings write straight through to the running game; field of view has a range wide enough for players who get motion sick at a narrow one. Camera shake, head bob and motion blur each have their own off switch.
|
|
39
|
+
- **Reference configuration:** DK's world lens is 110 degrees with the weapon drawn at a fixed 75 in its own pass, so changing the world field of view never resizes the weapon. OC: field of view 80-120, a shake toggle, motion blur on by default with the gun kept sharp, touch aim assist 0-100.
|
|
40
|
+
- **Applies when:** First-person and third-person 3D games.
|
|
41
|
+
- **Verify:** Change each setting during play and see it take effect without a restart; reload and see it kept.
|
|
42
|
+
|
|
43
|
+
### Important sounds are also seen
|
|
44
|
+
- **Invariant:** Anything a player must hear to play well (speech, a threat behind them, an objective cue) also appears on screen.
|
|
45
|
+
- **Technique:** Subtitles for every line of speech, with speaker names, readable size and a background; directional visual indicators for important off-screen sounds; captions for important non-speech sounds. Drive them from the same cue registry as the audio so none is missed. A subtitle lasts as long as its clip and closes when the line is cut off.
|
|
46
|
+
- **Reference configuration:** None of DK, MC, AW or SR has subtitles or visual sound cues. OC subtitles every line, "not super big... but still visible" in the owner's words: at least 10 pt on a phone 375 pt tall, in a band 6% from the bottom no wider than 42% of the screen, drawn above menus. Outside guidance: subtitles on by default or offered at first launch, large enough to read at a living-room distance, never covering the centre of the screen.
|
|
47
|
+
- **Applies when:** Every game with speech or with sound that carries gameplay information.
|
|
48
|
+
- **Verify:** Play the first ten minutes muted; every voice line and every threat the player needed to react to was shown.
|
|
49
|
+
|
|
50
|
+
### Colour is never the only signal
|
|
51
|
+
- **Invariant:** Every state shown with colour (team, rarity, selection, damage type, danger) is also shown by shape, icon, text or position, and a colour keeps one meaning across the whole game.
|
|
52
|
+
- **Technique:** Pair each colour with a second channel and check the palette under colour-vision simulations; keep text and important icons above contrast minimums against what is behind them. Write down what each gameplay colour means and check every glow, marker and bar against it.
|
|
53
|
+
- **Reference configuration:** SR's design rule: a state has a shape, so its yellow selection always comes with an underline, size, rank position or focus outline. Contrast floors from WCAG: 4.5:1 for body text, 3:1 for large text. OC: orange means immune and cyan or violet means shoot here; a baked glow once said "shoot here" while the health bar said immune. OC ships a colour-blind palette.
|
|
54
|
+
- **Applies when:** Every game.
|
|
55
|
+
- **Verify:** Capture the HUD and menus through protanopia, deuteranopia and tritanopia simulations and in greyscale; every state is still distinguishable.
|
|
56
|
+
|
|
57
|
+
### Flashes are limited at the source
|
|
58
|
+
- **Invariant:** No effect makes the screen's brightness change quickly enough or often enough, rising or falling, to count as a photosensitive flash.
|
|
59
|
+
- **Technique:** Bound the frame-to-frame change of composited luminance for full-screen effects in both directions, discovered by measuring every large overlay rather than reading a list, and bound how many large flashes can happen in a second. Offer a setting that reduces every flash further. Prefer fades to cuts for whole-screen changes, and ease any light that flickers at random.
|
|
60
|
+
- **Reference configuration:** AW limits each overlay's frame-to-frame luminance step to 0.045, under half of WCAG 2.3.1's 0.10 flash pair, after two players reported flashing violent enough to fear a seizure; its budgets allow zero steps over that limit. OC: at most 3 full-frame flashes a second and no 10-11 Hz strobe; Reduce Flashing scales every flash to 20% and removes the boss's 12 Hz wind-up blink; the storm light flickered at random near 11 Hz and needed easing. OC's new lightning cut the flat-white share of a first-person frame from 10.47% to 0.58%.
|
|
61
|
+
- **Applies when:** Every game with flashes, explosions, damage effects or lightning.
|
|
62
|
+
- **Verify:** Record the worst flash in the game (an explosion at point blank, a lightning strike) and compute per-frame mean luminance; no step exceeds the limit and no second holds more large flashes than the limit. Repeat with Reduce Flashing on.
|
|
63
|
+
|
|
64
|
+
### Reduced motion is honoured
|
|
65
|
+
- **Invariant:** When the player asks for less motion (in the game or through the operating system's preference), decorative motion stops and every piece of information it carried is still shown.
|
|
66
|
+
- **Technique:** Read `prefers-reduced-motion` and a game setting; replace menu films with their posters, remove parallax, shake and bob, and swap animated transitions for fades, while keeping a stable cue for every state change.
|
|
67
|
+
- **Reference configuration:** AW gates its menu films on reduced motion; ST shows the static poster with no autoplay and keeps a stable information cue in place of motion. In OC, reduced motion keeps the directional hit cues and drops the camera kick.
|
|
68
|
+
- **Applies when:** Every game with decorative motion.
|
|
69
|
+
- **Verify:** Turn on reduced motion in the operating system, reload, and walk the menus and the first minute of play: no film plays, nothing shakes, and nothing that mattered disappeared.
|
|
70
|
+
|
|
71
|
+
### Menus work from the keyboard, and read correctly
|
|
72
|
+
- **Invariant:** Every menu and dialog works with the keyboard alone, focus is always visible and lands somewhere sensible, and controls have real names.
|
|
73
|
+
- **Technique:** Real buttons and form controls, a visible focus style, Tab order that follows the layout, Escape for back, focus moved into a dialog on open and restored on close, and background controls made unreachable while a dialog is open.
|
|
74
|
+
- **Reference configuration:** ST's front-end rules: Enter and Space activate the focused action, modal settings and pause contain focus, menus reflow at 200% zoom without clipped actions.
|
|
75
|
+
- **Applies when:** Every game.
|
|
76
|
+
- **Verify:** Unplug the mouse and walk title, settings, pause, results and retry; then run an automated accessibility scan of each menu.
|
|
77
|
+
|
|
78
|
+
### Difficulty and timing can be adjusted
|
|
79
|
+
- **Invariant:** A player who cannot react as fast or press as accurately as the default assumes can still progress.
|
|
80
|
+
- **Technique:** Offer options that change timing windows, game speed, aim assistance or damage taken, with labels that say what each one changes, without locking content behind the default.
|
|
81
|
+
- **Reference configuration:** Not set by our games. Outside guidance recommends offering a range of difficulty and the ability to slow the game.
|
|
82
|
+
- **Applies when:** Games with timing-heavy challenges.
|
|
83
|
+
- **Verify:** Complete the first objective at the most assisted setting with slow, imprecise input.
|
|
84
|
+
|
|
85
|
+
### Every option is proven in play, on and off
|
|
86
|
+
- **Invariant:** Each accessibility and comfort option changes what it says it changes in a real run, both ways, and survives a reload.
|
|
87
|
+
- **Technique:** For each option, record the same moment of play with it on and off and compare: a lightning strike with Reduce Flashing, a voice line with subtitles, a hit with shake off, a remapped key in a match. Save, reload and check the value, including off and zero. New movement or control features ship as saved toggles with a sensible default. Persistence rules are in `opengame-front-end`.
|
|
88
|
+
- **Reference configuration:** At OC's launch audit, volume, sensitivity, field of view, rebinding, the colour-blind palette, Reduce Flashing and subtitle size all existed and were all "unverified at runtime"; Reduce Flashing had never been checked by eye. OC's chained jumps ship on by default, and off persists.
|
|
89
|
+
- **Applies when:** Every game with an accessibility or settings menu.
|
|
90
|
+
- **Verify:** A table with one row per option: an on clip, an off clip and a reload check, each linked.
|