- [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:
75
data/room/20.yaml
Normal file
75
data/room/20.yaml
Normal file
@@ -0,0 +1,75 @@
|
||||
# ENTRANCE TO THE VALLEY
|
||||
room:
|
||||
number: "20"
|
||||
name: "ENTRANCE TO THE VALLEY"
|
||||
bgColor: black
|
||||
border: red
|
||||
tileSetFile: standard.gif
|
||||
|
||||
# Room connections (null for no connection)
|
||||
connections:
|
||||
up: null
|
||||
down: null
|
||||
left: "21"
|
||||
right: "19"
|
||||
|
||||
# Item display colors
|
||||
itemColor1: magenta
|
||||
itemColor2: green
|
||||
|
||||
# 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:
|
||||
- [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]
|
||||
|
||||
# Enemies in this room
|
||||
enemies:
|
||||
- animation: bin.yaml
|
||||
position: {x: 8, y: 12}
|
||||
velocity: {x: 60.0, y: 0}
|
||||
boundaries:
|
||||
x1: 8
|
||||
y1: 12
|
||||
x2: 24
|
||||
y2: 12
|
||||
color: green
|
||||
|
||||
- animation: code.yaml
|
||||
position: {x: 13, y: 2}
|
||||
velocity: {x: 0, y: 30.0}
|
||||
boundaries:
|
||||
x1: 13
|
||||
y1: 2
|
||||
x2: 13
|
||||
y2: 9
|
||||
color: yellow
|
||||
|
||||
# Items in this room
|
||||
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
|
||||
Reference in New Issue
Block a user