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

116
data/room/35.yaml Normal file
View File

@@ -0,0 +1,116 @@
# SILICON BOOBS
room:
number: "35"
name: "SILICON BOOBS"
bgColor: black
border: bright_green
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: "36"
right: "34"
# Item display colors
itemColor1: green
itemColor2: red
# Conveyor belt direction: left (-1), none (0), right (1)
autoSurface: -1
# Tilemap: 16 rows × 32 columns (256×192 pixels @ 8px/tile)
# Values are 0-based tile indices (0 = empty)
tilemap:
- [117, 118, 113, 114, 117, 118, 113, 114, 113, 114, 113, 114, 117, 118, 113, 114, 113, 114, 113, 114, 117, 118, 113, 114, 113, 114, 113, 114, 113, 114, 113, 114]
- [114, 117, 118, 113, 114, 113, 114, 117, 118, 113, 114, 113, 114, 113, 114, 113, 114, 117, 118, 113, 114, 113, 114, 113, 114, 113, 114, 117, 118, 113, 114, 113]
- [115, 139, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 561, -1, -1, -1, -1, -1, -1, -1, 115, 139]
- [139, 115, -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, 139, 119]
- [119, 139, -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, 115, 143]
- [143, 115, 406, 407, -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, 139, 115]
- [115, 139, -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, 115, 139]
- [139, 115, -1, -1, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 488, 139, 115]
- [115, 139, -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, 119, 139]
- [139, 119, -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, 430, 143, 115]
- [115, 143, 430, 431, -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, 115, 139]
- [-1, -1, -1, -1, -1, -1, 430, 431, 430, 431, 430, 431, 430, 431, 430, 431, 430, 431, 430, 431, 430, 431, 430, 431, 430, 431, 430, 431, 430, 431, 139, 115]
- [-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, 115, 139]
- [113, 114, 113, 540, -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]
- [114, 113, 114, 113, 540, -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]
- [117, 118, 113, 114, 117, 118, 113, 114, 117, 118, 113, 114, 117, 118, 113, 114, 117, 118, 113, 114, 117, 118, 113, 114, 117, 118, 113, 114, 117, 118, 113, 114]
# Enemies in this room
enemies:
- animation: jeannine.yaml
position: {x: 6, y: 13}
velocity: {x: 30.0, y: 0}
boundaries:
x1: 6
y1: 13
x2: 14
y2: 13
color: yellow
flip: true
- animation: jeannine.yaml
position: {x: 16, y: 13}
velocity: {x: 24.0, y: 0}
boundaries:
x1: 16
y1: 13
x2: 28
y2: 13
color: cyan
flip: true
- animation: jeannine.yaml
position: {x: 7, y: 9}
velocity: {x: 36.0, y: 0}
boundaries:
x1: 7
y1: 9
x2: 15
y2: 9
color: red
flip: true
- animation: jeannine.yaml
position: {x: 16, y: 9}
velocity: {x: 24.0, y: 0}
boundaries:
x1: 16
y1: 9
x2: 27
y2: 9
color: white
flip: true
- animation: jeannine.yaml
position: {x: 5, y: 5}
velocity: {x: 30.0, y: 0}
boundaries:
x1: 5
y1: 5
x2: 12
y2: 5
color: green
flip: true
- animation: chip.yaml
position: {x: 16, y: 5}
velocity: {x: 24.0, y: 0}
boundaries:
x1: 16
y1: 5
x2: 26
y2: 5
color: yellow
flip: true
# Items in this room
items:
- tileSetFile: items.gif
tile: 57
position: {x: 2, y: 4}
counter: 1