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

85
data/room/14.yaml Normal file
View File

@@ -0,0 +1,85 @@
# KILLING SPREE
room:
number: "14"
name: "KILLING SPREE"
bgColor: black
border: blue
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: "15"
left: "13"
right: "45"
# Item display colors
itemColor1: yellow
itemColor2: cyan
# 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:
- [-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, 29]
- [-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, 29]
- [-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, 29]
- [-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, 29]
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 305, -1, -1, -1, -1, -1, -1, -1, 305, -1, -1, 29]
- [-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, 305, -1, -1, -1, -1, -1, 29]
- [25, 25, 25, 25, 25, -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, 29]
- [136, 136, 136, 136, 136, -1, 25, 25, 25, 25, 25, 537, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 305, -1, -1, -1, -1, 305, -1, -1, 305, 29]
- [136, 65, 136, 65, 136, -1, 136, 136, 136, 136, 136, 136, 537, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 305, -1, -1, -1, -1, -1, -1, -1]
- [136, 136, 136, 136, 136, 421, 136, 136, 65, 136, 65, 136, 136, 537, -1, -1, -1, -1, -1, 305, -1, -1, -1, -1, -1, -1, 305, -1, -1, -1, -1, -1]
- [136, 65, 136, 65, 136, -1, 136, 136, 136, 136, 136, 136, 136, 136, 537, -1, -1, -1, -1, -1, -1, -1, -1, 305, -1, -1, -1, -1, -1, 305, -1, -1]
- [136, 136, 136, 136, 136, -1, 136, 136, 65, 136, 65, 136, 65, 136, 136, 537, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 305, -1, -1, -1, 29, 29]
- [136, 136, 136, 136, 336, -1, 336, 136, 136, 136, 136, 136, 136, 136, 136, 136, -1, -1, -1, -1, -1, 325, -1, -1, -1, -1, -1, -1, -1, -1, -1, 29]
- [-1, -1, -1, -1, 336, -1, 336, -1, -1, -1, -1, -1, -1, -1, 312, -1, -1, -1, -1, 305, -1, -1, 325, -1, -1, 305, -1, 325, 305, -1, -1, 29]
- [-1, -1, -1, -1, 336, -1, 336, -1, -1, -1, -1, -1, -1, -1, 312, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 29]
- [15, 15, 15, 15, 15, -1, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 325, -1, -1, 325, 325, 15, 15, 15, 15, 15, 15, 15]
# Enemies in this room
enemies:
- animation: matatunos.yaml
position: {x: 6, y: 5}
velocity: {x: 18.0, y: 0}
boundaries:
x1: 5
y1: 5
x2: 10
y2: 5
color: bright_green
- animation: tuno.yaml
position: {x: 21, y: 2}
velocity: {x: 0, y: 24.0}
boundaries:
x1: 21
y1: 2
x2: 21
y2: 13
color: red
- animation: tuno.yaml
position: {x: 28, y: 6}
velocity: {x: 0, y: -24.0}
boundaries:
x1: 28
y1: 2
x2: 28
y2: 13
color: magenta
# Items in this room
items:
- tileSetFile: items.gif
tile: 53
position: {x: 30, y: 14}
counter: 1
- tileSetFile: items.gif
tile: 53
position: {x: 25, y: 1}
counter: 2