Añadiendo habitaciones

This commit is contained in:
2022-11-12 10:00:27 +01:00
parent 763126580f
commit 6b4c089683
21 changed files with 302 additions and 128 deletions

View File

@@ -0,0 +1,9 @@
frameWidth=16
frameHeight=16
[animation]
name=default
speed=6
loop=0
frames=0,1,2,3
[/animation]

BIN
data/enemies/crosshair.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 288 B

View File

@@ -0,0 +1,9 @@
frameWidth=16
frameHeight=16
[animation]
name=default
speed=6
loop=0
frames=0,1,2,3,4,5,6,7,8,9,10,11,12
[/animation]

BIN
data/enemies/tree_thing.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -1,12 +1,14 @@
name=SIGMASUA
name=SIGMASUA > TELEGRAM
bgColor=black
border=black
border=blue
tileMapFile=07.tmx
tileSetFile=standard.png
roomUp=0
roomDown=0
roomLeft=08.room
roomRight=04.room
itemColor1=magenta
itemColor2=red
[enemy]
tileSetFile=sigmasua.png
@@ -17,11 +19,27 @@ x=15
y=7
vx=0.8
vy=0
x1=9
x1=7
y1=7
x2=25
x2=23
y2=7
color=bright_red
color=cyan
[/enemy]
[enemy]
tileSetFile=sigmasua.png
animation=sigmasua.ani
width=16
height=16
x=15
y=4
vx=-0.5
vy=0
x1=7
y1=4
x2=23
y2=4
color=blue
[/enemy]
[enemy]
@@ -36,10 +54,26 @@ vy=0.4
x1=3
y1=5
x2=3
y2=12
y2=13
color=bright_red
[/enemy]
[enemy]
tileSetFile=sigmasua.png
animation=sigmasua.ani
width=16
height=16
x=27
y=8
vx=0
vy=-0.4
x1=27
y1=5
x2=27
y2=13
color=yellow
[/enemy]
[enemy]
tileSetFile=sigmasua.png
animation=sigmasua.ani
@@ -74,15 +108,15 @@ color=bright_green
[item]
tileSetFile=items.png
tile=9
tile=67
x=15
y=5
y=6
counter=1
[/item]
[item]
tileSetFile=items.png
tile=9
tile=67
x=1
y=8
counter=2
@@ -90,7 +124,7 @@ counter=2
[item]
tileSetFile=items.png
tile=9
tile=67
x=30
y=8
counter=3
@@ -98,7 +132,7 @@ counter=3
[item]
tileSetFile=items.png
tile=9
tile=67
x=21
y=13
counter=4

View File

@@ -3,22 +3,22 @@
<tileset firstgid="1" source="standard.tsx"/>
<layer id="1" name="Capa de patrones 1" width="32" height="16">
<data encoding="csv">
74,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,
74,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,
74,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,
74,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,
74,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,
74,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,
74,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,
74,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,
74,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,
74,265,0,0,0,0,0,265,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,265,0,0,0,0,0,265,74,
74,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,0,0,0,0,0,0,0,74,
74,0,0,0,0,0,265,265,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,265,265,0,0,0,0,0,0,
74,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,265,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,265,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,74,0,0,0,0,0,0,0,0,
74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74,74
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,
2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,
2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,
2,411,0,0,0,0,0,413,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,413,0,0,0,0,0,411,2,
2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,2,
2,0,0,0,0,0,411,411,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,411,411,0,0,0,0,0,0,
2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,413,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,413,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,
7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
</data>
</layer>
</map>

View File

@@ -3,7 +3,7 @@
<tileset firstgid="1" source="standard.tsx"/>
<layer id="1" name="Capa de patrones 1" width="32" height="16">
<data encoding="csv">
29,297,297,297,297,297,297,297,297,297,297,297,297,297,0,0,0,0,297,297,297,297,297,297,297,297,297,297,297,297,297,29,
29,297,297,297,297,297,297,297,297,297,297,297,297,297,417,0,0,417,297,297,297,297,297,297,297,297,297,297,297,297,297,29,
29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,29,
29,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,29,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,273,273,273,273,0,0,0,0,0,0,0,0,0,0,0,0,0,29,

View File

