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

109
data/room/40.yaml Normal file
View File

@@ -0,0 +1,109 @@
# PREVENT THE CRISIS
room:
number: "40"
name: "PREVENT THE CRISIS"
bgColor: black
border: bright_magenta
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: "41"
right: "39"
# 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:
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, 222, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 224, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, 358, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, 358, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 222, 223, 223, 223, 224, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 334, -1, -1, -1, -1, 334, -1, 334, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 334, -1, -1, -1, -1, -1, -1, -1, -1, 358, -1, 358, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, 382, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, 222, 223, 224, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, 358, -1, -1, -1, 382, -1, -1, -1, 382, -1, -1, -1, 382, -1, -1, -1, -1, 382, -1, 382, -1, -1, -1, -1, -1, -1]
- [-1, -1, 222, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223, 223]
- [-1, -1, -1, -1, 334, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 334, -1, -1, -1, -1, -1]
- [556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556, 556]
# Enemies in this room
enemies:
- animation: arounders_machine.yaml
position: {x: 7, y: 1}
velocity: {x: 0, y: 0}
boundaries:
x1: 7
y1: 1
x2: 7
y2: 1
color: red
- animation: walking_arounder.yaml
position: {x: 10, y: 12}
velocity: {x: 24.0, y: 0}
boundaries:
x1: 7
y1: 12
x2: 26
y2: 12
color: white
flip: true
- animation: walking_arounder.yaml
position: {x: 15, y: 12}
velocity: {x: 24.0, y: 0}
boundaries:
x1: 7
y1: 12
x2: 26
y2: 12
color: green
flip: true
- animation: walking_arounder.yaml
position: {x: 20, y: 12}
velocity: {x: 24.0, y: 0}
boundaries:
x1: 7
y1: 12
x2: 26
y2: 12
color: yellow
flip: true
- animation: walking_arounder.yaml
position: {x: 14, y: 2}
velocity: {x: 24.0, y: 0}
boundaries:
x1: 11
y1: 2
x2: 18
y2: 2
color: cyan
flip: true
# Items in this room
items:
- tileSetFile: items.gif
tile: 5
position: {x: 10, y: 2}
counter: 1
- tileSetFile: items.gif
tile: 5
position: {x: 25, y: 5}
counter: 2