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

88
data/room/22.yaml Normal file
View File

@@ -0,0 +1,88 @@
# AEE REMAKE, PLEASE
room:
number: "22"
name: "AEE REMAKE, PLEASE"
bgColor: bright_black
border: yellow
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: null
right: "21"
# 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:
- [20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 22, 23, 20]
- [20, 20, 20, 20, 22, 23, 20, 22, 23, 20, 22, 23, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 46, 47, 20]
- [20, -1, -1, 20, 46, 47, 20, 46, 47, 20, 46, 47, 20, 20, 306, -1, -1, -1, -1, -1, -1, -1, -1, -1, 306, 20, 20, 20, 20, 20, 20, 20]
- [20, -1, -1, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 306, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 306, 20, 20]
- [20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 20]
- [20, 399, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 399, 399, 399, 399, 399, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, 399, 399, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 399, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, -1, -1, 398, -1, -1, -1, -1, -1, -1, -1, -1, 555, -1, -1, -1, -1, -1, -1, -1, -1, 555, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, -1, -1, -1, 398, -1, -1, 505, 418, 396, 396, 396, 418, 418, 397, 418, 418, 418, 418, 418, -1, 396, 396, 396, 418, 397, 396, 396, 418, -1, 418, 418]
- [20, -1, -1, -1, -1, -1, 505, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, -1, -1, -1, -1, 505, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, -1, -1, -1, 505, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, -1, -1, 505, -1, -1, -1, -1, -1, -1, -1, 555, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 555, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20]
# Enemies in this room
enemies:
- animation: mummy.yaml
position: {x: 15, y: 13}
velocity: {x: 18.0, y: 0}
boundaries:
x1: 12
y1: 13
x2: 21
y2: 13
color: yellow
flip: true
- animation: mummy.yaml
position: {x: 13, y: 8}
velocity: {x: 18.0, y: 0}
boundaries:
x1: 13
y1: 8
x2: 19
y2: 8
color: bright_yellow
flip: true
- animation: mummy.yaml
position: {x: 22, y: 8}
velocity: {x: 24.0, y: 0}
boundaries:
x1: 22
y1: 8
x2: 28
y2: 8
color: bright_yellow
flip: true
# Items in this room
items:
- tileSetFile: items.gif
tile: 37
position: {x: 1, y: 2}
counter: 1
- tileSetFile: items.gif
tile: 37
position: {x: 19, y: 5}
counter: 2