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

70
data/room/04.yaml Normal file
View File

@@ -0,0 +1,70 @@
# JUMP THROUGH
room:
number: "04"
name: "JUMP THROUGH"
bgColor: black
border: cyan
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: "02"
down: null
left: "07"
right: "05"
# Item display colors
itemColor1: white
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:
- [188, 189, 188, 189, 188, 189, 188, 189, 188, 189, 188, 189, 188, 189, 188, 189, 188, 189, 188, 190, -1, -1, -1, 527, 188, 189, 188, 189, 188, 189, 188, 189]
- [14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, -1, -1, -1, -1, -1, 527, -1, 14, 14, 14, 14, 14, 14, 14, 14]
- [14, 14, 14, -1, -1, -1, -1, 14, 14, 14, 14, 14, 14, 14, 301, -1, -1, -1, -1, -1, -1, 527, -1, -1, 14, 14, 14, 14, 14, 14, 14, 14]
- [14, 14, -1, -1, -1, -1, -1, 301, 14, 14, 14, 14, 14, -1, -1, -1, -1, -1, -1, -1, 527, -1, -1, -1, 14, 14, 14, 14, 14, 14, 14, 14]
- [14, 14, -1, -1, -1, -1, -1, -1, 14, 14, 14, 14, -1, -1, -1, -1, -1, -1, -1, 527, -1, -1, -1, -1, 14, 14, 14, 14, 14, 14, 14, 14]
- [14, 14, -1, -1, -1, -1, -1, -1, 14, 14, 14, -1, -1, -1, -1, -1, -1, -1, 527, -1, -1, -1, -1, -1, 14, 14, 14, 14, 14, 14, 14, 14]
- [14, 14, -1, -1, -1, -1, -1, -1, 14, 14, -1, -1, -1, -1, -1, -1, -1, 527, -1, -1, -1, -1, -1, -1, 14, 14, 14, 14, 14, 301, -1, -1]
- [14, 14, -1, -1, -1, -1, 414, 414, 14, 14, -1, -1, -1, 414, 414, 414, 414, -1, -1, -1, -1, -1, -1, -1, 14, 14, 14, 14, 301, -1, -1, -1]
- [14, 14, -1, -1, -1, -1, -1, -1, 14, 14, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 14, 14, 14, 14, -1, -1, -1, -1, -1]
- [14, 14, 414, -1, -1, -1, -1, -1, 14, 14, 414, 414, 414, 551, -1, -1, -1, -1, -1, -1, -1, -1, 14, 14, 14, 14, -1, -1, -1, -1, -1, -1]
- [14, 14, -1, -1, -1, -1, 414, 414, 14, 14, -1, -1, -1, -1, 551, -1, -1, -1, -1, -1, -1, 14, 14, 14, 14, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 551, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, 414, 414, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 551, -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, 551, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, 518, 14, 62, 14, 62, 542, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 551, -1, -1, -1, -1, 518, 14, 62, 14, 62, 14, 62, 14, 62]
- [62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62]
# Enemies in this room
enemies:
- animation: chip.yaml
position: {x: 24, y: 12}
velocity: {x: 18.0, y: 0}
boundaries:
x1: 24
y1: 12
x2: 31
y2: 12
color: magenta
- animation: chip.yaml
position: {x: 4, y: 2}
velocity: {x: 0, y: 24.0}
boundaries:
x1: 4
y1: 2
x2: 4
y2: 12
color: yellow
# Items in this room
items:
- tileSetFile: items.gif
tile: 51
position: {x: 2, y: 3}
counter: 1