- [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:
85
data/room/23.yaml
Normal file
85
data/room/23.yaml
Normal file
@@ -0,0 +1,85 @@
|
||||
# INNER CHAMBER
|
||||
room:
|
||||
number: "23"
|
||||
name: "INNER CHAMBER"
|
||||
bgColor: black
|
||||
border: bright_yellow
|
||||
tileSetFile: standard.gif
|
||||
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: null
|
||||
down: "21"
|
||||
left: "24"
|
||||
right: null
|
||||
|
||||
# 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, 22, 23, 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, 46, 47, 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, 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, -1, -1, -1, -1, 306, -1, 306, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 306, 20, 20, 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, 306, 20, 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, 20, 20]
|
||||
- [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, 20, 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, 20, 20]
|
||||
- [20, 20, -1, -1, 399, 399, 399, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 399, 399, 399, -1, -1, -1, -1, -1, 399, 20, 20]
|
||||
- [20, 20, -1, 399, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 399, 399, -1, -1, -1, 20, 20]
|
||||
- [20, 20, -1, -1, -1, -1, -1, -1, 399, 399, 399, -1, -1, -1, -1, -1, -1, 399, 399, 399, -1, -1, -1, -1, -1, -1, -1, -1, 20, 20, 20, 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, 20, 22, 23, 20]
|
||||
- [20, 20, -1, -1, -1, -1, -1, -1, -1, -1, -1, 518, 20, 20, 20, 20, 542, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 20, 46, 47, 20]
|
||||
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 518, 20, 20, 22, 23, 20, 20, 542, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 20, 22, 23, 20]
|
||||
- [-1, -1, -1, -1, -1, 555, -1, -1, -1, 518, 20, 20, 20, 46, 47, 20, 20, 20, 542, -1, -1, -1, -1, -1, -1, -1, -1, -1, 20, 46, 47, 20]
|
||||
- [21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, -1, -1, 21, 21, 21, 21, 21]
|
||||
|
||||
# Enemies in this room
|
||||
enemies:
|
||||
- animation: shock.yaml
|
||||
position: {x: 7, y: 7}
|
||||
velocity: {x: 0, y: 48.0}
|
||||
boundaries:
|
||||
x1: 7
|
||||
y1: 3
|
||||
x2: 7
|
||||
y2: 14
|
||||
color: magenta
|
||||
|
||||
- animation: shock.yaml
|
||||
position: {x: 20, y: 10}
|
||||
velocity: {x: 0, y: 48.0}
|
||||
boundaries:
|
||||
x1: 20
|
||||
y1: 3
|
||||
x2: 20
|
||||
y2: 14
|
||||
color: magenta
|
||||
|
||||
- animation: shock.yaml
|
||||
position: {x: 27, y: 10}
|
||||
velocity: {x: 0, y: -48.0}
|
||||
boundaries:
|
||||
x1: 27
|
||||
y1: 3
|
||||
x2: 27
|
||||
y2: 14
|
||||
color: magenta
|
||||
|
||||
# Items in this room
|
||||
items:
|
||||
- tileSetFile: items.gif
|
||||
tile: 38
|
||||
position: {x: 29, y: 5}
|
||||
counter: 1
|
||||
|
||||
- tileSetFile: items.gif
|
||||
tile: 38
|
||||
position: {x: 2, y: 4}
|
||||
counter: 2
|
||||
Reference in New Issue
Block a user