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

150
data/room/26.yaml Normal file
View File

@@ -0,0 +1,150 @@
# JINGLE BELLS
room:
number: "26"
name: "JINGLE BELLS"
bgColor: blue
border: yellow
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: "25"
right: "27"
# Item display colors
itemColor1: magenta
itemColor2: red
# 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, 226, 225, 226, 225, 226, 225, 226, 225, 226, 225, 226, 225, 226, 225, 226, 225, 226, 225, 226, 225, 226, 225, 226, 225, 226, 225, 226, 225, 226, 225, 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]
- [140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 525, 427, -1, -1, -1, -1, 116]
- [31, -1, -1, -1, -1, -1, -1, 402, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 404, -1, -1, -1, -1, -1, -1, 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, -1, 116]
- [-1, -1, -1, -1, -1, 427, 549, -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]
- [92, -1, -1, -1, -1, -1, -1, 402, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 404, -1, -1, -1, -1, -1, -1, 31]
- [116, 549, -1, -1, -1, -1, -1, -1, -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, -1, 549, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 525, 427, -1, -1, -1, -1, -1]
- [31, 31, 31, 31, -1, -1, -1, 402, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 403, 404, -1, -1, -1, 31, 31, 31, 31]
- [92, -1, -1, 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, 92, -1, -1, 92]
- [140, -1, -1, 140, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 525, 427, 549, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 140, -1, -1, 140]
- [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: 1, y: 13}
velocity: {x: 0, y: 0}
boundaries:
x1: 1
y1: 13
x2: 1
y2: 13
color: cyan
- animation: abad_bell.yaml
position: {x: 29, y: 13}
velocity: {x: 0, y: 0}
boundaries:
x1: 29
y1: 13
x2: 29
y2: 13
color: cyan
- animation: bell.yaml
position: {x: 1, y: 4}
velocity: {x: 36.0, y: 0}
boundaries:
x1: 1
y1: 4
x2: 29
y2: 4
color: yellow
- animation: dong.yaml
position: {x: 1, y: 2}
velocity: {x: 0, y: 0}
boundaries:
x1: 1
y1: 2
x2: 1
y2: 2
color: yellow
- animation: bell.yaml
position: {x: 26, y: 7}
velocity: {x: -36.0, y: 0}
boundaries:
x1: 1
y1: 7
x2: 29
y2: 7
color: yellow
- animation: dong.yaml
position: {x: 28, y: 2}
velocity: {x: -0, y: 0}
boundaries:
x1: 28
y1: 2
x2: 28
y2: 2
color: yellow
- animation: bell.yaml
position: {x: 1, y: 10}
velocity: {x: 36.0, y: 0}
boundaries:
x1: 1
y1: 10
x2: 29
y2: 10
color: yellow
- animation: bell.yaml
position: {x: 26, y: 13}
velocity: {x: -36.0, y: 0}
boundaries:
x1: 4
y1: 13
x2: 26
y2: 13
color: yellow
# Items in this room
items:
- tileSetFile: items.gif
tile: 60
position: {x: 26, y: 3}
counter: 1
- tileSetFile: items.gif
tile: 60
position: {x: 5, y: 6}
counter: 2
- tileSetFile: items.gif
tile: 60
position: {x: 26, y: 9}
counter: 3
- tileSetFile: items.gif
tile: 60
position: {x: 4, y: 13}
counter: 4
- tileSetFile: items.gif
tile: 60
position: {x: 27, y: 13}
counter: 5