- [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)
76 lines
3.1 KiB
YAML
76 lines
3.1 KiB
YAML
# THE PASSAGE
|
||
room:
|
||
number: "12"
|
||
name: "THE PASSAGE"
|
||
bgColor: black
|
||
border: green
|
||
tileSetFile: standard.gif
|
||
|
||
# Room connections (null for no connection)
|
||
connections:
|
||
up: null
|
||
down: null
|
||
left: "11"
|
||
right: "13"
|
||
|
||
# Item display colors
|
||
itemColor1: red
|
||
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:
|
||
- [24, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||
- [24, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||
- [24, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||
- [24, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||
- [24, -1, -1, -1, 526, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||
- [-1, -1, -1, 24, 24, 24, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 250, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 526, 24]
|
||
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 24, 24, 550, -1, -1, -1, -1, -1, -1, -1, -1, -1, 526, 24, 24]
|
||
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 24, 24, 24, 24, -1, -1, -1, -1, -1, 24, 24, 24, 24, 24]
|
||
- [24, 24, 24, 24, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 24, 24, 24]
|
||
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 250, -1, -1, -1, -1, -1, 24, 24]
|
||
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 24]
|
||
- [-1, -1, -1, -1, 394, 394, 394, 394, 394, 370, 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, 394, -1, -1, -1, -1, -1, -1, 24]
|
||
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, 322, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||
- [24, 24, 550, -1, -1, -1, -1, -1, -1, 346, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||
- [24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24]
|
||
|
||
# Enemies in this room
|
||
enemies:
|
||
- animation: floppy.yaml
|
||
position: {x: 9, y: 10}
|
||
velocity: {x: 36.0, y: 0}
|
||
boundaries:
|
||
x1: 4
|
||
y1: 10
|
||
x2: 22
|
||
y2: 10
|
||
color: green
|
||
|
||
- animation: floppy.yaml
|
||
position: {x: 1, y: 0}
|
||
velocity: {x: 0, y: 30.0}
|
||
boundaries:
|
||
x1: 1
|
||
y1: 0
|
||
x2: 1
|
||
y2: 7
|
||
color: yellow
|
||
|
||
# Items in this room
|
||
items:
|
||
- tileSetFile: items.gif
|
||
tile: 34
|
||
position: {x: 17, y: 8}
|
||
counter: 1
|
||
|
||
- tileSetFile: items.gif
|
||
tile: 34
|
||
position: {x: 3, y: 6}
|
||
counter: 2
|