- [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:
136
data/room/01.yaml
Normal file
136
data/room/01.yaml
Normal file
@@ -0,0 +1,136 @@
|
||||
# THE JAIL
|
||||
room:
|
||||
number: "01"
|
||||
name: "THE JAIL"
|
||||
bgColor: bright_blue
|
||||
border: blue
|
||||
tileSetFile: standard.gif
|
||||
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: null
|
||||
down: null
|
||||
left: null
|
||||
right: "02"
|
||||
|
||||
# Item display colors
|
||||
itemColor1: yellow
|
||||
itemColor2: magenta
|
||||
|
||||
# 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:
|
||||
- [191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191, 191]
|
||||
- [167, 165, 184, 166, 165, 184, 165, 165, 167, 165, 165, 166, 165, 165, 184, 165, 165, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 165]
|
||||
- [210, 180, 210, 212, 210, 180, 210, 211, 212, 210, 180, 210, 210, 211, 210, 212, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42]
|
||||
- [163, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 163, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42]
|
||||
- [42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42]
|
||||
- [42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33]
|
||||
- [42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 33, 33, 33, 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, 33, 33]
|
||||
- [33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, 33]
|
||||
- [33, 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33]
|
||||
- [33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33]
|
||||
- [33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33]
|
||||
- [33, 33, 33, 33, 33, 33, 33, 33, 33, -1, -1, -1, -1, -1, -1, -1, 33, 137, 138, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33]
|
||||
- [33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 33]
|
||||
- [33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 134, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||||
- [33, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 134, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1]
|
||||
- [33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33, 33]
|
||||
|
||||
# Enemies in this room
|
||||
enemies:
|
||||
- animation: jailer_#1.yaml
|
||||
position: {x: 1, y: 13}
|
||||
velocity: {x: 0, y: 0}
|
||||
boundaries:
|
||||
x1: 1
|
||||
y1: 13
|
||||
x2: 1
|
||||
y2: 13
|
||||
color: white
|
||||
|
||||
- animation: jailer_#3.yaml
|
||||
position: {x: 4, y: 13}
|
||||
velocity: {x: 0, y: 0}
|
||||
boundaries:
|
||||
x1: 4
|
||||
y1: 13
|
||||
x2: 4
|
||||
y2: 13
|
||||
color: white
|
||||
|
||||
- animation: jailer_#1.yaml
|
||||
position: {x: 7, y: 13}
|
||||
velocity: {x: 0, y: 0}
|
||||
boundaries:
|
||||
x1: 7
|
||||
y1: 13
|
||||
x2: 7
|
||||
y2: 13
|
||||
color: white
|
||||
|
||||
- animation: jailer_#2.yaml
|
||||
position: {x: 10, y: 13}
|
||||
velocity: {x: 0, y: 0}
|
||||
boundaries:
|
||||
x1: 10
|
||||
y1: 13
|
||||
x2: 10
|
||||
y2: 13
|
||||
color: white
|
||||
|
||||
- animation: jailer_#1.yaml
|
||||
position: {x: 13, y: 13}
|
||||
velocity: {x: 0, y: 0}
|
||||
boundaries:
|
||||
x1: 13
|
||||
y1: 13
|
||||
x2: 13
|
||||
y2: 13
|
||||
color: white
|
||||
|
||||
- animation: elsa.yaml
|
||||
position: {x: 3, y: 9}
|
||||
velocity: {x: 0, y: 0}
|
||||
boundaries:
|
||||
x1: 3
|
||||
y1: 9
|
||||
x2: 3
|
||||
y2: 9
|
||||
color: white
|
||||
|
||||
- animation: elsa.yaml
|
||||
position: {x: 6, y: 9}
|
||||
velocity: {x: 0, y: 0}
|
||||
boundaries:
|
||||
x1: 6
|
||||
y1: 9
|
||||
x2: 6
|
||||
y2: 9
|
||||
color: white
|
||||
|
||||
- animation: lamp.yaml
|
||||
position: {x: 23, y: 6}
|
||||
velocity: {x: 0, y: 0}
|
||||
boundaries:
|
||||
x1: 23
|
||||
y1: 6
|
||||
x2: 23
|
||||
y2: 6
|
||||
color: white
|
||||
|
||||
- animation: bry.yaml
|
||||
position: {x: 17, y: 13}
|
||||
velocity: {x: 0, y: 0}
|
||||
boundaries:
|
||||
x1: 17
|
||||
y1: 13
|
||||
x2: 17
|
||||
y2: 13
|
||||
color: white
|
||||
|
||||
# No items in this room
|
||||
items: []
|
||||
Reference in New Issue
Block a user