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

125
data/room/07.yaml Normal file
View File

@@ -0,0 +1,125 @@
# SIGMASUA > TELEGRAM
room:
number: "07"
name: "SIGMASUA > TELEGRAM"
bgColor: black
border: blue
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: "08"
right: "04"
# Item display colors
itemColor1: magenta
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:
- [-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]
- [-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]
- [-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]
- [-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]
- [-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]
- [-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]
- [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]
- [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]
- [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]
- [1, 410, -1, -1, -1, -1, -1, 412, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 412, -1, -1, -1, -1, -1, 410, 1]
- [1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6, -1, -1, -1, -1, -1, -1, -1, 1]
- [1, -1, -1, -1, -1, -1, 410, 410, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6, 410, 410, -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, 6, -1, -1, -1, -1, -1, -1, -1, -1]
- [-1, -1, -1, -1, -1, -1, -1, 412, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6, 412, -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, 6, -1, -1, -1, -1, -1, -1, -1, -1]
- [6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6]
# Enemies in this room
enemies:
- animation: sigmasua.yaml
position: {x: 15, y: 7}
velocity: {x: 48.0, y: 0}
boundaries:
x1: 7
y1: 7
x2: 23
y2: 7
color: cyan
- animation: sigmasua.yaml
position: {x: 15, y: 4}
velocity: {x: -30.0, y: 0}
boundaries:
x1: 7
y1: 4
x2: 23
y2: 4
color: blue
- animation: sigmasua.yaml
position: {x: 3, y: 8}
velocity: {x: 0, y: 24.0}
boundaries:
x1: 3
y1: 5
x2: 3
y2: 13
color: bright_red
- animation: sigmasua.yaml
position: {x: 27, y: 8}
velocity: {x: 0, y: -24.0}
boundaries:
x1: 27
y1: 5
x2: 27
y2: 13
color: yellow
- animation: sigmasua.yaml
position: {x: 12, y: 10}
velocity: {x: 0, y: 18.0}
boundaries:
x1: 12
y1: 10
x2: 12
y2: 13
color: bright_magenta
- animation: sigmasua.yaml
position: {x: 17, y: 13}
velocity: {x: 0, y: -18.0}
boundaries:
x1: 17
y1: 10
x2: 17
y2: 13
color: bright_green
# Items in this room
items:
- tileSetFile: items.gif
tile: 67
position: {x: 15, y: 6}
counter: 1
- tileSetFile: items.gif
tile: 67
position: {x: 1, y: 8}
counter: 2
- tileSetFile: items.gif
tile: 67
position: {x: 30, y: 8}
counter: 3
- tileSetFile: items.gif
tile: 67
position: {x: 21, y: 13}
counter: 4