- [NEW] Ficades les habitacions amb el nou format YAML
- [NEW] Afegit el fkYAML de una capçalera - [NEW] El treeview ja funciona com deu mana - [NEW] En el treeview ja funciona el scroll amb el mouse sheel - [NEW] El treeview ja mostra les habitacions i els enemics (falten items)
This commit is contained in:
97
data/room/19.yaml
Normal file
97
data/room/19.yaml
Normal file
@@ -0,0 +1,97 @@
|
||||
# THIS CAN'T BE THE BATCAVE
|
||||
room:
|
||||
number: "19"
|
||||
name: "THIS CAN'T BE THE BATCAVE"
|
||||
bgColor: black
|
||||
border: cyan
|
||||
tileSetFile: standard.gif
|
||||
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: null
|
||||
down: null
|
||||
left: "20"
|
||||
right: "18"
|
||||
|
||||
# Item display colors
|
||||
itemColor1: cyan
|
||||
itemColor2: blue
|
||||
|
||||
# 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:
|
||||
- [348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348, 348]
|
||||
- [-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, 187]
|
||||
- [-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, 187]
|
||||
- [-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, 187]
|
||||
- [-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, 187]
|
||||
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, 37, 37, 37, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 187]
|
||||
- [-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, 187]
|
||||
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 240, 240, -1, -1, -1, -1, -1, -1, 240, 240, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 187]
|
||||
- [-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, 187]
|
||||
- [-1, -1, -1, -1, -1, -1, 37, 37, 240, 240, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 240, 240, 37, 37, -1, -1, -1, -1, -1, 187]
|
||||
- [-1, -1, -1, -1, -1, 37, 37, -1, -1, -1, -1, 240, 240, -1, -1, -1, -1, -1, -1, 240, 240, -1, -1, -1, -1, 37, 37, -1, -1, -1, -1, -1]
|
||||
- [-1, -1, -1, -1, 37, 37, -1, -1, -1, -1, -1, -1, -1, -1, 240, 240, 240, 240, -1, -1, -1, -1, -1, -1, -1, -1, 37, 37, -1, -1, -1, -1]
|
||||
- [-1, -1, -1, -1, 37, -1, -1, -1, -1, -1, -1, 240, 240, -1, -1, -1, -1, -1, -1, 240, 240, -1, -1, -1, -1, -1, -1, 37, -1, -1, -1, -1]
|
||||
- [-1, -1, -1, 240, 37, -1, -1, -1, 240, 240, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 240, 240, -1, -1, -1, 37, 240, -1, -1, -1]
|
||||
- [-1, -1, -1, -1, 37, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 37, -1, -1, -1, -1]
|
||||
- [37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37, 37]
|
||||
|
||||
# Enemies in this room
|
||||
enemies:
|
||||
- animation: batman.yaml
|
||||
position: {x: 10, y: 13}
|
||||
velocity: {x: 48.0, y: 0}
|
||||
boundaries:
|
||||
x1: 5
|
||||
y1: 13
|
||||
x2: 26
|
||||
y2: 13
|
||||
color: bright_cyan
|
||||
flip: true
|
||||
|
||||
- animation: spider.yaml
|
||||
position: {x: 0, y: 1}
|
||||
velocity: {x: 36.0, y: 0}
|
||||
boundaries:
|
||||
x1: 1
|
||||
y1: 1
|
||||
x2: 31
|
||||
y2: 1
|
||||
color: cyan
|
||||
mirror: true
|
||||
|
||||
# Items in this room
|
||||
items:
|
||||
- tileSetFile: items.gif
|
||||
tile: 34
|
||||
position: {x: 14, y: 6}
|
||||
counter: 1
|
||||
|
||||
- tileSetFile: items.gif
|
||||
tile: 34
|
||||
position: {x: 15, y: 6}
|
||||
counter: 2
|
||||
|
||||
- tileSetFile: items.gif
|
||||
tile: 34
|
||||
position: {x: 16, y: 6}
|
||||
counter: 3
|
||||
|
||||
- tileSetFile: items.gif
|
||||
tile: 34
|
||||
position: {x: 17, y: 6}
|
||||
counter: 4
|
||||
|
||||
- tileSetFile: items.gif
|
||||
tile: 34
|
||||
position: {x: 5, y: 12}
|
||||
counter: 5
|
||||
|
||||
- tileSetFile: items.gif
|
||||
tile: 34
|
||||
position: {x: 26, y: 12}
|
||||
counter: 6
|
||||
Reference in New Issue
Block a user