format de fitxers room
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# ...?
|
||||
room:
|
||||
number: "32"
|
||||
name: "...?"
|
||||
bgColor: black
|
||||
border: cyan
|
||||
@@ -8,17 +7,17 @@ room:
|
||||
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: "34"
|
||||
down: "28"
|
||||
up: 34.yaml
|
||||
down: 28.yaml
|
||||
left: null
|
||||
right: "33"
|
||||
right: 33.yaml
|
||||
|
||||
# Item display colors
|
||||
itemColor1: yellow
|
||||
itemColor2: magenta
|
||||
|
||||
# Conveyor belt direction: left (-1), none (0), right (1)
|
||||
autoSurface: 0
|
||||
autoSurface: none
|
||||
|
||||
# Tilemap: 16 rows × 32 columns (256×192 pixels @ 8px/tile)
|
||||
# Values are 0-based tile indices (0 = empty)
|
||||
@@ -46,20 +45,16 @@ enemies:
|
||||
position: {x: 23, y: 4}
|
||||
velocity: {x: 0, y: 24.0}
|
||||
boundaries:
|
||||
x1: 23
|
||||
y1: 4
|
||||
x2: 23
|
||||
y2: 13
|
||||
position1: {x: 23, y: 4}
|
||||
position2: {x: 23, y: 13}
|
||||
color: yellow
|
||||
|
||||
- animation: shooting_star.yaml
|
||||
position: {x: 10, y: 2}
|
||||
velocity: {x: 0, y: 0}
|
||||
boundaries:
|
||||
x1: 10
|
||||
y1: 2
|
||||
x2: 10
|
||||
y2: 2
|
||||
position1: {x: 10, y: 2}
|
||||
position2: {x: 10, y: 2}
|
||||
color: white
|
||||
frame: 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user