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

105
data/room/57.yaml Normal file
View File

@@ -0,0 +1,105 @@
# JAILGAMES GO TO HELL
room:
number: "57"
name: "JAILGAMES GO TO HELL"
bgColor: red
border: bright_red
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: "56"
right: "58"
# Item display colors
itemColor1: yellow
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, -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]
- [18, -1, -1, -1, -1, -1, -1, 18, -1, -1, -1, -1, -1, -1, 18, -1, -1, -1, -1, -1, -1, 18, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18]
- [18, -1, -1, -1, -1, -1, -1, 18, -1, -1, -1, -1, -1, -1, 18, -1, -1, -1, -1, -1, -1, 18, -1, -1, -1, -1, -1, -1, -1, -1, -1, 18]
- [18, -1, -1, -1, -1, -1, 18, 18, 18, -1, -1, -1, -1, 18, 18, 18, -1, -1, -1, -1, 18, 18, 18, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [18, -1, -1, -1, -1, -1, -1, 18, -1, -1, -1, -1, -1, -1, 18, -1, -1, -1, -1, -1, -1, 18, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [18, -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, 524, 18]
- [18, -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, 524, -1, 18]
- [18, -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, 307, -1, -1, 18]
- [18, -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, 18]
- [18, -1, -1, -1, -1, 524, 307, 307, 307, -1, -1, -1, -1, 307, 307, 307, -1, -1, -1, -1, 307, 307, 307, -1, -1, -1, -1, 307, -1, -1, -1, 18]
- [18, -1, -1, -1, 307, -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, 18]
- [18, -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, 18]
- [-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, 555, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 555, -1, -1, -1, -1, -1, -1, -1, -1]
- [18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18]
- [492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492, 492]
# Enemies in this room
enemies:
- animation: dimallas.yaml
position: {x: 13, y: 12}
velocity: {x: 54.0, y: 0}
boundaries:
x1: 4
y1: 12
x2: 21
y2: 12
color: green
- animation: heavy.yaml
position: {x: 17, y: 5}
velocity: {x: 0, y: 36.0}
boundaries:
x1: 17
y1: 2
x2: 17
y2: 10
color: white
- animation: heavy.yaml
position: {x: 10, y: 8}
velocity: {x: 0, y: 36.0}
boundaries:
x1: 10
y1: 2
x2: 10
y2: 10
color: yellow
# Items in this room
items:
- tileSetFile: items.gif
tile: 32
position: {x: 7, y: 8}
counter: 1
- tileSetFile: items.gif
tile: 32
position: {x: 14, y: 8}
counter: 2
- tileSetFile: items.gif
tile: 32
position: {x: 21, y: 8}
counter: 3
- tileSetFile: items.gif
tile: 49
position: {x: 7, y: 11}
counter: 4
- tileSetFile: items.gif
tile: 49
position: {x: 14, y: 11}
counter: 5
- tileSetFile: items.gif
tile: 49
position: {x: 21, y: 11}
counter: 6