Creando contenido. Los items ya pillan el color desde el archivo de mapa

This commit is contained in:
2022-09-20 20:45:08 +02:00
parent 13046d5dcf
commit e7cc5b49ea
23 changed files with 514 additions and 177 deletions

View File

@@ -1,6 +1,6 @@
name=no 59
name=static
bgColor=black
border=red
border=bright_magenta
tileset=standard.png
roomUp=60.room
roomDown=0
@@ -12,25 +12,90 @@ roomRight=0
[/tilemap]
[enemy]
tileset=diskette.png
animation=diskette.ani
width=16
height=16
x=2
y=2
vx=0
tileset=wave.png
animation=wave.ani
width=8
height=8
x=1
y=10
vx=0.8
vy=0
x1=2
y1=2
x2=2
y2=2
x1=1
y1=10
x2=30
y2=10
color=magenta
[/enemy]
[enemy]
tileset=wave.png
animation=wave.ani
width=8
height=8
x=30
y=4
vx=-0.8
vy=0
x1=1
y1=4
x2=30
y2=4
color=cyan
[/enemy]
[enemy]
tileset=wave.png
animation=wave.ani
width=8
height=8
x=15
y=14
vx=-0.4
vy=0
x1=3
y1=14
x2=30
y2=14
color=green
[/enemy]
[item]
tileset=items.png
tile=1
x=1
y=1
tile=24
x=29
y=13
counter=1
[/item]
[item]
tileset=items.png
tile=24
x=17
y=6
counter=2
[/item]
[item]
tileset=items.png
tile=24
x=9
y=6
counter=3
[/item]
[item]
tileset=items.png
tile=24
x=2
y=9
counter=4
[/item]
[item]
tileset=items.png
tile=24
x=29
y=3
counter=5
[/item]