format de fitxers room

This commit is contained in:
2025-11-19 07:59:33 +01:00
parent 932de53609
commit 0a5594b9a8
62 changed files with 641 additions and 1052 deletions

View File

@@ -1,6 +1,5 @@
# YOU SHALL NOT PASS
room:
number: "28"
name: "YOU SHALL NOT PASS"
bgColor: bright_black
border: black
@@ -8,17 +7,17 @@ room:
# Room connections (null for no connection)
connections:
up: "32"
down: "27"
up: 32.yaml
down: 27.yaml
left: null
right: "31"
right: 31.yaml
# Item display colors
itemColor1: bright_magenta
itemColor2: bright_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: 0, y: 5}
velocity: {x: 0, y: 0}
boundaries:
x1: 0
y1: 5
x2: 0
y2: 5
position1: {x: 0, y: 5}
position2: {x: 0, y: 5}
color: yellow
# Items in this room