- [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:
100
data/room/53.yaml
Normal file
100
data/room/53.yaml
Normal file
@@ -0,0 +1,100 @@
|
||||
# P.A.C.O. WORKSHOP
|
||||
room:
|
||||
number: "53"
|
||||
name: "P.A.C.O. WORKSHOP"
|
||||
bgColor: black
|
||||
border: yellow
|
||||
tileSetFile: standard.gif
|
||||
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: null
|
||||
down: "51"
|
||||
left: null
|
||||
right: "42"
|
||||
|
||||
# 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:
|
||||
- [35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35]
|
||||
- [35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35]
|
||||
- [35, 35, 35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 35, 35]
|
||||
- [35, 35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 35]
|
||||
- [35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 35]
|
||||
- [35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 35]
|
||||
- [35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 35]
|
||||
- [35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 35]
|
||||
- [35, 410, -1, -1, -1, -1, 410, 410, 410, 410, 410, 410, 410, 410, 410, -1, -1, -1, -1, 452, 452, 452, 452, 452, 452, 452, 452, -1, -1, -1, -1, 35]
|
||||
- [35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 386, 35]
|
||||
- [35, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 35]
|
||||
- [35, 410, 410, 410, 410, 410, 410, 362, 410, 410, 410, 410, 410, 410, 410, -1, -1, -1, -1, 452, 452, 452, 452, 452, 452, 452, 452, -1, -1, -1, -1, 35]
|
||||
- [35, -1, -1, -1, -1, -1, -1, 314, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 35]
|
||||
- [35, -1, -1, -1, -1, -1, -1, 314, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||||
- [134, -1, -1, -1, -1, -1, -1, 314, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||||
- [35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, 35, -1, -1, 35, 35, 35, 35, 35, 35]
|
||||
|
||||
# Enemies in this room
|
||||
enemies:
|
||||
- animation: paco.yaml
|
||||
position: {x: 6, y: 6}
|
||||
velocity: {x: 18.0, y: 0}
|
||||
boundaries:
|
||||
x1: 6
|
||||
y1: 6
|
||||
x2: 13
|
||||
y2: 6
|
||||
color: yellow
|
||||
|
||||
- animation: paco.yaml
|
||||
position: {x: 16, y: 2}
|
||||
velocity: {x: 0, y: 48.0}
|
||||
boundaries:
|
||||
x1: 16
|
||||
y1: 2
|
||||
x2: 16
|
||||
y2: 13
|
||||
color: bright_red
|
||||
|
||||
- animation: wave.yaml
|
||||
position: {x: 1, y: 10}
|
||||
velocity: {x: 24.0, y: 0}
|
||||
boundaries:
|
||||
x1: 1
|
||||
y1: 10
|
||||
x2: 14
|
||||
y2: 10
|
||||
color: bright_yellow
|
||||
|
||||
- animation: lamp.yaml
|
||||
position: {x: 22, y: 2}
|
||||
velocity: {x: 0, y: 0}
|
||||
boundaries:
|
||||
x1: 22
|
||||
y1: 2
|
||||
x2: 22
|
||||
y2: 2
|
||||
color: bright_yellow
|
||||
|
||||
# Items in this room
|
||||
items:
|
||||
- tileSetFile: items.gif
|
||||
tile: 40
|
||||
position: {x: 1, y: 6}
|
||||
counter: 1
|
||||
|
||||
- tileSetFile: items.gif
|
||||
tile: 40
|
||||
position: {x: 1, y: 9}
|
||||
counter: 2
|
||||
|
||||
- tileSetFile: items.gif
|
||||
tile: 40
|
||||
position: {x: 30, y: 5}
|
||||
counter: 3
|
||||
Reference in New Issue
Block a user