format de fitxers room
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
# ROAD TO THE JAIL
|
||||
room:
|
||||
number: "02"
|
||||
name: "ROAD TO THE JAIL"
|
||||
bgColor: black
|
||||
border: blue
|
||||
@@ -9,16 +8,16 @@ room:
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: null
|
||||
down: "04"
|
||||
left: "01"
|
||||
right: "03"
|
||||
down: 04.yaml
|
||||
left: 01.yaml
|
||||
right: 03.yaml
|
||||
|
||||
# Item display colors
|
||||
itemColor1: yellow
|
||||
itemColor2: bright_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,20 +45,16 @@ enemies:
|
||||
position: {x: 4, y: 7}
|
||||
velocity: {x: 36.0, y: 0}
|
||||
boundaries:
|
||||
x1: 4
|
||||
y1: 7
|
||||
x2: 25
|
||||
y2: 7
|
||||
position1: {x: 4, y: 7}
|
||||
position2: {x: 25, y: 7}
|
||||
color: green
|
||||
|
||||
- animation: upv_student.yaml
|
||||
position: {x: 4, y: 13}
|
||||
velocity: {x: 36.0, y: 0}
|
||||
boundaries:
|
||||
x1: 4
|
||||
y1: 13
|
||||
x2: 19
|
||||
y2: 13
|
||||
position1: {x: 4, y: 13}
|
||||
position2: {x: 19, y: 13}
|
||||
color: cyan
|
||||
flip: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user