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 @@
# NOW THIS IS THE BATCAVE!
room:
number: "15"
name: "NOW THIS IS THE BATCAVE!"
bgColor: black
border: black
@@ -8,8 +7,8 @@ room:
# Room connections (null for no connection)
connections:
up: "14"
down: "06"
up: 14.yaml
down: 06.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,10 +45,8 @@ enemies:
position: {x: 17, y: 13}
velocity: {x: 48.0, y: 0}
boundaries:
x1: 7
y1: 13
x2: 29
y2: 13
position1: {x: 7, y: 13}
position2: {x: 29, y: 13}
color: white
flip: true
@@ -57,30 +54,24 @@ enemies:
position: {x: 14, y: 2}
velocity: {x: 30.0, y: 0}
boundaries:
x1: 9
y1: 2
x2: 30
y2: 2
position1: {x: 9, y: 2}
position2: {x: 30, y: 2}
color: bright_blue
- animation: bat.yaml
position: {x: 10, y: 10}
velocity: {x: 30.0, y: 0}
boundaries:
x1: 1
y1: 10
x2: 30
y2: 10
position1: {x: 1, y: 10}
position2: {x: 30, y: 10}
color: cyan
- animation: bat.yaml
position: {x: 15, y: 1}
velocity: {x: 0, y: 42.0}
boundaries:
x1: 15
y1: 1
x2: 15
y2: 11
position1: {x: 15, y: 1}
position2: {x: 15, y: 11}
color: red
# Items in this room