@@ -7,8 +7,8 @@ roomUp=0
roomDown=0
roomLeft=25.room
roomRight=27.room
itemColor1=yellow
itemColor2=cyan
itemColor1=magenta
itemColor2=red
[enemy]
tileSetFile=batman_bell.png
@@ -146,32 +146,40 @@ color=yellow
[item]
tileSetFile=items.png
tile=37
x=15
tile=60
x=26
y=3
counter=1
[/item]
[item]
tileSetFile=items.png
tile=37
x=15
y=7
tile=60
x=5
y=6
counter=2
[/item]
[item]
tileSetFile=items.png
tile=37
x=15
y=10
tile=60
x=26
y=9
counter=3
[/item]
[item]
tileSetFile=items.png
tile=37
x=15
tile=60
x=4
y=13
counter=4
[/item]
[item]
tileSetFile=items.png
tile=60
x=27
y=13
counter=5
[/item]

View File

@@ -3,10 +3,10 @@
<tileset firstgid="1" source="standard.tsx"/>
<layer id="1" name="Capa de patrones 1" width="32" height="16">
<data encoding="csv">
90,89,94,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,94,
89,94,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,
90,89,94,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,90,41,235,235,0,0,235,235,41,89,90,89,
89,94,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,90,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,89,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,235,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,0,0,0,0,235,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,

View File

@@ -9,16 +9,16 @@ roomLeft=0
roomRight=33.room
[enemy]
tileSetFile=diskette.png
animation=diskette.ani
tileSetFile=tree_thing.png
animation=tree_thing.ani
width=16
height=16
x=23
y=3
y=4
vx=0
vy=0.4
x1=23
y1=3
y1=4
x2=23
y2=13
color=yellow

View File

@@ -3,10 +3,10 @@
<tileset firstgid="1" source="standard.tsx"/>
<layer id="1" name="Capa de patrones 1" width="32" height="16">
<data encoding="csv">
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,235,235,0,0,235,235,41,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0,0,0,0,0,0,41,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0,0,0,0,0,0,41,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,142,0,0,0,0,0,0,0,41,0,235,235,0,0,0,143,0,235,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,143,0,0,0,235,235,0,41,235,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,142,0,0,0,0,0,0,0,41,0,0,0,0,0,0,143,0,235,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,143,0,235,235,235,235,0,41,235,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,235,0,143,0,0,0,0,0,0,41,0,0,0,
0,0,0,0,0,142,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0,0,0,0,0,235,41,0,142,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0,0,0,235,235,0,41,0,0,0,
@@ -15,9 +15,9 @@
0,0,0,71,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0,0,0,0,235,235,41,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,143,0,0,0,0,0,0,143,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,0,143,0,0,0,235,235,0,41,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0,0,0,0,0,0,41,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,41,0,0,0,0,0,0,356,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,235,0,0,0,0,0,356,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,381,0,41,0,0,0,0,0,0,356,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,381,0,41,0,0,0,0,0,0,41,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,235,235,235,41,235,235,0,0,235,235,41,235,188,188
</data>
</layer>

View File

@@ -1,33 +1,100 @@
name=no 34
name=ULA HOP!
bgColor=black
border=red
border=cyan
tileMapFile=34.tmx
tileSetFile=standard.png
roomUp=0
roomDown=32.room
roomLeft=35.room
roomRight=0
itemColor1=green
itemColor2=red
[enemy]
tileSetFile=diskette.png
animation=diskette.ani
width=16
height=16
x=2
y=2
x=20
y=1
vx=0
vy=0.8
x1=20
y1=1
x2=20
y2=13
color=cyan
[/enemy]
[enemy]
tileSetFile=spark.png
animation=spark.ani
width=8
height=16
x=11
y=4
vx=0.5
vy=0
x1=2
y1=2
x2=2
y2=2
color=magenta
x1=11
y1=4
x2=18
y2=4
color=cyan
[/enemy]
[enemy]
tileSetFile=spark.png
animation=spark.ani
width=8
height=16
x=1
y=1
vx=1
vy=0
x1=1
y1=1
x2=29
y2=1
color=yellow
mirror=true
[/enemy]
[enemy]
tileSetFile=wave.png
animation=wave.ani
width=8
height=8
x=1
y=6
vx=0.5
vy=0
x1=1
y1=6
x2=10
y2=6
color=yellow
[/enemy]
[enemy]
tileSetFile=wave.png
animation=wave.ani
width=8
height=8
x=17
y=8
vx=0.9
vy=0
x1=17
y1=8
x2=29
y2=8
color=yellow
[/enemy]
[item]
tileSetFile=items.png
tile=1
x=1
y=1
tile=66
x=29
y=3
counter=1
[/item]

