- [NEW] Ficades les habitacions amb el nou format YAML

- [NEW] Afegit el fkYAML de una capçalera
- [NEW] El treeview ja funciona com deu mana
- [NEW] En el treeview ja funciona el scroll amb el mouse sheel
- [NEW] El treeview ja mostra les habitacions i els enemics (falten items)
This commit is contained in:
2025-11-18 13:13:07 +01:00
parent 22b62dd46b
commit f05dec21b1
186 changed files with 20401 additions and 6579 deletions

124
data/room/38.yaml Normal file
View File

@@ -0,0 +1,124 @@
# THE FINAL CROSSOVER
room:
number: "38"
name: "THE FINAL CROSSOVER"
bgColor: bright_black
border: yellow
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: "39"
right: "37"
# Item display colors
itemColor1: yellow
itemColor2: magenta
# Conveyor belt direction: left (-1), none (0), right (1)
autoSurface: 0
# Tilemap: 16 rows × 32 columns (256×192 pixels @ 8px/tile)
# Values are 0-based tile indices (0 = empty)
tilemap:
- [20, 20, 20, 20, 20, 20, 20, 22, 23, -1, -1, 20, 20, 20, 20, 20, 20, 22, 23, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20]
- [20, 20, -1, -1, -1, 20, 20, 46, 47, -1, -1, -1, -1, -1, -1, -1, -1, 46, 47, 20, 20, 20, -1, -1, -1, 20, 20, 20, 20, 20, -1, -1]
- [20, -1, -1, -1, -1, -1, 20, 20, 222, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 224, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 358, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, 20, 20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, 20, 20, -1, -1, -1, -1, -1, -1, 397, 397, 397, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, 20, -1, -1, 262, 397, 397, 334, -1, -1, -1, -1, 396, -1, -1, -1, 396, -1, -1, -1, -1, -1, -1, -1, -1, 505, 20, 20, 20, 20, -1, -1]
- [20, -1, -1, -1, 286, -1, -1, 358, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 505, -1, -1, -1, 262, -1, -1, -1]
- [20, -1, -1, -1, 310, -1, -1, 382, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 396, 398, 398, 399, 396, -1, -1, -1, -1, 286, -1, -1, -1]
- [-1, -1, -1, 398, 396, 397, 398, 399, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 334, -1, -1, -1, -1, -1, -1, -1, -1, 286, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 382, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, 216, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 218, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, 263, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 263, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, 555, -1, -1, 311, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 311, -1, 555, -1, -1, -1, -1, -1, 310, -1, -1, -1]
- [217, 217, 217, 218, 20, 20, 20, 20, 20, 20, 556, 556, 556, 556, 556, 556, 556, 556, 20, 20, 20, 20, 20, 20, 20, 219, 220, 220, 220, 220, 220, 221]
# Enemies in this room
enemies:
- animation: stopped_arounder.yaml
position: {x: 9, y: 11}
velocity: {x: 0, y: 0}
boundaries:
x1: 9
y1: 11
x2: 9
y2: 11
color: white
- animation: stopped_arounder.yaml
position: {x: 18, y: 11}
velocity: {x: 0, y: 0}
boundaries:
x1: 18
y1: 11
x2: 18
y2: 11
color: white
- animation: walking_arounder.yaml
position: {x: 12, y: 1}
velocity: {x: 30.0, y: 0}
boundaries:
x1: 11
y1: 1
x2: 16
y2: 1
color: white
flip: true
- animation: arounders_door.yaml
position: {x: 9, y: 0}
velocity: {x: 0, y: 0}
boundaries:
x1: 9
y1: 0
x2: 9
y2: 0
color: yellow
flip: true
- animation: flying_arounder.yaml
position: {x: 3, y: 1}
velocity: {x: 0, y: 42.0}
boundaries:
x1: 3
y1: 1
x2: 3
y2: 9
color: white
flip: true
- animation: mummy.yaml
position: {x: 12, y: 10}
velocity: {x: 12.0, y: 0}
boundaries:
x1: 10
y1: 10
x2: 17
y2: 10
color: bright_yellow
flip: true
# Items in this room
items:
- tileSetFile: items.gif
tile: 37
position: {x: 16, y: 6}
counter: 1
- tileSetFile: items.gif
tile: 37
position: {x: 1, y: 4}
counter: 2
- tileSetFile: items.gif
tile: 37
position: {x: 29, y: 6}
counter: 3