forked from jaildesigner-jailgames/jaildoctors_dilemma
La ventana ya se crea con o sin el borde
This commit is contained in:
@@ -186,3 +186,51 @@ x2=5
|
||||
y2=5
|
||||
color=red
|
||||
[/enemy]
|
||||
|
||||
[enemy]
|
||||
tileset=abad.png
|
||||
animation=abad.ani
|
||||
width=8
|
||||
height=16
|
||||
x=8
|
||||
y=5
|
||||
vx=0
|
||||
vy=0
|
||||
x1=8
|
||||
y1=5
|
||||
x2=8
|
||||
y2=5
|
||||
color=red
|
||||
[/enemy]
|
||||
|
||||
[enemy]
|
||||
tileset=jailbattle_human.png
|
||||
animation=jailbattle_human.ani
|
||||
width=11
|
||||
height=13
|
||||
x=11
|
||||
y=5
|
||||
vx=0
|
||||
vy=0
|
||||
x1=11
|
||||
y1=5
|
||||
x2=11
|
||||
y2=5
|
||||
color=red
|
||||
[/enemy]
|
||||
|
||||
[enemy]
|
||||
tileset=jailbattle_alien.png
|
||||
animation=jailbattle_alien.ani
|
||||
width=13
|
||||
height=15
|
||||
x=14
|
||||
y=5
|
||||
vx=0
|
||||
vy=0
|
||||
x1=14
|
||||
y1=5
|
||||
x2=14
|
||||
y2=5
|
||||
color=red
|
||||
[/enemy]
|
||||
10
media/enemies/abad.ani
Normal file
10
media/enemies/abad.ani
Normal file
@@ -0,0 +1,10 @@
|
||||
frames_per_row=3
|
||||
frame_width=8
|
||||
frame_height=16
|
||||
|
||||
[animation]
|
||||
name=default
|
||||
speed=8
|
||||
loop=0
|
||||
frames=0,1,2
|
||||
[/animation]
|
||||
BIN
media/enemies/abad.png
Normal file
BIN
media/enemies/abad.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 267 B |
10
media/enemies/jailbattle_alien.ani
Normal file
10
media/enemies/jailbattle_alien.ani
Normal file
@@ -0,0 +1,10 @@
|
||||
frames_per_row=2
|
||||
frame_width=13
|
||||
frame_height=15
|
||||
|
||||
[animation]
|
||||
name=default
|
||||
speed=8
|
||||
loop=0
|
||||
frames=0,1
|
||||
[/animation]
|
||||
BIN
media/enemies/jailbattle_alien.png
Normal file
BIN
media/enemies/jailbattle_alien.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 205 B |
10
media/enemies/jailbattle_human.ani
Normal file
10
media/enemies/jailbattle_human.ani
Normal file
@@ -0,0 +1,10 @@
|
||||
frames_per_row=2
|
||||
frame_width=11
|
||||
frame_height=13
|
||||
|
||||
[animation]
|
||||
name=default
|
||||
speed=8
|
||||
loop=0
|
||||
frames=0,1
|
||||
[/animation]
|
||||
BIN
media/enemies/jailbattle_human.png
Normal file
BIN
media/enemies/jailbattle_human.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 189 B |
@@ -110,8 +110,18 @@ bool Director::loadConfig()
|
||||
}
|
||||
|
||||
// Aplica opciones
|
||||
if (options->borderEnabled)
|
||||
{
|
||||
const int incWidth = GAMECANVAS_WIDTH * options->borderSize;
|
||||
const int incHeight = GAMECANVAS_HEIGHT * options->borderSize;
|
||||
options->screenWidth = (GAMECANVAS_WIDTH + incWidth) * options->windowSize;
|
||||
options->screenHeight = (GAMECANVAS_HEIGHT + incHeight) * options->windowSize;
|
||||
}
|
||||
else
|
||||
{
|
||||
options->screenWidth = GAMECANVAS_WIDTH * options->windowSize;
|
||||
options->screenHeight = GAMECANVAS_HEIGHT * options->windowSize;
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
@@ -401,6 +411,12 @@ bool Director::setFileList()
|
||||
asset->add("/media/enemies/tuno.ani", data);
|
||||
asset->add("/media/enemies/matatunos.png", bitmap);
|
||||
asset->add("/media/enemies/matatunos.ani", data);
|
||||
asset->add("/media/enemies/abad.png", bitmap);
|
||||
asset->add("/media/enemies/abad.ani", data);
|
||||
asset->add("/media/enemies/jailbattle_human.png", bitmap);
|
||||
asset->add("/media/enemies/jailbattle_human.ani", data);
|
||||
asset->add("/media/enemies/jailbattle_alien.png", bitmap);
|
||||
asset->add("/media/enemies/jailbattle_alien.ani", data);
|
||||
|
||||
asset->add("/media/player/player.png", bitmap);
|
||||
asset->add("/media/player/player.ani", data);
|
||||
|
||||
16
todo.txt
16
todo.txt
@@ -11,14 +11,14 @@ x (A) Modificar el salto para que coincida con el del JSW, no ha de colisionar l
|
||||
(A) Crear tiles que arrastren, tipo cinta transportadora
|
||||
(A) Tiles animados
|
||||
x (A) Tile que maten (o enemigos?)
|
||||
(A) Cuando mueres, pantalla negra entre vida y vida
|
||||
x (A) Cuando mueres, pantalla negra entre vida y vida
|
||||
x (A) Morir al caer de alto
|
||||
x (A) Crear ascensores (NO SE VA A HACER POR DISEÑO)
|
||||
x (A) Crear rampas
|
||||
x (A) Enemigos de diferente tamaño {cm:2022-08-30}
|
||||
(A) Color de los items al estilo jet set willy de amstrad, que brillan con dos colores
|
||||
x (A) Temporizador de inicio de los items, para poder hacer que brillen a distinto ritmo. Esto es incompatible con lo anterior {cm:2022-08-30}
|
||||
(A) Crear efecto de fade estilo spectrum, cambiando el color de las cosas a rojo, morado, azul, negro
|
||||
x (A) Crear efecto de fade estilo spectrum, cambiando el color de las cosas a rojo, morado, azul, negro
|
||||
x (A) Hacer que los enemigos tengan flip
|
||||
x (A) Cabiar los colores del texto del marcador segun la habitación
|
||||
x (A) Poner la info de debug con la tipografia adecuada {cm:2022-08-30}
|
||||
@@ -38,10 +38,18 @@ x (A) El titulo del juego hacerlo parecido al del Jet Set Willy in Paris
|
||||
x (A) En el titulo del juego, por la parte inferior ha de aparecer una marquesina con texto, al estilo demoscene
|
||||
x (A) La pantalla de titulo no tiene menu, solo un PRESS ENTER TO PLAY
|
||||
(A) Añadir color y efectos a los creditos
|
||||
(A) Arreglar la pantalal de carga para que cargue bit a bit
|
||||
(A) Arreglar la pantalla de carga para que cargue bit a bit
|
||||
(A) La musica del titulo ha de seguir sonando en los creditos y el ¿logo?
|
||||
(A) Menu de pausa/salir
|
||||
(A) Poner el mapa/jugador en pausa
|
||||
x (A) Poner el mapa/jugador en pausa
|
||||
|
||||
(B) El fichero ani ha de calcular cuantos frames hay a partir del tamaño y ver que no hay ningun indice incorrecto
|
||||
(B) Así como no necesitar lo de frames per roomDown
|
||||
(B) Le ha de pasar el w y h al sprite
|
||||
(B) Lo enemigos han de coger el ancho y alto del fichero ani (y si no hay?)
|
||||
(B) Si no se passa parametro, el fichero ani se deduce del png (y si no hay?)
|
||||
|
||||
x (C) Que no cree la ventana y luego añada el borde
|
||||
|
||||
|
||||
## TEMAS
|
||||
|
||||
Reference in New Issue
Block a user