View File

@@ -9,14 +9,14 @@
116,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,140,116,
140,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,116,140,
116,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,140,116,
140,0,0,0,0,0,0,0,0,0,0,114,115,114,115,114,115,114,115,0,0,0,0,0,0,0,0,0,0,0,116,140,
140,0,0,0,0,0,0,0,0,0,0,114,115,114,115,114,115,114,115,0,0,0,0,0,0,0,0,0,0,377,116,140,
116,0,0,0,0,0,0,0,377,0,0,114,115,114,115,114,115,114,115,0,0,0,0,377,377,0,0,0,0,0,140,116,
140,0,0,0,0,0,0,0,0,0,0,0,0,114,115,114,115,0,0,0,0,0,0,0,0,0,0,0,0,0,116,140,
116,0,0,0,377,377,377,0,0,0,0,0,0,115,114,115,114,0,0,377,0,0,0,0,0,0,0,0,0,0,140,116,
140,0,0,0,0,0,0,0,0,0,0,377,0,114,115,114,115,0,0,0,0,0,0,0,0,0,0,0,0,0,116,140,
116,0,0,0,0,0,0,0,0,0,0,0,0,115,114,115,114,0,0,0,0,0,0,0,0,0,114,115,114,115,140,116,
140,0,0,0,0,0,0,0,0,377,0,0,0,114,115,114,115,0,0,0,0,0,0,114,115,114,115,114,115,0,116,140,
0,0,0,0,0,0,0,0,0,0,0,0,377,115,114,115,114,0,0,0,0,0,0,0,0,0,0,0,0,0,140,116,
140,0,0,0,0,0,0,0,0,377,0,0,0,114,115,114,115,0,0,0,0,0,0,0,0,0,0,0,0,0,116,140,
116,0,0,0,377,377,377,0,0,0,0,0,0,115,114,115,114,0,0,0,0,0,377,377,377,377,0,0,0,0,140,116,
140,0,0,0,0,0,0,0,0,0,0,377,0,114,115,114,115,0,0,377,0,0,0,0,0,0,0,0,0,0,116,140,
116,0,0,0,0,0,0,0,0,0,0,0,0,115,114,115,114,0,0,0,0,0,0,0,0,0,431,432,114,115,140,116,
140,0,0,0,0,0,0,0,377,0,0,0,0,114,115,114,115,0,0,0,0,0,0,431,432,431,432,431,432,0,116,140,
0,0,0,0,0,0,0,0,0,0,0,0,377,115,114,115,114,0,0,377,0,0,0,0,0,0,0,0,0,0,140,116,
0,0,0,0,0,0,0,0,0,0,0,0,0,114,115,114,115,0,0,0,0,0,0,0,0,0,0,0,0,0,116,140,
114,115,114,115,114,115,114,115,114,115,114,115,114,115,114,115,114,115,114,115,114,115,114,115,0,0,114,115,114,115,114,115
</data>

View File

@@ -1,4 +1,4 @@
name=THE KITCHEN
name=SANDWITCH AND COUNTER
bgColor=black
border=cyan
tileMapFile=44.tmx
@@ -7,27 +7,46 @@ roomUp=43.room
roomDown=16.room
roomLeft=0
roomRight=0
itemColor1=white
itemColor2=red
[enemy]
tileSetFile=diskette.png
animation=diskette.ani
width=16
tileSetFile=congo.png
animation=congo.ani
width=8
height=16
x=2
y=2
vx=0
y=4
vx=0.5
vy=0
x1=2
y1=2
x2=2
y2=2
color=magenta
y1=4
x2=14
y2=4
color=green
flip=true
[/enemy]
[enemy]
tileSetFile=crosshair.png
animation=crosshair.ani
width=16
height=16
x=23
y=4
vx=0
vy=0.8
x1=23
y1=4
x2=23
y2=13
color=yellow
[/enemy]
[item]
tileSetFile=items.png
tile=1
x=1
y=1
tile=8
x=2
y=2
counter=1
[/item]

