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 @@
# WELCOME TO MY ABBEY
room:
number: "06"
name: "WELCOME TO MY ABBEY"
bgColor: blue
border: yellow
@@ -8,17 +7,17 @@ room:
# Room connections (null for no connection)
connections:
up: "15"
up: 15.yaml
down: null
left: "05"
right: "25"
left: 05.yaml
right: 25.yaml
# Item display colors
itemColor1: green
itemColor2: bright_blue
# 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: 1, y: 13}
velocity: {x: 48.0, y: 0}
boundaries:
x1: 1
y1: 13
x2: 23
y2: 13
position1: {x: 1, y: 13}
position2: {x: 23, y: 13}
color: yellow
flip: true
@@ -57,10 +54,8 @@ enemies:
position: {x: 24, y: 4}
velocity: {x: 0, y: 48.0}
boundaries:
x1: 24
y1: 2
x2: 24
y2: 7
position1: {x: 24, y: 2}
position2: {x: 24, y: 7}
color: green
# Items in this room