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

71
data/room/44.yaml Normal file
View File

@@ -0,0 +1,71 @@
# SANDWITCH AND COUNTER
room:
number: "44"
name: "SANDWITCH AND COUNTER"
bgColor: black
border: cyan
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: "43"
down: "16"
left: null
right: null
# Item display colors
itemColor1: white
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:
- [43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 25, -1, -1, -1, -1, -1, -1, 25, 43, 43, 43, 43, 43]
- [36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, 36, 36, -1, -1, -1, -1, -1, -1, -1, -1, 36, 36, 36, 36]
- [36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, 36, 36, -1, -1, -1, -1, -1, -1, -1, -1, 36, 36, 36, 36]
- [36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, 36, 36, 342, 342, 342, 342, 342, 342, -1, -1, 36, 36, 36, 36]
- [36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, 36, 36, -1, -1, -1, -1, -1, -1, -1, -1, 36, 36, 36, 36]
- [36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, 36, 36, -1, -1, 342, -1, -1, -1, -1, -1, 36, 36, 36, 36]
- [36, 36, 464, 464, 464, 464, 464, 464, 464, 464, 464, 464, 464, 464, 464, -1, -1, 344, 36, 36, -1, -1, -1, -1, -1, -1, 342, -1, 36, 36, 36, 36]
- [36, 36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, 36, 36, -1, -1, -1, -1, -1, -1, -1, 342, 36, 36, 36, 36]
- [36, 36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, -1, -1, -1, -1, 342, -1, -1, -1, -1, -1, 36, 36, 36, 36]
- [36, 36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, -1, 344, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 36, 36, 36, 36]
- [36, 36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, -1, -1, -1, -1, -1, -1, -1, -1, 342, -1, 36, 36, 36, 36]
- [36, 36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, -1, -1, -1, 342, -1, -1, -1, -1, -1, -1, 36, 36, 36, 36]
- [36, 36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, -1, -1, 344, -1, -1, -1, -1, -1, -1, -1, -1, 342, -1, 36, 36, 36, 36]
- [36, 36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 36, 36, 36, 36]
- [36, 36, 36, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 344, -1, -1, -1, -1, 342, -1, -1, -1, -1, -1, 36, 36, 36, 36]
- [37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 416, -1, -1, 416, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37]
# Enemies in this room
enemies:
- animation: congo.yaml
position: {x: 2, y: 4}
velocity: {x: 30.0, y: 0}
boundaries:
x1: 2
y1: 4
x2: 14
y2: 4
color: green
flip: true
- animation: crosshair.yaml
position: {x: 23, y: 4}
velocity: {x: 0, y: 48.0}
boundaries:
x1: 23
y1: 4
x2: 23
y2: 13
color: yellow
# Items in this room
items:
- tileSetFile: items.gif
tile: 8
position: {x: 2, y: 2}
counter: 1