format de fitxers room
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# THE BIG TREE
|
||||
room:
|
||||
number: "09"
|
||||
name: "THE BIG TREE"
|
||||
bgColor: black
|
||||
border: bright_blue
|
||||
@@ -8,8 +7,8 @@ room:
|
||||
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: "10"
|
||||
down: "08"
|
||||
up: 10.yaml
|
||||
down: 08.yaml
|
||||
left: null
|
||||
right: null
|
||||
|
||||
@@ -18,7 +17,7 @@ room:
|
||||
itemColor2: green
|
||||
|
||||
# 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: 12}
|
||||
velocity: {x: 24.0, y: 0}
|
||||
boundaries:
|
||||
x1: 10
|
||||
y1: 12
|
||||
x2: 20
|
||||
y2: 12
|
||||
position1: {x: 10, y: 12}
|
||||
position2: {x: 20, y: 12}
|
||||
color: yellow
|
||||
flip: true
|
||||
|
||||
@@ -57,10 +54,8 @@ enemies:
|
||||
position: {x: 12, y: 6}
|
||||
velocity: {x: 36.0, y: 0}
|
||||
boundaries:
|
||||
x1: 12
|
||||
y1: 6
|
||||
x2: 17
|
||||
y2: 6
|
||||
position1: {x: 12, y: 6}
|
||||
position2: {x: 17, y: 6}
|
||||
color: white
|
||||
flip: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user