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 @@
# I DID NOT COPY THIS ONE
room:
number: "17"
name: "I DID NOT COPY THIS ONE"
bgColor: black
border: magenta
@@ -9,16 +8,16 @@ room:
# Room connections (null for no connection)
connections:
up: null
down: "18"
left: "49"
right: "16"
down: 18.yaml
left: 49.yaml
right: 16.yaml
# Item display colors
itemColor1: yellow
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,30 +45,24 @@ enemies:
position: {x: 5, y: 6}
velocity: {x: 0, y: 24.0}
boundaries:
x1: 5
y1: 4
x2: 5
y2: 10
position1: {x: 5, y: 4}
position2: {x: 5, y: 10}
color: green
- animation: floppy.yaml
position: {x: 12, y: 3}
velocity: {x: 0, y: 24.0}
boundaries:
x1: 12
y1: 2
x2: 12
y2: 9
position1: {x: 12, y: 2}
position2: {x: 12, y: 9}
color: cyan
- animation: chip.yaml
position: {x: 8, y: 13}
velocity: {x: 24.0, y: 0}
boundaries:
x1: 8
y1: 13
x2: 18
y2: 13
position1: {x: 8, y: 13}
position2: {x: 18, y: 13}
color: yellow
# Items in this room