Aller au contenu
Skillpedia
Sites et interfaces (frontend)7.2k · #13351

author-game-levels

Ce qu’il fait

Cette compétence guide l'agent pour construire des niveaux d'un jeu Three.js sur une seule zone de jeu plane. Elle s'adresse aux concepteurs et développeurs de jeux qui veulent que chaque parcours, arène et lumière aide le joueur à comprendre quoi faire.

Quand l’utiliser

  • ✓Quand vous voulez concevoir un nouveau niveau ou une nouvelle arène pour un jeu Three.js.
  • ✓Quand un niveau paraît confus et que les joueurs ne savent pas où aller.
  • ✓Quand vous voulez placer des zones de rencontre, des objets à ramasser et des objectifs clairs dans un niveau.

Lien du skill

https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/author-game-levels/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/MengTo/Skills/blob/main/agent-skills/game-development/author-game-levels/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Conçois un niveau d'arène plat avec des parcours clairs, une zone de rencontre et un objet à ramasser facile à atteindre.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent définit les données du niveau avec des identifiants de zone stables, sépare le visuel de la collision et de la navigation, et place chaque espace dans un but clair. Il vérifie les parties jouées sur ordinateur et sur mobile.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Author Game Levels

Treat architecture as gameplay communication. Every route, arena, gate, prop, and light must help the player read movement, threats, objectives, or state.

Enforce one gameplay plane

Keep all collision, navigation, encounter routes, objectives, pickups, and player movement on one accessible plane.

  • Do not add stairs, ramps, raised platforms, drop-offs, cliffs, bridges, ledges, pits, or vertical traversal.
  • Do not change gameplay elevation for shortcuts, arenas, hazards, rewards, or visual variety.
  • If visual height is requested later, keep it non-walkable background dressing. It must not alter navigation, camera occlusion, threat visibility, targetability, or player movement.

Separate level systems

Maintain explicit, independently testable layers for:

  • authored level data and stable zone/anchor IDs;
  • visual geometry and non-walkable background dressing;
  • simplified collision geometry;
  • flat navigation data and movement clearance;
  • encounter, enemy, gate, reset, pickup, objective, and exit zones.

Share stable IDs and transforms between layers, but never infer collision, navigation, or encounter boundaries from decoration alone.

Lay out readable play

  1. Define the architectural purpose of each space: traversal, orientation, combat, recovery, reward, transition, or objective.
  2. Preserve clear movement, camera, and dodge corridors at the intended play distance.
  3. Keep threats, pickups, exits, gates, and interaction targets visible before commitment.
  4. Telegraph encounters through visible arena shape, approach, state change, and stable zone anchors.
  5. Deliberately place arenas, gates, checkpoints, retry spawns, and reset paths. Prevent soft locks, duplicate rewards, hidden re-entry, and enemies pursuing through unrelated zones.
  6. Use landmarks, lighting, contrast, and composition to guide without hiding hazards or making the route ambiguous.

Motivate every local light

Attach every local torch, lantern, brazier, or similar light spatially to a visible emitter. Its position, range, color, intensity, shadowing, and occlusion behavior must match what that emitter appears able to produce.

  • Forbid unexplained floating local lights.
  • Keep a source-to-light inventory with emitter ID, light ID, attachment transform, type, range, color/intensity, occlusion intent, enabled state, and fallback behavior.
  • Move the light with a moving emitter. Disable or remove its local contribution when the emitter is disabled, hidden, destroyed, or unloaded.
  • Document ambient or world lighting separately. Use it for deliberate global visibility or mood, never to fake a torch or other local source.

Validate data and geometry

  • Assert that all walkable collision, navigation vertices/links, encounter anchors, gates, objectives, pickups, exits, and reset points remain on the configured gameplay plane within a small tolerance.
  • Reject walkable slopes, out-of-plane links, vertical shortcuts, elevated spawn points, and level data that implies height-changing traversal.
  • Check collision/nav agreement, route clearance, zone containment, deterministic gate/reset behavior, stable anchor references, and persistence of level progress.
  • Validate source-to-light inventory completeness, emitter/light attachment, range/color intent, and moving or disabled emitter state transitions.

Prove traversal in the browser

Run deterministic route, collision, navigation, encounter, reset, and lighting fixtures, then traverse every critical and optional route in the repository-approved browser.

  • On desktop and mobile, verify uninterrupted flat movement, dodge clearance, camera framing, threat/pickup/exit visibility, encounter telegraphs, gates, retry paths, and touch controls.
  • Exercise moving and disabled emitter cases and confirm no light remains detached or unexplained.
  • Inspect dense views for occlusion, console health, frame time, draw calls, memory stability, and long-session lighting cost.
  • Report new failures separately from existing baseline issues.
Questions fréquentes

Autorise-t-elle les escaliers ou les rampes ?

Non. La compétence impose un seul plan de jeu plat, sans escaliers, rampes, rebords ni chutes.

Le niveau peut-il avoir de la hauteur dans son visuel ?

Oui, mais uniquement comme décor de fond non praticable qui ne modifie pas le jeu.

Comment les niveaux sont-ils testés ?

La compétence demande des parties jouées sur ordinateur comme sur mobile.

Détails

Description originale de l’auteur

Author or revise readable, flat-world Three.js game levels. Use for movement and camera routes, collision and navigation, encounter zones, landmarks, objectives, pickups, motivated lighting, visibility, deterministic level data, or desktop and mobile playthrough verification.

repo: MengTo/Skills

Popularité

Étoiles GitHub
7.2k
Position au classement
#13351
Licence
MIT
Mis à jour
01/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires