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 @@
# THE BASEMENT
room:
number: "54"
name: "THE BASEMENT"
bgColor: black
border: blue
@@ -8,17 +7,17 @@ room:
# Room connections (null for no connection)
connections:
up: "18"
up: 18.yaml
down: null
left: null
right: "55"
right: 55.yaml
# Item display colors
itemColor1: yellow
itemColor2: 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,30 +45,24 @@ enemies:
position: {x: 2, y: 14}
velocity: {x: 30.0, y: 0}
boundaries:
x1: 2
y1: 14
x2: 18
y2: 14
position1: {x: 2, y: 14}
position2: {x: 18, y: 14}
color: magenta
- animation: spider.yaml
position: {x: 10, y: 1}
velocity: {x: 0, y: 60.0}
boundaries:
x1: 10
y1: 1
x2: 10
y2: 6
position1: {x: 10, y: 1}
position2: {x: 10, y: 6}
color: yellow
- animation: spider.yaml
position: {x: 7, y: 11}
velocity: {x: 18.0, y: 0}
boundaries:
x1: 7
y1: 11
x2: 14
y2: 11
position1: {x: 7, y: 11}
position2: {x: 14, y: 11}
color: cyan
# Items in this room