View File

@@ -4,20 +4,20 @@
<layer id="1" name="Capa de patrones 1" width="32" height="16">
<data encoding="csv">
44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,44,26,0,0,0,0,0,0,26,44,44,44,44,44,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,413,413,413,413,413,413,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,413,413,0,0,0,0,0,0,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,413,413,413,413,413,413,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,413,413,0,0,0,0,0,0,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,413,413,413,413,413,413,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,413,413,413,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,345,37,37,0,0,0,0,0,0,0,0,37,37,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,345,37,37,0,0,0,0,0,0,0,0,37,37,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,345,37,37,343,343,343,343,343,343,0,0,37,37,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,345,37,37,0,0,0,0,0,0,0,0,37,37,37,37,
37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,345,37,37,0,0,343,0,0,0,0,0,37,37,37,37,
37,37,465,465,465,465,465,465,465,465,465,465,465,465,465,0,0,345,37,37,0,0,0,0,0,0,343,0,37,37,37,37,
37,37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,345,37,37,0,0,0,0,0,0,0,343,37,37,37,37,
37,37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,345,0,0,0,0,343,0,0,0,0,0,37,37,37,37,
37,37,37,0,0,0,0,0,0,0,0,0,0,0,0,345,0,345,0,0,0,0,0,0,0,0,0,0,37,37,37,37,
37,37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,345,0,0,0,0,0,0,0,0,343,0,37,37,37,37,
37,37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,345,0,0,0,343,0,0,0,0,0,0,37,37,37,37,
37,37,37,0,0,0,0,0,0,0,0,0,0,0,345,0,0,345,0,0,0,0,0,0,0,0,343,0,37,37,37,37,
37,37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,345,0,0,0,0,0,0,0,0,0,0,37,37,37,37,
37,37,37,0,0,0,0,0,0,0,0,0,0,0,0,0,0,345,0,0,0,0,343,0,0,0,0,0,37,37,37,37,
38,38,38,38,38,38,38,38,38,38,38,38,38,38,417,0,0,417,38,38,38,38,38,38,38,38,38,38,38,38,38,38
</data>
</layer>

View File

@@ -3,22 +3,22 @@
<tileset firstgid="1" source="standard.tsx"/>
<layer id="1" name="Capa de patrones 1" width="32" height="16">
<data encoding="csv">
25,25,25,25,25,25,25,25,25,25,25,25,25,25,0,0,0,0,25,25,25,25,25,25,25,25,25,25,25,25,25,25,
25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,
25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,
25,0,0,0,0,0,0,0,0,0,0,0,0,0,411,411,411,411,0,0,0,0,0,0,0,0,0,0,0,0,0,25,
25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,
25,0,0,0,0,0,0,0,0,0,0,0,0,411,0,0,0,0,411,0,0,0,0,0,0,0,0,0,0,0,0,25,
25,0,0,0,0,308,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,308,0,0,0,0,25,
25,0,0,0,0,0,0,0,0,0,411,411,411,411,0,0,0,0,411,411,411,411,0,0,0,0,0,0,0,0,0,25,
25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,
25,0,0,0,0,0,0,0,0,0,0,0,0,0,411,0,0,411,0,0,0,0,0,0,0,0,0,0,0,0,0,25,
25,0,0,0,308,0,0,0,0,308,0,0,0,0,0,0,0,0,0,0,0,0,308,0,0,0,0,308,0,0,0,25,
25,0,0,0,0,0,0,0,0,0,0,0,0,0,411,411,411,411,0,0,0,0,0,0,0,0,0,0,0,0,0,25,
25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,
25,0,0,0,0,0,0,0,0,0,0,0,0,411,0,0,0,0,411,0,0,0,0,0,0,0,0,0,0,0,0,25,
25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,
25,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,0,0,411,411,411,25
28,28,28,28,28,28,28,28,28,28,28,28,28,28,0,0,0,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,
28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,
28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,
28,0,0,0,0,0,0,0,0,0,0,0,0,0,411,411,411,411,0,0,0,0,0,0,0,0,0,0,0,0,0,28,
28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,
28,0,0,0,0,0,0,0,0,0,0,0,0,411,0,0,0,0,411,0,0,0,0,0,0,0,0,0,0,0,0,28,
28,0,0,0,0,308,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,308,0,0,0,0,28,
28,0,0,0,0,0,0,0,0,0,411,411,411,411,0,0,0,0,411,411,411,411,0,0,0,0,0,0,0,0,0,28,
28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,
28,0,0,0,0,0,0,0,0,0,0,0,0,0,411,0,0,411,0,0,0,0,0,0,0,0,0,0,0,0,0,28,
28,0,0,0,308,0,0,0,0,308,0,0,0,0,0,0,0,0,0,0,0,0,308,0,0,0,0,308,0,0,0,28,
28,0,0,0,0,0,0,0,0,0,0,0,0,0,411,411,411,411,0,0,0,0,0,0,0,0,0,0,0,0,0,28,
28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,
28,0,0,0,0,0,0,0,0,0,0,0,0,411,0,0,0,0,411,0,0,0,0,0,0,0,0,0,0,0,0,28,
28,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,28,
28,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,0,0,411,411,411,28
</data>
</layer>
</map>

