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

86
data/room/05.yaml Normal file
View File

@@ -0,0 +1,86 @@
# BIG JUMP
room:
number: "05"
name: "BIG JUMP"
bgColor: black
border: red
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: "60"
left: "04"
right: "06"
# Item display colors
itemColor1: bright_green
itemColor2: green
# 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:
- [24, 24, 24, 24, 24, 24, -1, -1, 304, -1, -1, -1, 304, 304, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, 425, 426, 425, 426]
- [24, 24, 24, 24, 304, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304, 425, 426, 92]
- [24, 24, 24, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 66, 67, 116]
- [133, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 226, 116]
- [133, -1, -1, -1, -1, -1, -1, -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]
- [24, -1, -1, -1, -1, -1, -1, -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]
- [24, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 416, 416, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 140]
- [24, -1, -1, 555, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 24, 24, 24, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 24]
- [24, 24, 24, 24, 24, 24, -1, -1, -1, 416, 416, -1, -1, -1, -1, -1, -1, -1, 304, 30, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 304]
- [-1, -1, -1, -1, 304, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 30, -1, -1, -1, -1, 416, 416, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, 416, 416, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 30, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 30, -1, -1, -1, -1, 416, 416, 416, -1, -1, 24, 24, 24]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, 416, 416, -1, -1, -1, -1, -1, -1, -1, -1, 30, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 24]
- [-1, -1, -1, -1, -1, 416, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 30, 531, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 88]
- [30, 30, 531, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 30, 48, 48, 48, 48, 48, 48, 48, 48, 88, 89, 88, 89]
- [30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 304, -1, -1, 304, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30]
# Enemies in this room
enemies:
- animation: floppy.yaml
position: {x: 15, y: 4}
velocity: {x: 0, y: 48.0}
boundaries:
x1: 15
y1: 0
x2: 15
y2: 11
color: magenta
- animation: congo.yaml
position: {x: 21, y: 12}
velocity: {x: 24.0, y: 0}
boundaries:
x1: 21
y1: 12
x2: 28
y2: 12
color: yellow
flip: true
# Items in this room
items:
- tileSetFile: items.gif
tile: 68
position: {x: 1, y: 3}
counter: 1
- tileSetFile: items.gif
tile: 68
position: {x: 2, y: 3}
counter: 2
- tileSetFile: items.gif
tile: 68
position: {x: 29, y: 12}
counter: 3
- tileSetFile: items.gif
tile: 68
position: {x: 30, y: 12}
counter: 4