Add a game speed assist setting
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 40/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- typescript, vite
Piste de recherche
Start with the settings model in shared/settings.ts, then see how games/astro/scenes/GameScene.ts derives its step from the frame delta in update(). Add a gameSpeed field and a simDelta helper, wire the setting into the hub and shared/pause.ts, and check shared/scenes.ts for where the game-over screen is built. Done when the setting appears in both places, one game honours it, assisted runs show ASSIST and skip records, and npm test passes.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Summary
Add a game speed assist setting that slows play down for players who need more reaction time.
Where
shared/settings.ts:85-100(settings cover volume, mute, reduced motion, palette, bindings, rumble and touch layout, but nothing about speed)games/astro/scenes/GameScene.ts:215-218(games step their simulation from the frame delta, for exampleMath.min(deltaMs, 50) / 1000)
Details
Reduced motion removes effects but not speed. Because games already step from the frame delta, one scale factor applied there would slow a game evenly.
Proposal
Add gameSpeed: 1 | 0.85 | 0.7 to Settings and a shared simDelta(deltaMs) helper that applies it, then adopt it one game at a time (the delta line in update, plus this.time.timeScale for timers). Runs at reduced speed show "ASSIST" on the game-over screen and skip high scores, dailies and trophies. This fits naturally with the shared frame-delta helper proposed in the cleanups issue.
Who benefits
Players with slower reactions or motor impairments, who are currently locked out of the faster games (Runner, Astro, late Stack levels).
Acceptance criteria
- The setting is on the hub and in the pause settings page.
- At least one game honours it, and assisted runs are marked and kept out of records.
Getting started
- Relevant files:
shared/settings.ts,shared/pause.ts,shared/scenes.ts, any game'supdate() - How to run tests:
npm test
Filed by repo-audit/full-audit at de2b25b. Severity: low. Effort: L. audit-key: enhancement|shared/settings.ts|gameSpeed
- Langage dominant
- TypeScript
- Étoiles
- 3
- Forks
- 3
- Merge moyen
- 8 h 13 min
- PR mergées (30 j)
- 2
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de TMHSDigital/GH-Arcade
-
ci good first issue severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
TMHSDigital/GH-Arcade#111 ·
-
bug good first issue severity: low
Difficulté 1/5 Moins d'une heure Accessibilité débutants 88/100
TMHSDigital/GH-Arcade#105 ·
-
bug good first issue severity: low
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
TMHSDigital/GH-Arcade#104 ·
-
bug good first issue severity: medium
Difficulté 2/5 Moins d'une heure Accessibilité débutants 84/100
TMHSDigital/GH-Arcade#88 ·
-
enhancement severity: low
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
TMHSDigital/GH-Arcade#113 ·
Toutes les issues de TMHSDigital/GH-Arcade
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
steelbrain/node-ssh#487 ·
-
cli: `execCargoMetadata` decodes stdout per chunk, corrupting non-ASCII paths across pipe boundariesOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulté 1/5 Moins d'une heure Accessibilité débutants 62/100
lingdojo/kana-dojo#34127 · 1 commentaire · 5 réactions ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
osmlab/name-suggestion-index#13104 ·
Les mainteneurs répondent en général sous 1 jour