View File

@@ -366,6 +366,7 @@ void Director::loadResources(section_t section)
textureList.push_back("chip.png");
textureList.push_back("code.png");
textureList.push_back("congo.png");
textureList.push_back("crosshair.png");
textureList.push_back("demon.png");
textureList.push_back("heavy.png");
textureList.push_back("dimallas.png");
@@ -390,6 +391,7 @@ void Director::loadResources(section_t section)
textureList.push_back("sigmasua.png");
textureList.push_back("spider.png");
textureList.push_back("spark.png");
textureList.push_back("tree_thing.png");
textureList.push_back("tuno.png");
textureList.push_back("tv_panel.png");
textureList.push_back("tv.png");
@@ -426,6 +428,7 @@ void Director::loadResources(section_t section)
animationList.push_back("chip.ani");
animationList.push_back("code.ani");
animationList.push_back("congo.ani");
animationList.push_back("crosshair.ani");
animationList.push_back("demon.ani");
animationList.push_back("heavy.ani");
animationList.push_back("dimallas.ani");
@@ -450,6 +453,7 @@ void Director::loadResources(section_t section)
animationList.push_back("sigmasua.ani");
animationList.push_back("spider.ani");
animationList.push_back("spark.ani");
animationList.push_back("tree_thing.ani");
animationList.push_back("tuno.ani");
animationList.push_back("tv_panel.ani");
animationList.push_back("tv.ani");
@@ -499,7 +503,14 @@ void Director::loadResources(section_t section)
std::vector<std::string> textureList;
// Jugador
textureList.push_back("player.png");
if (options->cheat.altSkin)
{
textureList.push_back("player2.png");
}
else
{
textureList.push_back("player.png");
}
// Tilesets
textureList.push_back("standard.png");
@@ -526,6 +537,7 @@ void Director::loadResources(section_t section)
textureList.push_back("chip.png");
textureList.push_back("code.png");
textureList.push_back("congo.png");
textureList.push_back("crosshair.png");
textureList.push_back("demon.png");
textureList.push_back("heavy.png");
textureList.push_back("dimallas.png");
@@ -550,6 +562,7 @@ void Director::loadResources(section_t section)
textureList.push_back("sigmasua.png");
textureList.push_back("spark.png");
textureList.push_back("spider.png");
textureList.push_back("tree_thing.png");
textureList.push_back("tuno.png");
textureList.push_back("tv_panel.png");
textureList.push_back("tv.png");
@@ -570,7 +583,14 @@ void Director::loadResources(section_t section)
std::vector<std::string> animationList;
// Jugador
animationList.push_back("player.ani");
if (options->cheat.altSkin)
{
animationList.push_back("player2.ani");
}
else
{
animationList.push_back("player.ani");
}
// Enemigos
animationList.push_back("abad.ani");
@@ -593,6 +613,7 @@ void Director::loadResources(section_t section)
animationList.push_back("chip.ani");
animationList.push_back("code.ani");
animationList.push_back("congo.ani");
animationList.push_back("crosshair.ani");
animationList.push_back("demon.ani");
animationList.push_back("heavy.ani");
animationList.push_back("dimallas.ani");
@@ -617,6 +638,7 @@ void Director::loadResources(section_t section)
animationList.push_back("sigmasua.ani");
animationList.push_back("spark.ani");
animationList.push_back("spider.ani");
animationList.push_back("tree_thing.ani");
animationList.push_back("tuno.ani");
animationList.push_back("tv_panel.ani");
animationList.push_back("tv.ani");
@@ -1175,6 +1197,8 @@ bool Director::setFileList()
asset->add(prefix + "/data/enemies/code.png", t_bitmap);
asset->add(prefix + "/data/enemies/congo.ani", t_data);
asset->add(prefix + "/data/enemies/congo.png", t_bitmap);
asset->add(prefix + "/data/enemies/crosshair.ani", t_data);
asset->add(prefix + "/data/enemies/crosshair.png", t_bitmap);
asset->add(prefix + "/data/enemies/demon.ani", t_data);
asset->add(prefix + "/data/enemies/demon.png", t_bitmap);
asset->add(prefix + "/data/enemies/heavy.ani", t_data);
@@ -1223,6 +1247,8 @@ bool Director::setFileList()
asset->add(prefix + "/data/enemies/spark.png", t_bitmap);
asset->add(prefix + "/data/enemies/spider.ani", t_data);
asset->add(prefix + "/data/enemies/spider.png", t_bitmap);
asset->add(prefix + "/data/enemies/tree_thing.ani", t_data);
asset->add(prefix + "/data/enemies/tree_thing.png", t_bitmap);
asset->add(prefix + "/data/enemies/tuno.ani", t_data);
asset->add(prefix + "/data/enemies/tuno.png", t_bitmap);
asset->add(prefix + "/data/enemies/tv_panel.ani", t_data);

