58 lines
3.1 KiB
YAML
58 lines
3.1 KiB
YAML
# BREAKOUT.LUA
|
||
room:
|
||
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.yaml
|
||
|
||
# Item display colors
|
||
itemColor1: bright_white
|
||
itemColor2: black
|
||
|
||
# Conveyor belt direction: left (-1), none (0), right (1)
|
||
autoSurface: none
|
||
|
||
# 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.yaml
|
||
position: {x: 1, y: 6}
|
||
velocity: {x: 132.0, y: 0}
|
||
boundaries:
|
||
position1: {x: 1, y: 6}
|
||
position2: {x: 22, y: 6}
|
||
color: white
|
||
|
||
# Items in this room
|
||
items:
|
||
- tileSetFile: items.gif
|
||
tile: 39
|
||
position: {x: 1, y: 13}
|
||
counter: 1
|