- [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:
91
data/room/06.yaml
Normal file
91
data/room/06.yaml
Normal file
@@ -0,0 +1,91 @@
|
||||
# WELCOME TO MY ABBEY
|
||||
room:
|
||||
number: "06"
|
||||
name: "WELCOME TO MY ABBEY"
|
||||
bgColor: blue
|
||||
border: yellow
|
||||
tileSetFile: standard.gif
|
||||
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: "15"
|
||||
down: null
|
||||
left: "05"
|
||||
right: "25"
|
||||
|
||||
# Item display colors
|
||||
itemColor1: green
|
||||
itemColor2: bright_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:
|
||||
- [425, 426, 425, 426, -1, -1, -1, -1, 425, 426, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67, 66, 67]
|
||||
- [426, 425, 426, -1, -1, -1, -1, -1, -1, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91, 90, 91]
|
||||
- [92, -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, 92]
|
||||
- [116, -1, -1, -1, 425, 426, 425, 426, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 116]
|
||||
- [116, -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, 116]
|
||||
- [116, -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, 525, 402, 403, 403, 116]
|
||||
- [140, -1, -1, 425, 426, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 525, -1, -1, -1, -1, 116]
|
||||
- [31, -1, -1, -1, 425, 426, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 525, -1, -1, -1, -1, -1, 116]
|
||||
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 525, 402, 403, 403, 403, 404, 549, -1, -1, -1, 116]
|
||||
- [-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 525, -1, -1, -1, -1, -1, -1, -1, 549, -1, -1, 116]
|
||||
- [-1, -1, -1, -1, -1, -1, -1, -1, 555, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 525, -1, -1, -1, -1, -1, -1, -1, -1, -1, 402, 403, 116]
|
||||
- [31, 66, 67, 66, 67, 403, 403, 403, 403, 403, 404, -1, -1, -1, 402, 66, 67, 66, 67, 66, 67, 66, 67, 404, -1, -1, -1, -1, -1, -1, -1, 140]
|
||||
- [31, 90, 91, 90, 91, 225, -1, -1, -1, -1, -1, -1, -1, -1, 91, 90, 91, 90, 91, 90, 91, 90, 91, 225, -1, -1, -1, -1, -1, -1, -1, 31]
|
||||
- [134, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 427, -1, -1, -1, -1, -1, -1, -1]
|
||||
- [134, -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, 555, -1, -1, -1, -1, -1]
|
||||
- [88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89, 88, 89]
|
||||
|
||||
# Enemies in this room
|
||||
enemies:
|
||||
- animation: abad.yaml
|
||||
position: {x: 1, y: 13}
|
||||
velocity: {x: 48.0, y: 0}
|
||||
boundaries:
|
||||
x1: 1
|
||||
y1: 13
|
||||
x2: 23
|
||||
y2: 13
|
||||
color: yellow
|
||||
flip: true
|
||||
|
||||
- animation: spider.yaml
|
||||
position: {x: 24, y: 4}
|
||||
velocity: {x: 0, y: 48.0}
|
||||
boundaries:
|
||||
x1: 24
|
||||
y1: 2
|
||||
x2: 24
|
||||
y2: 7
|
||||
color: green
|
||||
|
||||
# Items in this room
|
||||
items:
|
||||
- tileSetFile: items.gif
|
||||
tile: 49
|
||||
position: {x: 7, y: 2}
|
||||
counter: 1
|
||||
|
||||
- tileSetFile: items.gif
|
||||
tile: 49
|
||||
position: {x: 1, y: 14}
|
||||
counter: 2
|
||||
|
||||
- tileSetFile: items.gif
|
||||
tile: 49
|
||||
position: {x: 18, y: 14}
|
||||
counter: 3
|
||||
|
||||
- tileSetFile: items.gif
|
||||
tile: 49
|
||||
position: {x: 30, y: 9}
|
||||
counter: 4
|
||||
|
||||
- tileSetFile: items.gif
|
||||
tile: 49
|
||||
position: {x: 30, y: 4}
|
||||
counter: 5
|
||||
Reference in New Issue
Block a user