format de fitxers room
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# ENTRANCE TO THE VALLEY
|
||||
room:
|
||||
number: "20"
|
||||
name: "ENTRANCE TO THE VALLEY"
|
||||
bgColor: black
|
||||
border: red
|
||||
@@ -10,15 +9,15 @@ room:
|
||||
connections:
|
||||
up: null
|
||||
down: null
|
||||
left: "21"
|
||||
right: "19"
|
||||
left: 21.yaml
|
||||
right: 19.yaml
|
||||
|
||||
# Item display colors
|
||||
itemColor1: magenta
|
||||
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,20 +45,16 @@ enemies:
|
||||
position: {x: 8, y: 12}
|
||||
velocity: {x: 60.0, y: 0}
|
||||
boundaries:
|
||||
x1: 8
|
||||
y1: 12
|
||||
x2: 24
|
||||
y2: 12
|
||||
position1: {x: 8, y: 12}
|
||||
position2: {x: 24, y: 12}
|
||||
color: green
|
||||
|
||||
- animation: code.yaml
|
||||
position: {x: 13, y: 2}
|
||||
velocity: {x: 0, y: 30.0}
|
||||
boundaries:
|
||||
x1: 13
|
||||
y1: 2
|
||||
x2: 13
|
||||
y2: 9
|
||||
position1: {x: 13, y: 2}
|
||||
position2: {x: 13, y: 9}
|
||||
color: yellow
|
||||
|
||||
# Items in this room
|
||||
|
||||
Reference in New Issue
Block a user