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

100
data/room/59.yaml Normal file
View File

@@ -0,0 +1,100 @@
# STATIC
room:
number: "59"
name: "STATIC"
bgColor: black
border: bright_magenta
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: "60"
down: null
left: "58"
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:
- [63, -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, 505, -1, 63]
- [63, -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, 505, -1, -1, 63]
- [63, -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, 505, -1, -1, -1, 63]
- [63, -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, 505, -1, -1, -1, -1, 63]
- [63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 505, -1, -1, -1, -1, -1, 63]
- [63, 63, 63, 529, -1, -1, -1, 63, 63, 63, 63, -1, -1, -1, -1, 63, 63, 63, 63, -1, -1, -1, -1, 63, 63, 63, 63, -1, -1, 63, 63, 63]
- [63, -1, -1, -1, 529, -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, 63]
- [63, -1, -1, -1, -1, 529, -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, 63]
- [63, -1, -1, -1, -1, -1, 529, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 63]
- [63, -1, -1, -1, -1, -1, -1, 529, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 63]
- [63, -1, -1, -1, -1, -1, -1, -1, 529, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 63]
- [63, 416, 416, 416, 416, -1, -1, -1, -1, 416, 416, 416, -1, -1, -1, -1, 416, 416, 416, 416, 416, 416, 416, -1, -1, -1, 505, 416, 416, 416, 416, 63]
- [63, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 505, -1, -1, -1, -1, -1, 63]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 505, -1, -1, -1, -1, -1, -1, 63]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 505, -1, -1, -1, -1, -1, -1, -1, 63]
- [63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63, 63]
# Enemies in this room
enemies:
- animation: wave.yaml
position: {x: 1, y: 10}
velocity: {x: 48.0, y: 0}
boundaries:
x1: 1
y1: 10
x2: 30
y2: 10
color: magenta
- animation: wave.yaml
position: {x: 30, y: 4}
velocity: {x: -48.0, y: 0}
boundaries:
x1: 1
y1: 4
x2: 30
y2: 4
color: cyan
- animation: wave.yaml
position: {x: 15, y: 14}
velocity: {x: -24.0, y: 0}
boundaries:
x1: 3
y1: 14
x2: 30
y2: 14
color: green
# Items in this room
items:
- tileSetFile: items.gif
tile: 24
position: {x: 29, y: 13}
counter: 1
- tileSetFile: items.gif
tile: 24
position: {x: 17, y: 6}
counter: 2
- tileSetFile: items.gif
tile: 24
position: {x: 9, y: 6}
counter: 3
- tileSetFile: items.gif
tile: 24
position: {x: 2, y: 9}
counter: 4
- tileSetFile: items.gif
tile: 24
position: {x: 29, y: 3}
counter: 5