- [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/13.yaml Normal file
View File

@@ -0,0 +1,100 @@
# TUNO KILLER
room:
number: "13"
name: "TUNO KILLER"
bgColor: black
border: blue
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: "12"
right: "14"
# Item display colors
itemColor1: yellow
itemColor2: cyan
# 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, -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, -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]
- [25, 25, 25, 25, 25, -1, -1, 25, 25, 25, 25, 25, -1, -1, 25, 25, 25, 25, 25, -1, -1, 25, 25, 25, 25, 25, -1, -1, 25, 25, 25, 25]
- [136, 136, 136, 136, 136, -1, -1, 136, 136, 136, 136, 136, -1, -1, 136, 136, 136, 136, 136, -1, -1, 136, 136, 136, 136, 136, -1, -1, 136, 136, 136, 136]
- [136, 65, 136, 65, 136, -1, -1, 136, 65, 136, 65, 136, -1, -1, 136, 65, 136, 65, 136, -1, -1, 136, 65, 136, 65, 136, -1, -1, 136, 65, 136, 65]
- [136, 136, 136, 136, 136, -1, -1, 136, 136, 136, 136, 136, -1, -1, 136, 136, 136, 136, 136, -1, -1, 136, 136, 136, 136, 136, -1, -1, 136, 136, 136, 136]
- [136, 65, 136, 65, 136, -1, -1, 136, 65, 136, 65, 136, -1, -1, 136, 65, 136, 65, 136, -1, -1, 136, 65, 136, 65, 136, -1, -1, 136, 65, 136, 65]
- [136, 136, 136, 136, 136, -1, -1, 136, 136, 136, 136, 136, -1, -1, 136, 136, 136, 136, 136, -1, -1, 136, 136, 136, 136, 136, -1, -1, 136, 136, 136, 136]
- [136, 136, 111, 136, 136, -1, -1, 136, 136, 111, 136, 136, -1, -1, 136, 136, 111, 136, 136, -1, -1, 136, 136, 111, 136, 136, -1, -1, 136, 136, 111, 136]
- [-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]
- [25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25]
# Enemies in this room
enemies:
- animation: matatunos.yaml
position: {x: 5, y: 1}
velocity: {x: 0, y: 60.0}
boundaries:
x1: 5
y1: 1
x2: 5
y2: 13
color: bright_blue
- animation: tuno.yaml
position: {x: 12, y: 4}
velocity: {x: 0, y: 66.0}
boundaries:
x1: 12
y1: 1
x2: 12
y2: 13
color: red
- animation: tuno.yaml
position: {x: 19, y: 7}
velocity: {x: 0, y: 54.0}
boundaries:
x1: 19
y1: 1
x2: 19
y2: 13
color: yellow
- animation: tuno.yaml
position: {x: 26, y: 11}
velocity: {x: 0, y: 42.0}
boundaries:
x1: 26
y1: 1
x2: 26
y2: 13
color: magenta
# Items in this room
items:
- tileSetFile: items.gif
tile: 53
position: {x: 9, y: 4}
counter: 1
- tileSetFile: items.gif
tile: 53
position: {x: 16, y: 4}
counter: 2
- tileSetFile: items.gif
tile: 53
position: {x: 23, y: 4}
counter: 3