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

85
data/room/56.yaml Normal file
View File

@@ -0,0 +1,85 @@
# HEAVY DEMONS ON LEGGINS
room:
number: "56"
name: "HEAVY DEMONS ON LEGGINS"
bgColor: black
border: black
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: "55"
right: "57"
# Item display colors
itemColor1: bright_red
itemColor2: green
# Conveyor belt direction: left (-1), none (0), right (1)
autoSurface: -1
# Tilemap: 16 rows × 32 columns (256×192 pixels @ 8px/tile)
# Values are 0-based tile indices (0 = empty)
tilemap:
- [-1, -1, -1, 302, 302, 302, 302, -1, 302, 302, 302, 302, 302, -1, 302, 302, 302, 302, 302, 302, 302, 302, 302, -1, -1, 302, 302, 302, 302, -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, -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, -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, -1, -1, -1, -1, -1, -1]
- [17, 568, -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, 567, 17]
- [17, 568, -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, 567, 17]
- [17, 568, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 468, 468, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 567, 17]
- [17, 568, -1, -1, -1, -1, -1, -1, 410, 410, 410, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 410, 410, 410, -1, -1, -1, -1, -1, -1, 567, 17]
- [17, 568, -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, 567, 17]
- [17, 568, -1, 17, 17, 17, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 17, 17, 17, -1, 567, 17]
- [17, 568, -1, 566, 566, 566, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 566, 566, 566, -1, 567, 17]
- [17, 568, -1, -1, -1, -1, -1, -1, 519, 410, 410, -1, -1, -1, -1, 468, 468, -1, -1, -1, -1, 410, 410, 543, -1, -1, -1, -1, -1, -1, 567, 17]
- [17, 568, -1, -1, -1, -1, -1, 519, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 543, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, 519, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 543, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, 519, -1, 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, -1, 543, -1, -1, -1, 514, 17]
- [17, 17, 17, 17, 17, 17, 17, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 17, 17, 17, 17, 17, 17, 17]
# Enemies in this room
enemies:
- animation: demon.yaml
position: {x: 12, y: 3}
velocity: {x: 0, y: 30.0}
boundaries:
x1: 12
y1: 3
x2: 12
y2: 12
color: red
- animation: demon.yaml
position: {x: 18, y: 5}
velocity: {x: 0, y: 30.0}
boundaries:
x1: 18
y1: 3
x2: 18
y2: 12
color: red
# Items in this room
items:
- tileSetFile: items.gif
tile: 28
position: {x: 15, y: 10}
counter: 1
- tileSetFile: items.gif
tile: 28
position: {x: 16, y: 10}
counter: 2
- tileSetFile: items.gif
tile: 28
position: {x: 15, y: 5}
counter: 3
- tileSetFile: items.gif
tile: 28
position: {x: 16, y: 5}
counter: 4