forked from jaildesigner-jailgames/jaildoctors_dilemma
Añadida habitación sigmasua
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name=coruscant
|
name=sigmasua
|
||||||
bgColor=light_black
|
bgColor=black
|
||||||
tileset=standard.png
|
tileset=standard.png
|
||||||
roomUp=03.room
|
roomUp=03.room
|
||||||
roomDown=0
|
roomDown=0
|
||||||
@@ -8,4 +8,100 @@ roomRight=0
|
|||||||
|
|
||||||
[tilemap]
|
[tilemap]
|
||||||
05.tmx
|
05.tmx
|
||||||
[/tilemap]
|
[/tilemap]
|
||||||
|
|
||||||
|
[enemy]
|
||||||
|
tileset=sigmasua.png
|
||||||
|
animation=sigmasua.ani
|
||||||
|
width=16
|
||||||
|
height=16
|
||||||
|
x=15
|
||||||
|
y=7
|
||||||
|
vx=0.8
|
||||||
|
vy=0
|
||||||
|
x1=9
|
||||||
|
y1=7
|
||||||
|
x2=25
|
||||||
|
y2=7
|
||||||
|
color=red
|
||||||
|
[/enemy]
|
||||||
|
|
||||||
|
[enemy]
|
||||||
|
tileset=sigmasua.png
|
||||||
|
animation=sigmasua.ani
|
||||||
|
width=16
|
||||||
|
height=16
|
||||||
|
x=3
|
||||||
|
y=8
|
||||||
|
vx=0
|
||||||
|
vy=0.4
|
||||||
|
x1=3
|
||||||
|
y1=5
|
||||||
|
x2=3
|
||||||
|
y2=12
|
||||||
|
color=red
|
||||||
|
[/enemy]
|
||||||
|
|
||||||
|
[enemy]
|
||||||
|
tileset=sigmasua.png
|
||||||
|
animation=sigmasua.ani
|
||||||
|
width=16
|
||||||
|
height=16
|
||||||
|
x=10
|
||||||
|
y=10
|
||||||
|
vx=0
|
||||||
|
vy=0.3
|
||||||
|
x1=10
|
||||||
|
y1=10
|
||||||
|
x2=10
|
||||||
|
y2=13
|
||||||
|
color=light_red
|
||||||
|
[/enemy]
|
||||||
|
|
||||||
|
[enemy]
|
||||||
|
tileset=sigmasua.png
|
||||||
|
animation=sigmasua.ani
|
||||||
|
width=16
|
||||||
|
height=16
|
||||||
|
x=23
|
||||||
|
y=13
|
||||||
|
vx=0
|
||||||
|
vy=-0.3
|
||||||
|
x1=23
|
||||||
|
y1=10
|
||||||
|
x2=23
|
||||||
|
y2=13
|
||||||
|
color=light_red
|
||||||
|
[/enemy]
|
||||||
|
|
||||||
|
[item]
|
||||||
|
tileset=items.png
|
||||||
|
tile=9
|
||||||
|
counter=1
|
||||||
|
x=21
|
||||||
|
y=3
|
||||||
|
[/item]
|
||||||
|
|
||||||
|
[item]
|
||||||
|
tileset=items.png
|
||||||
|
tile=9
|
||||||
|
counter=2
|
||||||
|
x=1
|
||||||
|
y=8
|
||||||
|
[/item]
|
||||||
|
|
||||||
|
[item]
|
||||||
|
tileset=items.png
|
||||||
|
tile=9
|
||||||
|
counter=3
|
||||||
|
x=26
|
||||||
|
y=14
|
||||||
|
[/item]
|
||||||
|
|
||||||
|
[item]
|
||||||
|
tileset=items.png
|
||||||
|
tile=9
|
||||||
|
counter=4
|
||||||
|
x=18
|
||||||
|
y=5
|
||||||
|
[/item]
|
||||||
@@ -1,24 +1,24 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<map version="1.9" tiledversion="1.9.0" orientation="orthogonal" renderorder="right-down" width="32" height="16" tilewidth="8" tileheight="8" infinite="0" nextlayerid="2" nextobjectid="1">
|
<map version="1.9" tiledversion="1.9.1" orientation="orthogonal" renderorder="right-down" width="32" height="16" tilewidth="8" tileheight="8" infinite="0" nextlayerid="2" nextobjectid="1">
|
||||||
<tileset firstgid="1" source="../../../jaildoctors_dilemma_resources/tilesets/standard.tsx"/>
|
<tileset firstgid="1" source="../../../jaildoctors_dilemma_resources/tilesets/standard.tsx"/>
|
||||||
<layer id="1" name="Capa de patrones 1" width="32" height="16">
|
<layer id="1" name="Capa de patrones 1" width="32" height="16">
|
||||||
<data encoding="csv">
|
<data encoding="csv">
|
||||||
25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48,48
|
68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68,68
|
||||||
</data>
|
</data>
|
||||||
</layer>
|
</layer>
|
||||||
</map>
|
</map>
|
||||||
|
|||||||
10
media/enemies/sigmasua.ani
Normal file
10
media/enemies/sigmasua.ani
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
frames_per_row=4
|
||||||
|
frame_width=16
|
||||||
|
frame_height=16
|
||||||
|
|
||||||
|
[animation]
|
||||||
|
name=default
|
||||||
|
speed=8
|
||||||
|
loop=0
|
||||||
|
frames=0,1,2,3
|
||||||
|
[/animation]
|
||||||
BIN
media/enemies/sigmasua.png
Normal file
BIN
media/enemies/sigmasua.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 241 B |
Binary file not shown.
|
Before Width: | Height: | Size: 331 B After Width: | Height: | Size: 369 B |
@@ -37,7 +37,7 @@ Director::Director(std::string path)
|
|||||||
|
|
||||||
// Inicializa JailAudio
|
// Inicializa JailAudio
|
||||||
initJailAudio();
|
initJailAudio();
|
||||||
|
|
||||||
// Crea los objetos
|
// Crea los objetos
|
||||||
input = new Input(asset->get("gamecontrollerdb.txt"));
|
input = new Input(asset->get("gamecontrollerdb.txt"));
|
||||||
initInput();
|
initInput();
|
||||||
@@ -156,9 +156,9 @@ bool Director::setFileList()
|
|||||||
asset->add("/media/font/smb2.txt", font);
|
asset->add("/media/font/smb2.txt", font);
|
||||||
asset->add("/media/font/debug.png", font);
|
asset->add("/media/font/debug.png", font);
|
||||||
asset->add("/media/font/debug.txt", font);
|
asset->add("/media/font/debug.txt", font);
|
||||||
|
|
||||||
asset->add("/data/gamecontrollerdb.txt", data);
|
asset->add("/data/gamecontrollerdb.txt", data);
|
||||||
|
|
||||||
asset->add("/data/room/01.room", room);
|
asset->add("/data/room/01.room", room);
|
||||||
asset->add("/data/room/02.room", room);
|
asset->add("/data/room/02.room", room);
|
||||||
asset->add("/data/room/03.room", room);
|
asset->add("/data/room/03.room", room);
|
||||||
@@ -169,23 +169,25 @@ bool Director::setFileList()
|
|||||||
asset->add("/data/room/03.tmx", room);
|
asset->add("/data/room/03.tmx", room);
|
||||||
asset->add("/data/room/04.tmx", room);
|
asset->add("/data/room/04.tmx", room);
|
||||||
asset->add("/data/room/05.tmx", room);
|
asset->add("/data/room/05.tmx", room);
|
||||||
|
|
||||||
asset->add("/media/tilesets/standard.png", bitmap);
|
asset->add("/media/tilesets/standard.png", bitmap);
|
||||||
|
|
||||||
asset->add("/media/enemies/paco.png", bitmap);
|
asset->add("/media/enemies/paco.png", bitmap);
|
||||||
asset->add("/media/enemies/paco.ani", data);
|
asset->add("/media/enemies/paco.ani", data);
|
||||||
asset->add("/media/enemies/chip.png", bitmap);
|
asset->add("/media/enemies/chip.png", bitmap);
|
||||||
asset->add("/media/enemies/chip.ani", data);
|
asset->add("/media/enemies/chip.ani", data);
|
||||||
asset->add("/media/enemies/wave.png", bitmap);
|
asset->add("/media/enemies/wave.png", bitmap);
|
||||||
asset->add("/media/enemies/wave.ani", data);
|
asset->add("/media/enemies/wave.ani", data);
|
||||||
|
asset->add("/media/enemies/sigmasua.png", bitmap);
|
||||||
|
asset->add("/media/enemies/sigmasua.ani", data);
|
||||||
|
|
||||||
asset->add("/media/player/player01.png", bitmap);
|
asset->add("/media/player/player01.png", bitmap);
|
||||||
asset->add("/media/player/player01.ani", data);
|
asset->add("/media/player/player01.ani", data);
|
||||||
|
|
||||||
asset->add("/media/items/items.png", bitmap);
|
asset->add("/media/items/items.png", bitmap);
|
||||||
|
|
||||||
asset->add("/media/music/jd.ogg", music);
|
asset->add("/media/music/jd.ogg", music);
|
||||||
|
|
||||||
asset->add("/media/sound/item.wav", sound);
|
asset->add("/media/sound/item.wav", sound);
|
||||||
|
|
||||||
return asset->check();
|
return asset->check();
|
||||||
|
|||||||
Reference in New Issue
Block a user