Corregido bug en el movimiento de los enemigos

This commit is contained in:
2022-11-12 10:31:29 +01:00
parent 6b4c089683
commit be872971f5
5 changed files with 76 additions and 69 deletions

View File

@@ -8,58 +8,3 @@ roomDown=04.room
roomLeft=01.room
roomRight=03.room
[enemy]
tileSetFile=diskette.png
animation=diskette.ani
width=16
height=16
x=5
y=6
vx=0
vy=0.4
x1=5
y1=4
x2=5
y2=10
color=bright_red
[/enemy]
[enemy]
tileSetFile=diskette.png
animation=diskette.ani
width=16
height=16
x=13
y=1
vx=0
vy=0.4
x1=13
y1=1
x2=13
y2=9
color=red
[/enemy]
[enemy]
tileSetFile=chip.png
animation=chip.ani
width=8
height=16
x=8
y=13
vx=0.4
vy=0
x1=8
y1=13
x2=23
y2=13
color=yellow
[/enemy]
[item]
tileSetFile=items.png
tile=21
x=1
y=9
counter=1
[/item]

View File

@@ -15,13 +15,13 @@ tileSetFile=chip.png
animation=chip.ani
width=8
height=16
x=1
x=7
y=3
vx=1
vy=0
x1=1
x1=2
y1=3
x2=14
x2=13
y2=3
color=magenta
[/enemy]

View File

@@ -1,4 +1,4 @@
name=I REMEMBER THIS ONE TOO
name=I DID NOT COPY THIS ONE
bgColor=black
border=magenta
tileMapFile=17.tmx
@@ -13,21 +13,53 @@ tileSetFile=diskette.png
animation=diskette.ani
width=16
height=16
x=2
y=2
x=5
y=6
vx=0
vy=0.4
x1=5
y1=4
x2=5
y2=10
color=bright_red
[/enemy]
[enemy]
tileSetFile=diskette.png
animation=diskette.ani
width=16
height=16
x=13
y=1
vx=0
vy=0.4
x1=13
y1=1
x2=13
y2=9
color=red
[/enemy]
[enemy]
tileSetFile=chip.png
animation=chip.ani
width=8
height=16
x=8
y=13
vx=0.4
vy=0
x1=2
y1=2
x2=2
y2=2
color=magenta
x1=8
y1=13
x2=23
y2=13
color=yellow
[/enemy]
[item]
tileSetFile=items.png
tile=1
x=1
y=1
tile=21
x=2
y=9
counter=1
[/item]