- [NEW] Es mostren les propietats dels enemics i els items quan els selecciones. - [NEW] misc::floatToString()
71 lines
3.2 KiB
YAML
71 lines
3.2 KiB
YAML
# ENTRANCE TO THE VALLEY
|
||
room:
|
||
name: "ENTRANCE TO THE VALLEY"
|
||
bgColor: black
|
||
border: red
|
||
tileSetFile: standard.gif
|
||
|
||
# Conexiones de la habitación (null = sin conexión)
|
||
connections:
|
||
up: null
|
||
down: null
|
||
left: 21.yaml
|
||
right: 19.yaml
|
||
|
||
# Colores de los objetos
|
||
itemColor1: magenta
|
||
itemColor2: green
|
||
|
||
# Dirección de la cinta transportadora: left, none, right
|
||
conveyorBelt: none
|
||
|
||
# Tilemap: 16 filas × 32 columnas (256×192 píxeles @ 8px/tile)
|
||
# Índices de tiles (-1 = vacío)
|
||
tilemap:
|
||
- [20, 20, 20, 20, 20, 20, -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]
|
||
- [20, 20, 20, 306, -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]
|
||
- [20, 306, -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]
|
||
- [20, -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]
|
||
- [20, -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]
|
||
- [20, -1, -1, -1, -1, -1, -1, 412, 412, 412, 412, 412, -1, -1, -1, -1, 412, 412, 412, 412, 412, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||
- [20, -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]
|
||
- [20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 412, -1, -1, -1, -1, -1, -1, -1]
|
||
- [20, -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]
|
||
- [20, 20, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 412, 412, 412, 412, 412, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||
- [20, 20, 20, -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]
|
||
- [20, 20, 20, -1, -1, -1, -1, -1, -1, -1, 412, 412, 412, 412, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 412, 412, 412, -1, -1, -1]
|
||
- [306, 306, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 412, 412, 412, 412, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||
- [-1, -1, -1, -1, -1, -1, -1, 555, -1, -1, -1, -1, -1, -1, 555, -1, -1, -1, -1, -1, -1, -1, -1, -1, 555, -1, -1, -1, -1, -1, -1, -1]
|
||
- [20, 20, 20, 20, 20, 20, 20, 20, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155, 155]
|
||
|
||
# Enemigos en esta habitación
|
||
enemies:
|
||
- animation: bin.yaml
|
||
position: {x: 8, y: 12}
|
||
velocity: {x: 60.0, y: 0}
|
||
boundaries:
|
||
position1: {x: 8, y: 12}
|
||
position2: {x: 24, y: 12}
|
||
color: green
|
||
|
||
- animation: code.yaml
|
||
position: {x: 13, y: 2}
|
||
velocity: {x: 0, y: 30.0}
|
||
boundaries:
|
||
position1: {x: 13, y: 2}
|
||
position2: {x: 13, y: 9}
|
||
color: yellow
|
||
|
||
# Objetos en esta habitación
|
||
items:
|
||
- tileSetFile: items.gif
|
||
tile: 19
|
||
position: {x: 7, y: 3}
|
||
counter: 1
|
||
|
||
- tileSetFile: items.gif
|
||
tile: 19
|
||
position: {x: 27, y: 8}
|
||
counter: 2
|