migrats els fitxers .room i .tmx a .yaml unificats

This commit is contained in:
2025-11-17 08:20:02 +01:00
parent a5d43dfb1f
commit 23fe4a35a9
298 changed files with 18063 additions and 507 deletions

60
data/room/52.yaml Normal file
View File

@@ -0,0 +1,60 @@
# BREAKOUT.LUA
room:
number: "52"
name: "BREAKOUT.LUA"
bgColor: black
border: black
tileSetFile: standard.gif
# Room connections (null for no connection)
connections:
up: null
down: null
left: null
right: "51"
# Item display colors
itemColor1: bright_white
itemColor2: black
# Conveyor belt direction: left (-1), none (0), right (1)
autoSurface: 0
# Tilemap: 16 rows × 32 columns (256×192 pixels @ 8px/tile)
# Values are 0-based tile indices (0 = empty)
tilemap:
- [183, 181, 181, 181, 181, 181, 181, 181, 290, 290, 181, 181, 186, 186, 186, 186, 186, 186, 309, 186, 186, 186, 186, 186, 186, 186, 184, 184, 184, 184, 296, 296]
- [183, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 288]
- [183, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 180]
- [183, -1, 180, 180, 181, 181, 183, 183, 184, 184, 182, 182, 185, 185, 180, 180, 181, 181, 183, 183, 184, 184, 182, 182, -1, -1, -1, -1, -1, -1, -1, 180]
- [183, -1, 185, 185, 180, 180, 181, 181, 183, 183, 184, 184, 182, 182, 185, 185, 180, 180, 181, 181, 183, 183, 184, 184, -1, -1, -1, -1, -1, -1, -1, 180]
- [183, -1, 182, 182, 185, 185, 180, 180, 181, 181, 183, 183, 184, 184, 182, 182, 185, 185, 180, 180, 181, 181, 183, 183, -1, -1, -1, -1, -1, -1, -1, 180]
- [183, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 180]
- [183, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 180]
- [183, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 180]
- [185, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 180]
- [185, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [185, -1, -1, 183, -1, -1, -1, -1, 183, -1, -1, -1, -1, 185, -1, -1, -1, -1, -1, -1, -1, 182, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
- [185, -1, 183, 183, 183, 184, -1, -1, 183, -1, -1, -1, 182, 182, -1, -1, -1, 184, 184, -1, -1, 182, 292, 292, 182, -1, -1, -1, -1, -1, -1, -1]
- [185, -1, 183, 186, 186, 186, 180, -1, 185, 183, -1, 182, 182, 292, -1, 184, 184, 184, 296, 184, -1, 182, 182, 182, 182, -1, -1, -1, -1, -1, -1, -1]
- [185, 181, 181, 290, 181, 181, 181, 181, 183, 183, 183, 183, 294, 183, 183, 183, 183, 185, 185, 298, 185, 185, 185, 185, 185, 185, -1, -1, -1, -1, -1, -1]
- [182, 182, 182, 182, 182, 292, 288, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 180, 184, 184, 184, 184, 184, 184, 184, 184, 184, 184]
# Enemies in this room
enemies:
- animation: breakout.ani
position: {x: 1, y: 6}
velocity: {x: 132.0, y: 0}
boundaries:
x1: 1
y1: 6
x2: 22
y2: 6
color: white
# Items in this room
items:
- tileSetFile: items.gif
tile: 39
position: {x: 1, y: 13}
counter: 1