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

51
data/room/10.yaml Normal file
View File

@@ -0,0 +1,51 @@
# TREE TOP
room:
number: "10"
name: "TREE TOP"
bgColor: bright_black
border: blue
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: "09"
left: null
right: "11"
# Item display colors
itemColor1: green
itemColor2: red
# 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:
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 85, -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, -1, 85, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, -1, -1, 304, -1, -1, -1, 85, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, -1, 304, -1, 304, 304, -1, 304, -1, 304, 133, -1, -1, -1, -1, -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, -1, 133, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, 304, 304, -1, 304, 304, 304, 304, 304, 304, -1, 304, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85, 85]
- [-1, -1, -1, -1, -1, -1, -1, -1, 304, -1, -1, 304, -1, 304, 304, 304, 304, -1, 304, -1, 304, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, 304, 304, -1, 304, 304, 304, 304, 304, 304, 304, 304, -1, 304, 304, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, 304, 304, -1, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, -1, 304, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, 304, -1, -1, 304, 304, 304, 304, 304, 304, 304, 304, -1, -1, 304, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, 304, -1, -1, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, 304, -1, 304, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, 304, -1, -1, 304, 304, 304, 40, 40, 304, 304, 304, -1, -1, 304, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, 304, 304, -1, 304, 40, 40, 40, 40, 304, -1, 304, 304, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, 304, -1, -1, 304, 304, 40, 40, 40, 40, 304, 304, -1, -1, 304, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, 304, 304, -1, 304, 40, 40, 40, 40, 304, -1, 304, 304, -1, -1, -1, -1, -1, -1, -1, -1, 517, 85, 85]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 40, 40, 40, 40, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 517, 85, 85, 85]
# No enemies in this room
enemies: []
# Items in this room
items:
- tileSetFile: items.gif
tile: 16
position: {x: 21, y: 4}
counter: 1