- [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

61
data/room/27.yaml Normal file
View File

@@ -0,0 +1,61 @@
# THE BACKYARD
room:
number: "27"
name: "THE BACKYARD"
bgColor: blue
border: cyan
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: "28"
down: "29"
left: "26"
right: null
# 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:
- [66, 67, 66, 67, 66, 67, -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, 16]
- [90, 91, 90, 91, 90, -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, 16]
- [92, -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, -1, 16]
- [116, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 522, 256, -1, -1, -1, -1, -1, 16]
- [116, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 256, -1, -1, -1, -1, -1, -1, -1, 16]
- [116, -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, -1, 16]
- [116, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, 304, 304, -1, 304, -1, -1, -1, -1, -1, 16]
- [116, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, -1, 304, 304, 304, 304, -1, 304, 304, -1, -1, -1, 16]
- [140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, -1, 304, -1, 304, 304, 304, 304, -1, -1, -1, -1, -1, 16]
- [31, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, -1, 304, 304, 304, 304, 304, 304, -1, 304, -1, -1, 16]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, 304, 304, 304, 304, 304, 304, 304, 304, -1, -1, -1, 16]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, 304, 304, 40, 40, 304, 304, 304, -1, -1, -1, 16]
- [31, 425, 426, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, -1, 304, -1, 40, 40, 304, -1, -1, 304, -1, -1, 16]
- [92, -1, 425, 426, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, -1, -1, 40, 40, -1, -1, 304, -1, -1, -1, 16]
- [140, 425, 426, 425, 426, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 40, 40, -1, -1, -1, -1, -1, -1, 16]
- [88, 89, 88, 89, 88, 89, 88, 89, 88, 93, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, -1, 522, 16, 16, 16]
# No enemies in this room
enemies: []
# Items in this room
items:
- tileSetFile: items.gif
tile: 28
position: {x: 1, y: 13}
counter: 1
- tileSetFile: items.gif
tile: 32
position: {x: 11, y: 14}
counter: 2
- tileSetFile: items.gif
tile: 32
position: {x: 14, y: 14}
counter: 3