View File

@@ -332,6 +332,8 @@ void Ending2::iniSpriteList()
spriteList.push_back("lamp");
spriteList.push_back("macaronni_ted");
spriteList.push_back("congo");
spriteList.push_back("crosshair");
spriteList.push_back("tree_thing");
spriteList.push_back("matatunos");
spriteList.push_back("tuno");

View File

@@ -18,15 +18,7 @@ Player::Player(player_t player)
sprite = new AnimatedSprite(renderer, resource->getAnimation(player.animation));
// Inicializa variables
color = stringToColor(options->palette, "white");
if (options->cheat.infiniteLives)
{
color = stringToColor(options->palette, "yellow");
}
if (options->cheat.invincible)
{
color = stringToColor(options->palette, "cyan");
}
reLoadPalette();
onBorder = false;
border = BORDER_TOP;
autoMovement = false;
@@ -708,6 +700,14 @@ void Player::reLoadTexture()
void Player::reLoadPalette()
{
color = stringToColor(options->palette, "white");
if (options->cheat.infiniteLives)
{
color = stringToColor(options->palette, "yellow");
}
if (options->cheat.invincible)
{
color = stringToColor(options->palette, "cyan");
}
}
// Establece el valor de la variable

View File

@@ -13,9 +13,9 @@ ScoreBoard::ScoreBoard(SDL_Renderer *renderer, Resource *resource, Asset *asset,
this->options = options;
// Reserva memoria para los objetos
// playerTexture = resource->getTexture("player.png");
itemTexture = resource->getTexture("items.png");
sprite = new AnimatedSprite(renderer, resource->getAnimation("player.ani"));
const std::string playerANI = options->cheat.altSkin ? "player2.ani" : "player.ani";
sprite = new AnimatedSprite(renderer, resource->getAnimation(playerANI));
sprite->setCurrentAnimation("walk_menu");
text = new Text(resource->getOffset("smb2.txt"), resource->getTexture("smb2.png"), renderer);
@@ -161,7 +161,7 @@ void ScoreBoard::updateItemsColor()
return;
}
if (counter % 20 <10)
if (counter % 20 < 10)
{
itemsColor = stringToColor(options->palette, "white");
}