data: índex de nivells i camps pyramid/room a les 30 sales

Crea data/maps/levels.yaml com a font de veritat de la progressió (5
piràmides × 6 sales = 30 entrades ordenades) i afegeix els camps
pyramid/room a cada r<M>.yaml per a logs i text d'intro. El
LevelManager (a venir) consumirà aquesta llista; els fitxers de sala
encara són clons de pyramid.yaml — el contingut real el modificaré
després de tenir l'esquelet.
This commit is contained in:
JailDesigner committed 2026-04-26 14:45:36 +02:00
1 parent 580c13e854
commit 8fd06887d1
31 files changed
+4245

No files matched your search

+45
View File
@@ -0,0 +1,45 @@
# Índex ordenat de les 30 sales del joc (5 piràmides × 6 sales). El
# LevelManager carrega aquesta llista a l'arrencada i la fa servir com a
# font de veritat per a `currentPath()`, `advance()`, `setIndex()` i la
# resta de consultes que li facin la GameScene, l'Editor i els salts de
# debug. Per reordenar la progressió, canvia l'ordre d'aquesta seqüència
# (no cal renombrar fitxers). Per afegir una sala, crea el YAML i posa
# una entrada nova; els camps `pyramid` i `room` són purament informatius
# (apareixen als logs i al text d'intro de sala) — l'únic camp que
# realment carrega l'engine és `file`.
#
# Convenció de nomenclatura del fitxer: `data/maps/p<N>/r<M>.yaml` per
# dins la piràmide N, sala M. La carpeta `p<N>/` agruparà més endavant
# les metadades comunes de la piràmide (tileset, paleta, música).
sequence:
- { pyramid: 1, room: 1, file: data/maps/p1/r1.yaml }
- { pyramid: 1, room: 2, file: data/maps/p1/r2.yaml }
- { pyramid: 1, room: 3, file: data/maps/p1/r3.yaml }
- { pyramid: 1, room: 4, file: data/maps/p1/r4.yaml }
- { pyramid: 1, room: 5, file: data/maps/p1/r5.yaml }
- { pyramid: 1, room: 6, file: data/maps/p1/r6.yaml }
- { pyramid: 2, room: 1, file: data/maps/p2/r1.yaml }
- { pyramid: 2, room: 2, file: data/maps/p2/r2.yaml }
- { pyramid: 2, room: 3, file: data/maps/p2/r3.yaml }
- { pyramid: 2, room: 4, file: data/maps/p2/r4.yaml }
- { pyramid: 2, room: 5, file: data/maps/p2/r5.yaml }
- { pyramid: 2, room: 6, file: data/maps/p2/r6.yaml }
- { pyramid: 3, room: 1, file: data/maps/p3/r1.yaml }
- { pyramid: 3, room: 2, file: data/maps/p3/r2.yaml }
- { pyramid: 3, room: 3, file: data/maps/p3/r3.yaml }
- { pyramid: 3, room: 4, file: data/maps/p3/r4.yaml }
- { pyramid: 3, room: 5, file: data/maps/p3/r5.yaml }
- { pyramid: 3, room: 6, file: data/maps/p3/r6.yaml }
- { pyramid: 4, room: 1, file: data/maps/p4/r1.yaml }
- { pyramid: 4, room: 2, file: data/maps/p4/r2.yaml }
- { pyramid: 4, room: 3, file: data/maps/p4/r3.yaml }
- { pyramid: 4, room: 4, file: data/maps/p4/r4.yaml }
- { pyramid: 4, room: 5, file: data/maps/p4/r5.yaml }
- { pyramid: 4, room: 6, file: data/maps/p4/r6.yaml }
- { pyramid: 5, room: 1, file: data/maps/p5/r1.yaml }
- { pyramid: 5, room: 2, file: data/maps/p5/r2.yaml }
- { pyramid: 5, room: 3, file: data/maps/p5/r3.yaml }
- { pyramid: 5, room: 4, file: data/maps/p5/r4.yaml }
- { pyramid: 5, room: 5, file: data/maps/p5/r5.yaml }
- { pyramid: 5, room: 6, file: data/maps/p5/r6.yaml }