format de fitxers room
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# THE BATTLE NEVER ENDS
|
||||
room:
|
||||
number: "47"
|
||||
name: "THE BATTLE NEVER ENDS"
|
||||
bgColor: black
|
||||
border: white
|
||||
@@ -8,9 +7,9 @@ room:
|
||||
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: "51"
|
||||
up: 51.yaml
|
||||
down: null
|
||||
left: "48"
|
||||
left: 48.yaml
|
||||
right: null
|
||||
|
||||
# Item display colors
|
||||
@@ -18,7 +17,7 @@ room:
|
||||
itemColor2: yellow
|
||||
|
||||
# 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: 3}
|
||||
velocity: {x: 48.0, y: 0}
|
||||
boundaries:
|
||||
x1: 3
|
||||
y1: 3
|
||||
x2: 27
|
||||
y2: 3
|
||||
position1: {x: 3, y: 3}
|
||||
position2: {x: 27, y: 3}
|
||||
color: green
|
||||
flip: true
|
||||
|
||||
@@ -57,10 +54,8 @@ enemies:
|
||||
position: {x: 25, y: 4}
|
||||
velocity: {x: 0, y: 48.0}
|
||||
boundaries:
|
||||
x1: 25
|
||||
y1: 4
|
||||
x2: 25
|
||||
y2: 10
|
||||
position1: {x: 25, y: 4}
|
||||
position2: {x: 25, y: 10}
|
||||
color: yellow
|
||||
flip: true
|
||||
|
||||
@@ -68,10 +63,8 @@ enemies:
|
||||
position: {x: 7, y: 6}
|
||||
velocity: {x: 0, y: 30.0}
|
||||
boundaries:
|
||||
x1: 7
|
||||
y1: 6
|
||||
x2: 7
|
||||
y2: 13
|
||||
position1: {x: 7, y: 6}
|
||||
position2: {x: 7, y: 13}
|
||||
color: red
|
||||
flip: true
|
||||
|
||||
@@ -79,10 +72,8 @@ enemies:
|
||||
position: {x: 18, y: 13}
|
||||
velocity: {x: 30.0, y: 0}
|
||||
boundaries:
|
||||
x1: 15
|
||||
y1: 13
|
||||
x2: 27
|
||||
y2: 13
|
||||
position1: {x: 15, y: 13}
|
||||
position2: {x: 27, y: 13}
|
||||
color: cyan
|
||||
flip: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user