format de fitxers room
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# WE NEED A ROBOT
|
||||
room:
|
||||
number: "49"
|
||||
name: "WE NEED A ROBOT"
|
||||
bgColor: black
|
||||
border: red
|
||||
@@ -8,17 +7,17 @@ room:
|
||||
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: "48"
|
||||
up: 48.yaml
|
||||
down: null
|
||||
left: "50"
|
||||
right: "17"
|
||||
left: 50.yaml
|
||||
right: 17.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: 10, y: 8}
|
||||
velocity: {x: 42.0, y: 0}
|
||||
boundaries:
|
||||
x1: 1
|
||||
y1: 8
|
||||
x2: 29
|
||||
y2: 8
|
||||
position1: {x: 1, y: 8}
|
||||
position2: {x: 29, y: 8}
|
||||
color: yellow
|
||||
flip: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user