format de fitxers room
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# THE TUBE
|
||||
room:
|
||||
number: "43"
|
||||
name: "THE TUBE"
|
||||
bgColor: black
|
||||
border: blue
|
||||
@@ -8,8 +7,8 @@ room:
|
||||
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: "42"
|
||||
down: "44"
|
||||
up: 42.yaml
|
||||
down: 44.yaml
|
||||
left: null
|
||||
right: null
|
||||
|
||||
@@ -18,7 +17,7 @@ room:
|
||||
itemColor2: red
|
||||
|
||||
# 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: 20, y: 5}
|
||||
velocity: {x: 18.0, y: 0}
|
||||
boundaries:
|
||||
x1: 20
|
||||
y1: 5
|
||||
x2: 23
|
||||
y2: 5
|
||||
position1: {x: 20, y: 5}
|
||||
position2: {x: 23, y: 5}
|
||||
color: cyan
|
||||
|
||||
- animation: spider.yaml
|
||||
position: {x: 22, y: 11}
|
||||
velocity: {x: 18.0, y: 0}
|
||||
boundaries:
|
||||
x1: 20
|
||||
y1: 11
|
||||
x2: 23
|
||||
y2: 11
|
||||
position1: {x: 20, y: 11}
|
||||
position2: {x: 23, y: 11}
|
||||
color: green
|
||||
|
||||
# Items in this room
|
||||
|
||||
Reference in New Issue
Block a user