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

115
data/room/25.yaml Normal file
View File

@@ -0,0 +1,115 @@
# THE CHAPPEL
room:
number: "25"
name: "THE CHAPPEL"
bgColor: blue
border: yellow
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: "06"
right: "26"
# 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:
- [66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67]
- [90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91]
- [92, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 92]
- [116, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 116]
- [116, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 116]
- [116, 397, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 140]
- [116, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 525, 92, 549, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 31]
- [116, 403, 404, -1, -1, -1, -1, -1, -1, -1, -1, -1, 402, 403, 403, 403, 403, 404, 399, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [116, -1, -1, -1, -1, -1, -1, -1, -1, -1, 398, 399, -1, -1, -1, 116, -1, -1, -1, 427, -1, -1, -1, -1, -1, -1, -1, 555, -1, -1, -1, -1]
- [116, -1, -1, 402, 403, 404, -1, -1, -1, 427, -1, -1, -1, -1, -1, 116, -1, -1, -1, -1, -1, -1, -1, 525, 402, 403, 403, 31, 31, 31, 31, 31]
- [116, -1, 427, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 116, -1, -1, -1, -1, -1, -1, 525, -1, -1, -1, -1, 31, -1, -1, 31, 31]
- [140, 555, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 116, -1, -1, -1, -1, -1, 525, -1, -1, -1, -1, -1, 31, -1, -1, 31, 31]
- [31, 403, 403, 404, 398, -1, -1, -1, 396, -1, -1, -1, 402, 403, 403, 403, 403, 404, -1, 402, 404, -1, -1, -1, 402, 403, 403, 31, 31, 31, 31, 31]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 116, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 134, -1, -1, 31, 31]
- [-1, -1, -1, -1, -1, -1, -1, 555, -1, -1, -1, -1, -1, 88, 93, 140, 555, -1, -1, -1, -1, -1, -1, -1, -1, 88, 93, 134, -1, -1, 31, 88]
- [88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89]
# Enemies in this room
enemies:
- animation: batman_bell.yaml
position: {x: 28, y: 13}
velocity: {x: 0, y: 0}
boundaries:
x1: 28
y1: 13
x2: 28
y2: 13
color: cyan
- animation: bell.yaml
position: {x: 28, y: 10}
velocity: {x: 0, y: 0}
boundaries:
x1: 28
y1: 10
x2: 28
y2: 10
color: cyan
- animation: bell.yaml
position: {x: 6, y: 2}
velocity: {x: 0, y: 0}
boundaries:
x1: 6
y1: 2
x2: 6
y2: 2
color: cyan
- animation: dong.yaml
position: {x: 6, y: 4}
velocity: {x: 0, y: 24.0}
boundaries:
x1: 6
y1: 4
x2: 6
y2: 13
color: cyan
- animation: bell.yaml
position: {x: 20, y: 2}
velocity: {x: 0, y: 0}
boundaries:
x1: 20
y1: 2
x2: 20
y2: 2
color: cyan
- animation: dong.yaml
position: {x: 20, y: 13}
velocity: {x: 0, y: -30.0}
boundaries:
x1: 20
y1: 4
x2: 20
y2: 13
color: cyan
# Items in this room
items:
- tileSetFile: items.gif
tile: 48
position: {x: 1, y: 2}
counter: 1
- tileSetFile: items.gif
tile: 48
position: {x: 26, y: 13}
counter: 2