format de fitxers room
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# THE GARDEN
|
||||
room:
|
||||
number: "08"
|
||||
name: "THE GARDEN"
|
||||
bgColor: black
|
||||
border: cyan
|
||||
@@ -8,17 +7,17 @@ room:
|
||||
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: "09"
|
||||
up: 09.yaml
|
||||
down: null
|
||||
left: "16"
|
||||
right: "07"
|
||||
left: 16.yaml
|
||||
right: 07.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,10 +45,8 @@ enemies:
|
||||
position: {x: 4, y: 13}
|
||||
velocity: {x: 24.0, y: 0}
|
||||
boundaries:
|
||||
x1: 2
|
||||
y1: 13
|
||||
x2: 10
|
||||
y2: 13
|
||||
position1: {x: 2, y: 13}
|
||||
position2: {x: 10, y: 13}
|
||||
color: green
|
||||
flip: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user