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

83
data/room/30.yaml Normal file
View File

@@ -0,0 +1,83 @@
# QVOID IS A JAILGAME!
room:
number: "30"
name: "QVOID IS A JAILGAME!"
bgColor: blue
border: bright_black
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: null
right: "29"
# 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:
- [126, 127, 128, 129, 130, 131, 132, 126, 127, 128, 129, 130, 131, 132, 126, 127, 128, 129, 130, 131, 132, 126, 127, 128, 129, 130, 131, 132, 126, 127, 128, 129]
- [131, -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, 131, 127]
- [130, -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, 128]
- [129, 227, 228, -1, -1, 229, 230, -1, -1, 231, 232, -1, -1, 233, 227, -1, -1, 228, 229, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 129]
- [128, -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, 130]
- [127, -1, -1, 230, 231, -1, -1, 232, 233, -1, -1, 227, 228, -1, -1, 229, 230, -1, -1, -1, 231, 232, -1, -1, -1, -1, -1, -1, -1, -1, -1, 131]
- [126, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 233, 227, 230, 547, -1, -1, 132]
- [126, -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, 228, 230, 126]
- [127, -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, 127]
- [127, -1, -1, -1, -1, -1, -1, -1, -1, 231, 232, 227, -1, -1, -1, 484, 484, -1, -1, -1, 229, 230, 231, -1, -1, -1, 484, 484, -1, -1, -1, 128]
- [128, -1, -1, -1, 228, 229, 230, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 129]
- [129, -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, 130]
- [130, 231, 232, 547, -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, 131]
- [131, -1, -1, -1, 547, -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]
- [131, -1, -1, -1, -1, 547, -1, -1, -1, -1, -1, 554, -1, -1, -1, -1, -1, -1, -1, -1, -1, 554, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [132, 554, 554, 554, 554, 554, 126, 127, 128, 129, 130, 131, 484, 484, 484, 484, 484, 484, 484, 484, 484, 127, 128, 129, 130, 131, 132, 126, 127, 128, 129, 130]
# Enemies in this room
enemies:
- animation: qvoid.yaml
position: {x: 1, y: 1}
velocity: {x: 42.0, y: 0}
boundaries:
x1: 1
y1: 1
x2: 29
y2: 1
color: white
flip: true
- animation: qvoid.yaml
position: {x: 29, y: 1}
velocity: {x: -42.0, y: 0}
boundaries:
x1: 1
y1: 1
x2: 29
y2: 1
color: red
flip: true
- animation: qvoid.yaml
position: {x: 6, y: 7}
velocity: {x: -30.0, y: 0}
boundaries:
x1: 1
y1: 7
x2: 27
y2: 7
color: green
flip: true
# Items in this room
items:
- tileSetFile: items.gif
tile: 20
position: {x: 1, y: 2}
counter: 1