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

123
data/room/41.yaml Normal file
View File

@@ -0,0 +1,123 @@
# AROUND WITH ME
room:
number: "41"
name: "AROUND WITH ME"
bgColor: black
border: blue
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: "42"
right: "40"
# 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:
- [187, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [187, -1, -1, -1, -1, 263, -1, -1, -1, -1, -1, -1, -1, 263, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [187, -1, -1, -1, -1, 287, -1, -1, -1, -1, -1, -1, -1, 287, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [187, -1, -1, -1, -1, 311, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [187, -1, -1, -1, 216, 217, 217, 217, 217, 217, 217, 217, 217, 217, 218, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [187, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 263, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 311, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 216, 217, 217, 217, 217, 217, 217, 217, 218, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 263, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 311, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 216, 217, 217, 217, 217, 217, 217, 217, 217, 217, 218, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 263, -1, -1, -1, -1, -1, 263, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 311, -1, -1, -1, -1, -1, 311, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, 216, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 217, 218, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, 263, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 263, -1, -1, -1, -1, -1]
- [43, 43, 43, 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_door.yaml
position: {x: 6, y: 2}
velocity: {x: 0, y: 0}
boundaries:
x1: 6
y1: 2
x2: 6
y2: 2
color: bright_cyan
- animation: stopped_arounder.yaml
position: {x: 8, y: 12}
velocity: {x: 0, y: 0}
boundaries:
x1: 8
y1: 12
x2: 8
y2: 12
color: bright_cyan
- animation: stopped_arounder.yaml
position: {x: 11, y: 3}
velocity: {x: 0, y: 0}
boundaries:
x1: 11
y1: 3
x2: 11
y2: 3
color: bright_cyan
- animation: stopped_arounder.yaml
position: {x: 24, y: 12}
velocity: {x: 0, y: 0}
boundaries:
x1: 24
y1: 12
x2: 24
y2: 12
color: bright_cyan
- animation: walking_arounder.yaml
position: {x: 12, y: 12}
velocity: {x: 18.0, y: 0}
boundaries:
x1: 9
y1: 12
x2: 23
y2: 12
color: bright_cyan
flip: true
- animation: walking_arounder.yaml
position: {x: 14, y: 12}
velocity: {x: -24.0, y: 0}
boundaries:
x1: 9
y1: 12
x2: 23
y2: 12
color: bright_cyan
flip: true
- animation: walking_arounder.yaml
position: {x: 14, y: 6}
velocity: {x: -24.0, y: 0}
boundaries:
x1: 12
y1: 6
x2: 20
y2: 6
color: bright_cyan
flip: true
# Items in this room
items:
- tileSetFile: items.gif
tile: 46
position: {x: 9, y: 2}
counter: 1