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

95
data/room/58.yaml Normal file
View File

@@ -0,0 +1,95 @@
# CHIRPING
room:
number: "58"
name: "CHIRPING"
bgColor: black
border: magenta
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: "57"
right: "59"
# 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:
- [36, -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, 36]
- [36, -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, 36]
- [36, -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, 36]
- [-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, 36]
- [-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, 36]
- [36, 410, 410, 410, -1, -1, 410, 410, 410, -1, -1, 410, 410, 410, 410, 410, 410, 410, 410, 410, 410, -1, -1, 520, 410, 410, -1, -1, 410, 410, 410, 36]
- [36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 520, -1, -1, -1, -1, -1, -1, -1, -1, 36]
- [36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 520, -1, -1, -1, -1, -1, -1, -1, -1, -1, 36]
- [36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 520, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 36]
- [36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 520, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 36]
- [36, 410, 410, 410, -1, -1, 410, 410, 410, -1, -1, 410, 410, 410, 544, -1, -1, 410, 410, 410, 410, 410, 410, 410, 410, 410, -1, -1, 410, 410, 410, 36]
- [36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 544, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 36]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 544, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 36]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 544, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [36, 536, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 544, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36]
# Enemies in this room
enemies:
- animation: bird.yaml
position: {x: 4, y: 2}
velocity: {x: 0, y: 30.0}
boundaries:
x1: 4
y1: 2
x2: 4
y2: 12
color: yellow
- animation: bird.yaml
position: {x: 9, y: 11}
velocity: {x: 0, y: -30.0}
boundaries:
x1: 9
y1: 0
x2: 9
y2: 10
color: green
- animation: bird.yaml
position: {x: 26, y: 5}
velocity: {x: 0, y: -30.0}
boundaries:
x1: 26
y1: 2
x2: 26
y2: 12
color: white
# Items in this room
items:
- tileSetFile: items.gif
tile: 10
position: {x: 2, y: 8}
counter: 1
- tileSetFile: items.gif
tile: 10
position: {x: 2, y: 3}
counter: 2
- tileSetFile: items.gif
tile: 10
position: {x: 29, y: 8}
counter: 3
- tileSetFile: items.gif
tile: 10
position: {x: 29, y: 3}
counter: 4