Compare commits

328 Commits

Author SHA1 Message Date
9825c7fb9b Pasaeta de include-what-you-use 2024-10-13 21:58:36 +02:00
d0a6e4c572 Afegits destructors virtuals en les classes Sprite 2024-10-13 21:23:15 +02:00
7c876e1d4d Acabat amb cppcheck
Arreglades les herencies de les classes Sprite
2024-10-13 21:00:33 +02:00
809c10048e Commit pa poder tornar a passar el cppcheck 2024-10-13 19:39:43 +02:00
babf02226c Mes recomanacions de cppcheck 2024-10-13 19:26:27 +02:00
46540ad7c3 Optimitzat el tema de comparacions i asignacions de strings buits. Mes que optimitzat, ara està mes mono 2024-10-13 14:25:05 +02:00
ba7c44ad06 Actualitzat Makefile 2024-10-13 14:24:15 +02:00
46b19ee82f Mes recomanacions de cppcheck aplicades
Abans de tocar unes cosetes de strings buits
2024-10-13 13:49:00 +02:00
b2122ac239 Eliminats fitxers que s'havien colat 2024-10-13 11:04:50 +02:00
c11a868289 Afegides recomanacions de cppcheck
Optimitzada la funció updateBalloonSpeed() i eliminades funcions sobrants o redundants
2024-10-13 11:03:50 +02:00
22d457285d Modificat .gitignore 2024-10-13 11:03:00 +02:00
b060f21696 Arreglades les herencies de Sprite
Abans de llevar mil coses que sobren i replantejar-se estes 4 classes
2024-10-13 10:01:07 +02:00
33ea8d90ca Acabat de renamar, encara que he descobert cosetes i tindré que fer altra pasaeta
Actualitzat stb_image.h a la última versió
2024-10-12 22:25:43 +02:00
cce14dba4d Mes renames. Mes ordre. 2024-10-12 12:03:19 +02:00
101e375fd3 Variables renombrades en input.cpp 2024-10-12 11:01:42 +02:00
4ef759772a game.cpp renombrat 2024-10-12 09:15:20 +02:00
07714aabc3 Abans de renombrar game.cpp 2024-10-12 07:26:41 +02:00
d50cf23721 Abans de renombrar player.cpp 2024-10-11 21:58:59 +02:00
3a6950f3a4 Menudo puto lio de renamar coses, a vore si tot va quedant al lloc que els structs i els enums estan revolant i duplicats per tots llocs 2024-10-11 20:12:50 +02:00
a9ca23138d Continuem estandaritzant noms 2024-10-11 13:54:43 +02:00
e1fa1d2102 Canviades certes opcions a parametres i afegides noves opcions 2024-10-11 09:03:57 +02:00
117b80bdfc idem 2024-10-10 20:59:39 +02:00
d6c3c89872 Estandaritzant noms segons convencions 2024-10-10 20:27:31 +02:00
9e5f41644e Açò ja no hi ha Cristo que ho pete 2024-10-10 13:48:53 +02:00
fc8fdc5fe5 Llevats uns punterets que sobraven en director.cpp 2024-10-10 09:23:16 +02:00
6fe294c59d Pos ja compila pero no es veu una puta merda ... 2024-10-10 08:06:36 +02:00
3fa5b227ae commit de anar a dormir 2024-10-09 23:01:44 +02:00
f2fa216b0d Commit pa que Mon arregle el codi mentre em dutxe 2024-10-09 21:48:01 +02:00
3c1dcad3ab Commit de anar al llit amb el portatil 2024-10-08 23:15:55 +02:00
bd3aa0bb06 Arreglos varios al codi 2024-10-08 22:38:58 +02:00
3e3d764b25 Commitet pa gastar el Cppcheck 2024-10-08 20:32:24 +02:00
c00f4326ae Commit de "guardar partida" 2024-10-08 18:07:54 +02:00
9ce0f16d33 Arreglats els constructors de Text 2024-10-08 18:07:44 +02:00
06a4f439c1 Posant make_uniques, s'ha quedat tot enmerdat per culpa d'un struct 2024-10-08 13:53:24 +02:00
9d41d14d68 Actualitzats els scripts de valgrind 2024-10-07 20:11:08 +02:00
0d0e49316f Afegit scripts a linux-utils 2024-10-07 18:44:18 +02:00
bf945ef14b Corregits 8.000.000 de segmentation faults en intro.cpp 2024-10-07 18:37:08 +02:00
0330fe6b74 Make uniques en intro.cpp 2024-10-07 17:28:34 +02:00
6305a67c84 Actualitzat .gitignore 2024-10-07 17:28:22 +02:00
5f18189269 Actualizado Makefile 2024-10-07 12:32:53 +02:00
7ebefd7b54 Les enum class passen a estar totes amb la inicial en majuscula 2024-10-07 12:30:46 +02:00
cffa4c3c92 Commitet pa valgrind, he aprofitat i posat mes make_unique i enum class 2024-10-07 10:49:29 +02:00
4f0ea9dcf2 Make_unique en title.cpp 2024-10-07 08:22:51 +02:00
b1f936a791 Pasaeta de include-what-you-use abans que es desmadre tot 2024-10-06 22:43:28 +02:00
1c0554d4df Actualitzat script check-includes.sh 2024-10-06 22:43:00 +02:00
8ba77d7d5d Demanada ajuda a la IA pa que m'arregle un poc la meua merda: Para optimizar este código y evitar duplicar la lógica para cada jugador, podemos extraer el código común en una función reutilizable. Así, reducimos la repetición y mejoramos la legibilidad. 2024-10-06 21:07:26 +02:00
6515ec6c7b Els panels dels marcadors ja passen a game over sense pasar per waiting un frame gracies a una parafernalia que he montat 2024-10-06 21:02:49 +02:00
b979c0f2b8 Mes textos 2024-10-06 21:02:12 +02:00
a95e5077e3 Els panels del marcador ara canvien de mode a petició i no a cada frame 2024-10-06 20:19:43 +02:00
6ea6f85e3e Nous textos 2024-10-06 20:14:37 +02:00
fe6e63e39f fix: la classe Screen ja ha recuperat un poc del lustro que tenia
shake effect ja no està fet "the torerous menner"
shake effect ja va amb shaders
2024-10-06 18:57:47 +02:00
afe092c742 Muntat a c++14 per a make_unique
Mes autos, const i constexpr perl codi
Ara la classe Screen es un poc pitjor
2024-10-06 14:58:00 +02:00
25a2753b13 Canviats defines per constexpr i enum class
Canviats punters a unique_ptr
Afegit const a alguns metodes de classse
fix: el segon jugador no podia unirse a la partida
new: Quan els dos jugadors han decidit no continuar, ja no poden continuar i el marcador així ho reflectix
fix: al posar el nom per segona vegada en la mateixa partida, no es reseteja la posició del selector
fix: el fade venetian no netejava la textura i de vegades eixien gràfics corruptes
fix: ara grava a disco cada vegada que es posa nom al morir
2024-10-05 23:53:42 +02:00
ee721ff573 debug 2024-10-03 19:35:58 +02:00
c07fd62037 Corregit bug en el text a l'hora d'intercanviar els mandos. Apareixia el nom del mando que te guardat a la configuració pero no estava connectat 2024-10-03 19:26:32 +02:00
fb74733f2c Correcció de textos 2024-10-03 18:16:20 +02:00
468bd0950c Modificat controllers.png 2024-10-03 18:13:48 +02:00
938e4ad011 La targeta d'ajuda ja ix amb els mandos i s'ha de deixar apretat el botó 2024-10-03 17:37:33 +02:00
71bd3bed52 Eliminades variables sobrants en director.cpp 2024-10-03 17:02:40 +02:00
5ebc58dd01 La tarjeta d'ajuda ja entra i ix amb animacions suavitzades 2024-10-02 18:03:20 +02:00
9b3e549876 Añadidas funciones de suavizado a utils.cpp 2024-10-02 18:00:21 +02:00
abc8a0b632 La tarjeta d'ajuda ix pero no s'amaga 2024-10-02 13:56:43 +02:00
3a84ea792c Ja dibuixa la tarjeta amb la ajuda per als botons de servei 2024-10-01 20:58:05 +02:00
3cabd5c675 Nous textos 2024-10-01 19:07:25 +02:00
2ec242b2c9 Afegit esqueleto per a la classe OnScreenHelp 2024-10-01 18:34:26 +02:00
d993a6def4 Afegit formato Allman a bullet.cpp 2024-10-01 18:16:08 +02:00
5913d7548a Modificat el temps posterior d'aparició de la Powerball 2024-10-01 18:15:42 +02:00
84f3952232 Afegit controllers.png 2024-10-01 18:15:11 +02:00
7dbddd5524 Afegides utilitats per a linux
Arreglats alguns includes
2024-10-01 17:24:38 +02:00
dee5bcb4e4 Canviada la classe bullet per la de chatGPT, aixina demà ho mire amb calma 2024-09-30 23:06:16 +02:00
af1c1051e6 Afegides implementacions (fora del codi) que ha fet chatGPT de la classe bullet 2024-09-30 20:28:20 +02:00
aaf6dc29a1 El joc ja no comença al pulsar la combinació de botons per eixir 2024-09-30 19:45:04 +02:00
0af441b5df Finalitzada la part de entrar nom. Falta posar un temporitzador i una animació 2024-09-30 19:35:41 +02:00
6acf0b7efc Modificada la posició de PULSA PER JUGAR al titol 2024-09-30 19:35:00 +02:00
e033fc8015 Canviat el missatge d'eixida del joc 2024-09-30 18:47:12 +02:00
2d5859b1c4 Ja es pot "enner llour neim". Falta decidir quin de tots els dissenys m'agrada mes 2024-09-29 22:25:31 +02:00
edc45b6cec Afegides funcions per oscurir o aclarir colors 2024-09-29 19:35:33 +02:00
fad6cddfb6 Nous textos 2024-09-29 17:06:26 +02:00
8ce09d1355 Acomodats els estats del jugador
El compte enrrere per a continuar ara ix al acabar la animació de morir
Afegit el estat "entering_name"
2024-09-29 10:40:35 +02:00
945eaa68e7 Actualizado Makefile 2024-09-29 08:01:47 +02:00
28df97ea94 Pasaeta de "include-what-you-use" per arreglar els includes
Renombrats alguns fitxers per consistencia
2024-09-29 06:24:11 +02:00
ac3340c39f Eliminat tots els options.console 2024-09-28 18:02:09 +02:00
4febe8b7c0 Afegit global_inputs.c
El audio no es podía mutejar amb el teclat, soles amb els mandos
2024-09-28 17:08:09 +02:00
289d01b0fa fix: no estava comprobantse el reset amb el teclat 2024-09-28 14:23:51 +02:00
2767696a3f Singletonejada la classe Input 2024-09-28 14:19:00 +02:00
fa82758ce1 Don melitonada la classe Asset 2024-09-28 13:49:00 +02:00
878518babe Eliminades les icones de les notificacions (herencia del CC original) 2024-09-28 12:46:53 +02:00
3f24f38a0c Reestructurada la carpeta gfx 2024-09-28 12:37:52 +02:00
1f6dfe5d92 Faltava un pixel d'altura en logo_jailgames_mini.png 2024-09-28 12:25:26 +02:00
92f7f540c0 Classe Screen melitonada 2024-09-28 11:11:11 +02:00
f2cc0dc352 Eliminat "const.h" 2024-09-28 10:16:35 +02:00
8d263931b2 Eliminat el punter a "section" 2024-09-28 09:28:22 +02:00
0a8d0479a0 Estandaritzats els accessos a fitxers 2024-09-27 19:41:45 +02:00
20de9e4b72 Un altre punteret a pendre per cul: options 2024-09-27 19:00:09 +02:00
0de9188547 Reballats tots els .h i .cpp en la mateixa carpeta 2024-09-27 17:57:00 +02:00
9d7e975952 Actualitzat Makefile 2024-09-27 17:56:45 +02:00
46b41757b2 Convertit "param" a variable global en lloc de anar marejant amb punterets i passant 8.000.000 de paràmetres 2024-09-27 17:42:25 +02:00
c1bf0b8aed Estandarizados los colores en hexadecimal 2024-09-27 16:52:26 +02:00
5ca4ee0bb8 Afegit estat pre-logo per a poder fer reset mes millor 2024-09-26 22:50:46 +02:00
05e3fddb8f Mil millons de miniarreglos
Afegides traduccions faltants
2024-09-26 22:13:20 +02:00
69027f96e6 Eliminada la classe Lang 2024-09-26 18:08:59 +02:00
6ad1bca29f Afegida confirmació per eixir del joc 2024-09-25 09:19:12 +02:00
2f152915ed fix: sense mandos no comprovava ni el teclat 2024-09-24 20:44:09 +02:00
998b151c00 Añadido #ifdef ANBERNIC 2024-09-23 19:11:16 +02:00
0cd14aa320 Actualizado Makefile 2024-09-23 19:05:07 +02:00
159a75a60e follat! 2024-09-16 22:21:57 +02:00
80425a5ed0 Aumentado el tiempo de visibilidad de las notificaciones 2024-09-16 18:33:43 +02:00
a00c2284b6 Commit amb la merda de hui 2024-09-15 19:32:20 +02:00
75f9d3f5cb Cambios en swapControllers 2024-09-15 18:14:51 +02:00
85a082d738 Añadida la función boolToOnOff 2024-09-15 18:11:20 +02:00
b6c5d06246 fix: no escribia las notificaciones con la primera cadena vacía 2024-09-15 17:40:39 +02:00
891d5a8f5e Se puede usar tanto la primera como la segunda cadena de texto para generar notificaciones 2024-09-15 17:14:53 +02:00
333c905b1a Correcciones en el botón de servicio 2024-09-15 15:27:12 +02:00
41e57064cb Al intercambiar los mandos de los jugadores se muestra el mando que corresponde a cada jugador 2024-09-15 14:30:58 +02:00
7ef75184a5 Las notificaciones se pueden configurar para que no se apilen 2024-09-15 14:11:37 +02:00
c40c59275a Guardada en el fichero de configuración la asignación de cada mando a cada jugador 2024-09-15 13:29:05 +02:00
8fc217f0e3 Corregido el texto de salida del programa 2024-09-15 13:09:00 +02:00
04935c652d Añadidas nuevas funciones al botón de servicio
El botón de servicio se puede usar en cualquier sección del juego
2024-09-15 13:03:53 +02:00
a435e3ed8c corregidos varios bugs 2024-09-11 20:42:21 +02:00
41c3e1f32c El joc cascava quan havia que baixar el multiplicador del jugador per "pedre" una bala. Arreglat abans d'anar-me'n 😎 2024-09-11 14:09:22 +02:00
3d41da0fdf Añadida opción para intercambiar los jugadores de los dos primeros mandos 2024-09-11 13:59:40 +02:00
ecf34558f4 Añadido campo ID al jugador
Las balas y los mandos utilizan ahora este ID
2024-09-11 12:15:18 +02:00
1e2f121d82 Llevada tota la merda que he posat este mati 2024-09-10 13:23:47 +02:00
c93e824f86 Canviat stc per std dins de un puto define que el vsc passa de mirar si estan les coses ben escrites o no 2024-09-10 13:01:28 +02:00
762a819711 Añadido SDL_GetError a SDL_SetWindowDisplayMode 2024-09-10 12:56:25 +02:00
a5060b928f Prueba de SDL_SetWindowDisplayMode 2024-09-10 12:16:18 +02:00
2398e4136b Pequeños ajustes de formato 2024-09-10 11:50:56 +02:00
b3b932edfc Actualizado Makefile 2024-09-10 11:43:38 +02:00
443cc6da8d Añadido "Display modes list" 2024-09-10 11:35:28 +02:00
46cdc2189e Se puede especificar con argumentos el fichero de parametros a utilizar 2024-09-10 10:19:56 +02:00
f071b60212 Añadida información de la pantalla antes de crear la ventana 2024-09-10 08:12:37 +02:00
824bc08077 Cambiado de showFps a showInfo 2024-09-09 22:51:26 +02:00
e1fb069010 No se podía empezar a jugar con el teclado 2024-09-09 22:30:35 +02:00
b114d75c69 Retoques de lo anterior para ser un poco mas eficiente y ordenado 2024-09-09 18:47:59 +02:00
8465ee87fb Añadida info de debug: resolucion de la pantalla 2024-09-09 18:41:03 +02:00
83fb2f30ba Implementado código de salida de la aplicación 2024-09-09 13:51:16 +02:00
922d146781 Renombrado "section->subsection" por el mas apropiado "section->options" 2024-09-09 13:38:56 +02:00
1b2d1c5786 Añadido botón de servicio al titulo 2024-09-09 13:31:37 +02:00
7e1085ea42 Añadida la unidad service.h 2024-09-09 11:28:24 +02:00
d4417d67d5 Eliminados inputs en desuso y añadido el input de "service" 2024-09-09 10:15:57 +02:00
14af141d8f Eliminada la clase Menu 2024-09-09 10:06:53 +02:00
870a83d688 Deshabilitado el sonido de las notificaciones por defecto 2024-09-09 10:02:23 +02:00
54a0d6c448 Corregido el mapeo para el mando Zero Delay 2024-09-06 18:08:23 +02:00
c50d8a8bec Corregido un pase de parametros en la creación de los objetos y las balas 2024-09-06 13:54:17 +02:00
ad8c16f834 El separador del marcador ahora lo gestiona el propio marcador 2024-09-06 12:25:06 +02:00
cc15b8afd1 Retocados los degradados de fondo para dar soporte a la nueva resolución de 320x256 2024-09-06 10:54:05 +02:00
770f0eb046 Faltaba corregir un error de reemplazo en item.cpp 2024-09-06 08:56:12 +02:00
62b1ba84ac Cambiados muchos DEFINEs por variables de param 2024-09-06 08:41:10 +02:00
c5bab7019c Modificado el tamaño de la textura 2024-09-03 19:48:30 +02:00
b3d9b72d1d Corregido el tamaño de la textura y de la ventana 2024-09-03 19:47:57 +02:00
ccfd864eab En modo ARCADE solo se puede usar el modo ventana en setVideoMode() 2024-09-03 18:52:56 +02:00
f5b866b8c5 Oculta el puntero del raton al compilar en modo ARCADE 2024-09-03 18:50:20 +02:00
1b160c0584 Actualizado Makefile 2024-09-03 18:44:01 +02:00
c72dfe5876 Deshabilitada la opción de cambio de modo de video con la directiva de compilador ARCADE 2024-09-03 14:05:55 +02:00
548976c955 Actualizado Makefile 2024-09-03 14:04:55 +02:00
2a303deff1 Renombradas las variables de param_t 2024-09-03 13:59:07 +02:00
fa76520c6d Movido 'autofire' de param.txt a config.txt 2024-09-02 11:40:50 +02:00
f57a307991 Añadido soporte para ejes en la clase Input 2024-09-02 10:19:28 +02:00
4f6c92c8d1 Añadido cambio de color en las nubes 2024-08-30 13:12:04 +02:00
1d847eae9f Eliminada la (innecesaria) referencia a Screen 2024-08-30 13:02:45 +02:00
48d876bcf1 Eliminada la opción de poner pausa desde el mando 2024-08-28 08:38:21 +02:00
d16c8239c4 Haciendo pruebas con el modo de video a pantalla completa 2024-08-27 23:16:10 +02:00
50b1acfe8b Eliminado todo el código para añadir un borde a la zona de juego. Eran restos del código del JDD 2024-08-27 23:04:59 +02:00
60cfc1e4d9 Eliminadas variables sin utilizar 2024-08-27 22:49:51 +02:00
0ed0a5c6b5 Restablecidos los SDL_RenderSetLogicalSize eliminados 2024-08-27 11:52:38 +02:00
5ea41d4fc7 Añadidos nuevos custom mappings en gamecontrollerdb.txt 2024-08-27 11:25:39 +02:00
982094264a Eliminados SDL_RenderSetLogicalSize innecesarios 2024-08-27 11:16:22 +02:00
7a3c2ffe71 Cambiado el modo de fullscreen a SDL_WINDOW_FULLSCREEN_DESKTOP (como estaba en el CC original) 2024-08-27 09:37:16 +02:00
49cffb3669 Cambiado el modo de funcionamiento de la pausa durante el juego para permitir que ciertos métodos se sigan ejecutando 2024-08-27 08:48:04 +02:00
149e422489 Ara es pot activar o desactivar el comptador de frames per segon amb una tecla 2024-08-26 10:52:59 +02:00
4c2528ba93 Afegit input_showfps a la classe Input 2024-08-26 10:42:52 +02:00
65b8988ba2 Afegit comptador de frames per segon a la classe Screen 2024-08-26 10:18:06 +02:00
c7cc5df920 fix: el mode demo havia deixat de dir que era el mode demo per culpa de checkPlayersStatusPlaying() 2024-08-16 12:49:06 +02:00
89979a8ddb moguts els dos metodes per llegir i escriure la tabla de puntuacions a fitxer a la classe ManageHiScoreTable
el fitxer amb les puntuacions ara nomes es llig al carregar el programa i no cada volta que començem a jugar
2024-08-16 12:42:34 +02:00
7d778a9cfa ja guarda i carrega la tabla de records en el disc 2024-08-16 11:57:58 +02:00
9012e3d79d el sprite del jugador s'invertiex en funció de cap on camina quan dispara recte 2024-08-16 07:52:34 +02:00
b09f07ef40 afegit debug per avançar rapidet per les fases 2024-08-15 12:53:17 +02:00
448da70ba8 fix: la variable hiScore es reinicialitzava a 10000 en lloc de pillar la original de la tabla de records 2024-08-14 21:26:23 +02:00
24b4eaa972 fix: la variable score no s'inicialitzava 2024-08-14 21:17:28 +02:00
59da8fd4c6 actualitzades les dos variables hiScore a una de tipo hiScoreEntry_t 2024-08-14 20:57:22 +02:00
f64b461d75 afegit un guionet entre el nom i la puntuació de la máxima puntuació en el marcador 2024-08-14 20:56:50 +02:00
b9a15bd8b4 modificats els comentaris en main.cpp 2024-08-14 20:55:44 +02:00
924fd375ff fix: el truncat de la tabla de records estava "mal" en stack overflow. arreglat per mi llegint els hints de les funcions 2024-08-14 20:23:18 +02:00
e50e7affb3 de moment en la tabla de records posa el nom generic del jugador. Ja farem per a poder triar nom 2024-08-14 20:22:04 +02:00
032c5e7129 fix: el jugador sempre s'inicialitzava en el stat "playing" en lloc de "waiting", per tant, sempre jugaven tots els jugadors 2024-08-14 19:59:54 +02:00
1839df142d fix: trampa per arreglar en linux que una textura del logo no canvia de color i no se sap perque 2024-08-14 19:24:20 +02:00
35749f7c1b actualitzat Makefile 2024-08-14 19:12:44 +02:00
e48dbb2d4e fix: ja no es pot continuar quan els dos jugadors han acabat el compte enrrere per continuar 2024-08-14 14:16:12 +02:00
7e60a742ca acabats els nous estats dels jugadors 2024-08-14 14:09:54 +02:00
5c7bb842ec fix: faltava passar el nom dels jugadors al marcador 2024-08-14 14:09:28 +02:00
6a9d0d1b2c ja es poden passar les dades del jugador per a cada panell 2024-08-14 13:42:42 +02:00
f8b6d0524d primera implementació dels estats nous del jugador: playing, continue, waiting 2024-08-14 13:05:09 +02:00
90706d5d0c enmig del berenjenal d'afegir estats nous al jugador 2024-08-14 11:59:16 +02:00
c246472098 fix: els panels del marcador estiraven els bitmaps al no coincidir srcRect amb dstRect 2024-08-14 09:24:57 +02:00
45ed1106cb fix: ja torna a funcionar el cicle de música per les diferents seccions 2024-08-14 08:38:19 +02:00
a5a3bb23da 4 putes merdes que no han servit pa res. Au demà miraré qué passa 2024-08-13 23:01:48 +02:00
054950f1d8 fix: havia un punter no inicialitzava a nullptr i en macos no passava res, pero en linux i windows si 2024-08-13 20:44:23 +02:00
ba8e068b80 fix: fallava al parar la musica al morir el jugador en el mode de demostració 2024-08-13 19:25:12 +02:00
3f3242393e varios ajustos 2024-08-13 18:51:55 +02:00
a2ce1f0dc3 fix: havia dos formacions que no tenien ben asignada la y inicial 2024-08-13 18:28:05 +02:00
887e8a7071 fix: la variable ballonsPopped no estava inicialitzada i passaven coses rares 2024-08-13 17:50:59 +02:00
7ed0393a9b fix: corregit el tamany i la posició dels panells del marcador 2024-08-13 17:26:52 +02:00
e51e3a5c43 treballant en els panels del marcador 2024-08-13 14:25:07 +02:00
eb9eaec61d arreglos en la powerball:
- quan apareix al centro, pot anar cap a l'esquerra o cap a la dreta
 - ara apareix a la altura que li toca als globos grans
 - tarda en generarse igual que la resta de globos
 - rebota igual que els globos grans (com feia abans de canviar les físiques dels globos grans)
2024-08-13 11:29:13 +02:00
8c7ff13bc2 modificat Makefile 2024-08-13 07:27:18 +02:00
88fe1a29fe afegits dos descriptors a gamecontrollerdb.txt per als mandos RAP4 y MadCatz SFV PS4 per a Linux 2024-08-12 20:38:21 +02:00
e009349464 el borde de la powerball no era transparent quan el globo està creant-se 2024-08-12 14:23:40 +02:00
4d1f1d2bc2 continuem afegint descripcions de lo que fa cada classe 2024-08-12 14:16:24 +02:00
9d5aee2562 Afegides mes descripcions a les classes
Eliminat el punter a renderer de les classes-estat que faltava
2024-08-12 08:55:41 +02:00
477891cac7 Afegida la funció getRenderer() a la classe Screen per tal d'estalviar altre parametre mes a molts constructors de classes-estat de joc 2024-08-12 08:03:30 +02:00
45731c8294 Afegides descripcions a algunes classes
Eliminats parámetres no necesaris als constructors de classes
2024-08-12 07:57:59 +02:00
4df505d263 retocat el disseny del efecte de powerUp en el jugador 2024-08-03 19:19:20 +02:00
ffef64b4fd ajustat el rebot de balloon1 2024-08-03 19:18:42 +02:00
2358b8e914 actualitzat Makefile 2024-08-03 19:12:46 +02:00
1f4d7ce042 afegida la opció de controlar el autofire 2024-08-03 17:55:18 +02:00
657d43de5a modificats els parametres de velocitat dels globos 2024-08-03 17:55:02 +02:00
735e5299f9 nou grafic per a les bales 2024-08-03 17:19:05 +02:00
bca688a9a7 afegida opció per habilitar o deshabilitar el audio desde el teclat. De moment soles desde el joc. En poder ho integraré en jail_audio 2024-08-03 14:12:40 +02:00
ad2d1cbd65 afegit input_mute 2024-08-03 14:01:43 +02:00
958a4d1d99 afegides notificacions per als inputs externs al joc 2024-08-03 13:55:16 +02:00
256959505d afegides opcions per defecte per a les notificacions 2024-08-03 12:10:41 +02:00
770a4d5f96 afegida la classe Notify 2024-08-03 12:10:22 +02:00
d3a13af94f afegida estructura per a les notificacions 2024-08-03 12:09:57 +02:00
82cb28a13e afegida una segona funció SetPos a la classe Sprite que accepta SDL_Rect com a entrada 2024-08-03 12:09:25 +02:00
a1fb7500f0 afegida tecla de reset 2024-08-03 08:05:43 +02:00
9ad6001046 añadido a param.txt los parametros de los globos para velocidad y gravedad 2024-08-03 07:56:26 +02:00
8390dfd8be Merge branch 'main' of https://gitea.sustancia.synology.me/JailDesigner/coffee_crisis_arcade_edition 2024-07-31 14:11:59 +02:00
2abde3593b gràfics arreglats per als globos 2024-07-31 14:11:50 +02:00
60f8819331 fix: currentPower no estava inicialitzat i feia coses rares, entre elles petar
fix: corregit el tamany de la powerball
2024-07-30 18:29:46 +02:00
884cacbc2e tornem a deixar els fitxers balloon.png com estaven 2024-07-30 12:02:15 +02:00
f4484b24f1 afegida (altra volta) la classe Surface 2024-07-29 17:49:12 +02:00
7b7300fda5 afegida la classe EnemyFormations 2024-07-29 16:30:25 +02:00
af60e2e587 commit de merda pq no m'han deixat acabar 2024-07-29 14:06:22 +02:00
8d9d0eaaf3 modificada la classe balloon: eliminat el estat popping i dibuixat desde fitxers gif, pero no funciona el canvi de paleta 2024-07-28 18:08:40 +02:00
f1159f2bf3 canviat dos tipos de recursos en la classe Asset 2024-07-28 16:47:26 +02:00
7dbed9ab8e finalitzada la classe Explosions 2024-07-28 13:49:46 +02:00
59680ce7c0 afegida la classe Explosions 2024-07-28 12:46:26 +02:00
2948684ad3 eliminat el punter al renderer de 50.000 llocs 2024-07-28 10:45:14 +02:00
7501b4936f canviats els núvols per els del Volcano 2024-07-27 10:07:27 +02:00
fe361f455a refinaments estétics 2024-07-26 16:16:07 +02:00
0610389745 preliminar: afegit al marcador el mode game over 2024-07-26 12:18:36 +02:00
5e5d7f5f27 fix: al voler definir els botons dels mandos sense tindre cap mando conectat, petava tot 2024-07-26 11:58:03 +02:00
1632441c31 afegit el modo demo al marcador 2024-07-26 11:48:44 +02:00
9886f314b5 eliminats tots els #ifndef. Sembla que #pragma once ja funciona, no com fa quatre anys 😌 2024-07-26 10:45:29 +02:00
89cea1c93e Afegides paletes a la classe Text 2024-07-26 08:52:15 +02:00
98caefb085 nous grafics 2024-07-25 22:09:24 +02:00
18eab9fe0d fix: la inmunitat del jugador no funcionava 2024-07-25 18:13:34 +02:00
cff1df19c2 afegides paletes per al segon jugador 2024-07-25 14:13:02 +02:00
b29d9681f8 fix: en el mode demo, el segon jugador no tenia cafes
fix: al morir es quedava per ahi el foguet del powerup
2024-07-25 12:58:42 +02:00
466e572841 fix: corregido error al dibujar texturas desde gif. Faltaba activar el blendmode
añadidas mas paletas para el jugador1
cambiada la manera de representar la inmunidad para el jugador
2024-07-25 12:48:36 +02:00
1a00a08300 la classe Texture ja pot tindre un numero indefinit de paletes 😌 2024-07-25 10:13:20 +02:00
073dd2a904 la classe Texture ja suporta carregar gifs i paletes 2024-07-25 08:31:43 +02:00
0d72427ab4 afegit gif.c 2024-07-24 11:06:02 +02:00
92ff0d6663 afegit surface.h 2024-07-24 11:03:20 +02:00
92be07ad0c comencem a treballar amb gifs i paletes 2024-07-24 10:54:10 +02:00
74a7863a8f acabat el nou motor d'animacions 2024-07-23 22:35:50 +02:00
7ea77e5001 afegits els nous fitxers amb grafics i animacions 2024-07-23 20:31:50 +02:00
05b65abc6e començant a treballar en el nou motor d'animacions 2024-07-23 19:48:02 +02:00
ff4b21d06d millorada la funció de posar separadors de milers 2024-07-14 22:13:11 +02:00
fef9a4f9a0 afegit separador de milers a la tabla de puntuacions 2024-07-14 20:57:49 +02:00
6eef3ada55 Creada la classe ManageHiScoreTable 2024-07-13 17:57:15 +02:00
ebbe84da64 afegits els grafics nous per al jugador 2024-07-13 12:02:55 +02:00
eba20af28e fix: la bola que explota totes les boles dona punts a tots els jugadors... pero també donava als que no estaven jugant 2024-07-12 18:57:28 +02:00
2ca218c075 fix: no aparecían nunca diskitos 2024-07-12 18:48:51 +02:00
a4dc3d20e2 nuevos gráficos para los sprites de puntos de los items 2024-07-12 18:18:12 +02:00
6609021488 Retocada y vuelta a añadir la hierba al fondo 2024-07-12 15:37:33 +02:00
55638e2997 el modo demo ya funciona con las tres combinaciones de jugadores y con diferentes ficheros de demo 2024-07-12 13:02:22 +02:00
49d8232187 barallantme en els putos vectors 2024-07-12 09:21:14 +02:00
80bbe711a2 mil minimerdes arreglades 2024-07-11 20:52:04 +02:00
4c44fc0e1a fix: el teclado había dejado de funcionar 2024-07-11 17:53:22 +02:00
aef00b9d89 retocada la clase instructions para los nuevos gráficos 2024-07-09 18:18:42 +02:00
ab27915dac Actualizados los gráficos de los items 2024-07-09 17:11:13 +02:00
fde5578ea9 modificada la cadencia del texto D E M O 2024-07-09 10:13:48 +02:00
2177ad9870 añadidos fade-ins a las secciones 2024-07-09 10:05:09 +02:00
5511160836 fade-in implementado en la calse fade
repaso general a toda la clase fade
2024-07-09 09:15:02 +02:00
69ad8fbfff Grabar partida para cambiar la clase fade de textura a surface 2024-07-08 14:06:41 +02:00
d07fa46cb7 el modo demo ya termina con un fundido 2024-07-08 13:33:59 +02:00
38272db851 fix: coger una segunda máquina de café mientras se tenía ya una no hacía nada 2024-07-08 12:44:47 +02:00
f9a6478a4b fix: el contador de demo estaba activo durante el juego y lo finalizaba 2024-07-08 12:39:31 +02:00
7f8aba12fc añadido recalculateAnchors a la clase scoreboard 2024-07-08 12:28:20 +02:00
e85d3c2494 El juego ya no se cierra al terminar de definir los botones 2024-07-08 11:59:56 +02:00
dfc14da179 fix: la clase title no hacía fade al pasar al modo demo 2024-07-07 22:48:00 +02:00
caca21cba5 Ya se guardan las asignaciones de los botones en el fichero de configuración 2024-07-07 19:22:36 +02:00
38dc63ef02 PER FI JA MAPEJA BE ELS BOTONS AL REDEFINIRLOS! 2024-07-07 14:53:26 +02:00
ceafe931f1 guardar partida pq ja estic fent canvis a cegues a vore si trac açò 2024-07-07 14:38:46 +02:00
3ee04f7e1c Ya se pueden definir los botones para cada jugador. Falta guardarlos en el fichero de configuración 2024-07-07 11:02:49 +02:00
9a91e6b6ec fix: desbordamiento de indice en el vector de gamecontrollers en la clase input 2024-07-07 10:13:49 +02:00
9f91b5cf18 actualizado gamecontrollerdb.txt 2024-07-07 09:51:13 +02:00
c8cd375d81 empezando a trabajar en la clase DefineButtons 2024-07-06 13:25:15 +02:00
78a689760d cambios en el fichero de configuración para hacer más facil la selección de modos de video y filtros 2024-07-06 00:19:28 +02:00
abb0151560 Actualizado Makefile 2024-07-05 23:57:43 +02:00
b770bdb7d1 creado define para compilar sin shaders 2024-07-05 23:57:26 +02:00
d36f3539cc El modo demo ya no se pausa al perder el foco 2024-07-05 23:51:43 +02:00
3119e02d2c el reloj en el modo demo ya no detiene la musica 2024-07-05 23:43:47 +02:00
10ec681bb7 en el modo demo el jugador empieza con un numero aleatorio de cafes 2024-07-05 23:40:56 +02:00
cd70336051 Actualizado todo.txt 2024-07-05 23:23:08 +02:00
fa649207bd Actualizado Makefile 2024-07-05 23:20:58 +02:00
2764ff2e93 deshabilitados los sonidos en el modo demo 2024-07-05 23:20:19 +02:00
ad170e8e0e Ahora aparecen objetos en el modo demo 2024-07-05 22:57:00 +02:00
c58f2213d5 fix: en el modo demo solo se creaban balas rectas hacia arriba 2024-07-05 22:51:10 +02:00
ebfa2433de ahora se puede elegir el modo de la clase tiledbg
añadido modo estático a la clase tiledbg
2024-07-05 22:44:54 +02:00
f73eab7a77 Arreglado el modo demo
Grabada una nueva demo
2024-07-05 20:40:08 +02:00
dc09c189e9 El juego ya empieza con el jugador que ha pulsado el botón 2024-07-05 16:59:14 +02:00
a734c01dc5 Modificado checkAnyButtonPressed para que devuelva el índice del dispositivo que ha pulsado un botón 2024-07-05 14:34:55 +02:00
c3c33135a7 Añadida la función checkAnyButtonPressed a la clase input 2024-07-05 14:25:24 +02:00
62f3c42e7b El responsable de comprobar si se ha pulsado alguna tecla para cambiar el tamaño de la venta, el modo de pantalla completa o la activación de los shaders pasa a ser la clase screen 2024-07-05 14:09:38 +02:00
5e7212dfaa Rediseñada y optimizada la clase Instructions 2024-07-05 11:34:55 +02:00
2b628d2d61 La música la tiene ahora la clase Director 2024-07-05 07:20:20 +02:00
8051cbbc39 Añadido define VERBOSE 2024-07-03 12:45:12 +02:00
7f21f76d3c Actualizado Makefile 2024-07-03 12:30:04 +02:00
ebef3a9d46 Añadidos mas defines para raspberry pi 2024-07-01 09:34:04 +02:00
8b213ba2df Actualizado Makefile 2024-07-01 09:32:17 +02:00
aafa3d5646 fix: defines per a compilar en raspberry pi 2024-07-01 09:22:41 +02:00
b05e1c6025 Añadidos defines para compilar en raspberry pi 2024-07-01 09:11:13 +02:00
59671d6e55 En el titulo no se podia empezar a jugar si no era con mando 2024-06-30 23:01:55 +02:00
4e9135c1af FADE_RANDOM_SQUARE no limpiaba la textura previamente
centrada la tabla de la clase hiscore_table
2024-06-30 22:31:48 +02:00
354795d52c Añadido FADE_VENETIAN a la clase fade
La clase game utiliza un objeto fade para sus fades en vez de sus propios procedimientos
2024-06-30 21:18:12 +02:00
0d8207013c Eliminados metodos y variables sobrantes de la clase player 2024-06-30 20:10:10 +02:00
eb3cba879a Retocados los parametros del shader 2024-06-30 18:27:02 +02:00
61c4884dfe El jugador ya reaparece en su posición original 2024-06-30 18:05:11 +02:00
8817899b12 Modificado el texto del titulo 2024-06-30 15:35:36 +02:00
b278941918 Se puede saltar la animación del titulo y empezar a jugar directamente 2024-06-30 15:32:39 +02:00
8340bdfe32 Añadido efecto de atenuación a la clase screen
Al pausar el juego se atenua la pantalla
2024-06-30 15:27:06 +02:00
addc8241ab Eliminado el menu de pausa
Eliminado el menu de game over
Eliminado el menu de seleccionar jugador
Se puede poner pausa y salir del juego desde ambos mandos
2024-06-30 15:08:25 +02:00
1754cfb93a Mapeados los jugadores a los dos mandos 2024-06-30 14:07:07 +02:00
097320cff7 Asignada tecla F4 para activar/desactivar los shaders 2024-06-30 09:48:49 +02:00
12711d38f0 Renombradas las variables de opciones
Actualizado el fichero de configuración
2024-06-30 09:35:31 +02:00
50b445ad3f Actualizado makefile 2024-06-30 09:00:10 +02:00
240 changed files with 17084 additions and 13849 deletions

2
.gitignore vendored
View File

@@ -14,3 +14,5 @@ thumbs.db
*config.bin
*score.bin
coffee_crisis*
debug.txt
cppcheck-result*

View File

@@ -24,18 +24,30 @@ INCLUDES:= -I$(DIR_SOURCES)
# Variables según el sistema operativo
ifeq ($(OS),Windows_NT)
FixPath = $(subst /,\,$1)
SOURCES := source/*.cpp source/common/*.cpp
CXXFLAGS:= -std=c++11 -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -static-libstdc++ -Wl,-subsystem,windows
LDFLAGS := -lmingw32 -lws2_32 -lSDL2main -lSDL2
SOURCES := source/*.cpp
CXXFLAGS:= -std=c++20 -Wall -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -static-libstdc++ -Wl,-subsystem,windows
CXXFLAGS_DEBUG:= -std=c++20 -Wall -g
LDFLAGS := -lmingw32 -lws2_32 -lSDL2main -lSDL2 -lopengl32
RM = del /Q
MKD:= mkdir
else
FixPath = $1
SOURCES := $(shell find $(DIR_SOURCES) -name '*.cpp')
CXXFLAGS:= -std=c++11 -Wall -Os -ffunction-sections -fdata-sections -framework OpenGL -Wno-deprecated
SOURCES := source/*.cpp
CXXFLAGS:= -std=c++20 -Wall -Os -ffunction-sections -fdata-sections
CXXFLAGS_DEBUG:= -std=c++20 -Wall -g
LDFLAGS := -lSDL2
RM = rm -f
MKD:= mkdir -p
MKD:= mkdir -p
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
LDFLAGS += -lGL
endif
ifeq ($(UNAME_S),Darwin)
CXXFLAGS += -Wno-deprecated
CXXFLAGS_DEBUG += -Wno-deprecated
LDFLAGS += -framework OpenGL
endif
endif
OBJECTS := $(subst $(DIR_SOURCES), $(DIR_BUILD), $(SOURCES))
@@ -109,23 +121,25 @@ print-variables:
@echo RM: $(RM)
.PHONY: peiv
raspi:
$(CXX) $(SOURCES) -D ARCADE -D VERBOSE $(CXXFLAGS) $(LDFLAGS) -o $(TARGET_FILE)
strip -s -R .comment -R .gnu.version $(TARGET_FILE) --strip-unneeded
peiv:
if not exist peiv mkdir $(subst /,\,peiv)
if exist peiv rmdir /Q /S peiv
raspi_debug:
$(CXX) $(SOURCES) -D ARCADE -D VERBOSE -D DEBUG $(CXXFLAGS_DEBUG) $(LDFLAGS) -o "$(TARGET_FILE)_debug"
windows:
@echo off
$(CXX) $(SOURCES) $(CXXFLAGS) $(LDFLAGS) -o "$(TARGET_FILE).exe"
strip -s -R .comment -R .gnu.version "$(TARGET_FILE).exe" --strip-unneeded
windows_rec:
@echo off
$(CXX) $(SOURCES) -D RECORDING $(CXXFLAGS) $(LDFLAGS) -o "$(TARGET_FILE)_rec.exe"
windows_debug:
@echo off
$(CXX) $(SOURCES) -D DEBUG $(CXXFLAGS) $(LDFLAGS) -o "$(TARGET_FILE)_debug.exe"
strip -s -R .comment -R .gnu.version "$(TARGET_FILE)_debug.exe" --strip-unneeded
$(CXX) $(SOURCES) -D DEBUG -D VERBOSE $(CXXFLAGS_DEBUG) $(LDFLAGS) -o "$(TARGET_FILE)_debug.exe"
windows_release:
@echo off
@@ -153,14 +167,11 @@ windows_release:
# Elimina la carpeta temporal 'RELEASE_FOLDER'
powershell if (Test-Path "$(RELEASE_FOLDER)") {Remove-Item "$(RELEASE_FOLDER)" -Recurse -Force}
macos:
$(CXX) $(SOURCES) $(CXXFLAGS) $(LDFLAGS) -o "$(TARGET_FILE)"
macos_debug:
$(CXX) $(SOURCES) -D DEBUG $(CXXFLAGS) $(LDFLAGS) -o "$(TARGET_FILE)_debug"
$(CXX) $(SOURCES) -D DEBUG -D VERBOSE $(CXXFLAGS_DEBUG) $(LDFLAGS) -o "$(TARGET_FILE)_debug"
macos_release:
# Elimina datos de compilaciones anteriores
@@ -208,16 +219,12 @@ macos_release:
$(RM) Frameworks
$(RM) "$(RELEASE_FOLDER)"
linux:
$(CXX) $(SOURCES) $(CXXFLAGS) $(LDFLAGS) -o "$(TARGET_FILE)"
strip -s -R .comment -R .gnu.version "$(TARGET_FILE)" --strip-unneeded
linux_debug:
$(CXX) $(SOURCES) -D DEBUG $(CXXFLAGS) $(LDFLAGS) -o "$(TARGET_FILE)_debug"
strip -s -R .comment -R .gnu.version "$(TARGET_FILE)_debug" --strip-unneeded
$(CXX) $(SOURCES) -D DEBUG -D VERBOSE $(CXXFLAGS_DEBUG) $(LDFLAGS) -o "$(TARGET_FILE)_debug"
linux_release:
# Elimina carpetas previas
@@ -240,4 +247,18 @@ linux_release:
cd "$(RELEASE_FOLDER)" && tar -czvf "../$(LINUX_RELEASE)" *
# Elimina la carpeta temporal
$(RM) "$(RELEASE_FOLDER)"
$(RM) "$(RELEASE_FOLDER)"
anbernic:
# Elimina carpetas previas
$(RM) "$(RELEASE_FOLDER)"_anbernic
# Crea la carpeta temporal para realizar el lanzamiento
mkdir -p "$(RELEASE_FOLDER)"_anbernic
# Copia ficheros
cp -R data "$(RELEASE_FOLDER)"_anbernic
# Complia
$(CXX) $(SOURCES) -D ANBERNIC -D NO_SHADERS -D ARCADE -D VERBOSE $(CXXFLAGS) $(LDFLAGS) -o $(RELEASE_FOLDER)_anbernic/$(TARGET_NAME)
$(CXX) $(SOURCES) -D ANBERNIC -D ARCADE -D VERBOSE $(CXXFLAGS) $(LDFLAGS) -o $(RELEASE_FOLDER)_anbernic/$(TARGET_NAME).shaders

Binary file not shown.

BIN
data/config/demo1.bin Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
data/config/demo2.bin Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -1,20 +0,0 @@
#GAME
gameWidth 320
gameHeight 240
#FADE
numSquaresWidth 160
numSquaresHeight 120
fadeRandomSquaresDelay 1
fadeRandomSquaresMult 500
fadePostDuration 50
#SCOREBOARD
scoreboard.x 10
scoreboard.y 208
scoreboard.w 300
scoreboard.h 32
#TITLE
pressStart 160
titleCounter 800

View File

@@ -0,0 +1,52 @@
## GAME
game.item_size 20
game.width 320
game.height 240
game.play_area.rect.x 0
game.play_area.rect.y 0
game.play_area.rect.w 320
game.play_area.rect.h 200
## FADE
fade.num_squares_width 160
fade.num_squares_height 120
fade.random_squares_delay 1
fade.random_squares_mult 500
fade.post_duration 80
fade.venetian_size 16
## SCOREBOARD
scoreboard.x 0
scoreboard.y 200
scoreboard.w 320
scoreboard.h 40
## TITLE
title.press_start_position 170
title.title_duration 800
title.arcade_edition_position 123
title.title_c_c_position 80
## BACKGROUND
background.attenuate_color.r 255
background.attenuate_color.g 255
background.attenuate_color.b 255
background.attenuate_alpha 0
## BALLOONS
balloon_1.vel 2.75f
balloon_1.grav 0.09f
balloon_2.vel 3.70f
balloon_2.grav 0.10f
balloon_3.vel 4.70f
balloon_3.grav 0.10f
balloon_4.vel 5.45f
balloon_4.grav 0.10f
## NOTIFICATION
notification.pos_v TOP
notification.pos_h LEFT
notification.sound false
notification.color.r 48
notification.color.g 48
notification.color.b 48

View File

@@ -0,0 +1,52 @@
## GAME
game.item_size 20
game.width 320
game.height 256
game.play_area.rect.x 0
game.play_area.rect.y 0
game.play_area.rect.w 320
game.play_area.rect.h 216
## FADE
fade.num_squares_width 160
fade.num_squares_height 128
fade.random_squares_delay 1
fade.random_squares_mult 500
fade.post_duration 80
fade.venetian_size 16
## SCOREBOARD
scoreboard.x 0
scoreboard.y 216
scoreboard.w 320
scoreboard.h 40
## TITLE
title.press_start_position 180
title.title_duration 800
title.arcade_edition_position 123
title.title_c_c_position 80
## BACKGROUND
background.attenuate_color.r 255
background.attenuate_color.g 255
background.attenuate_color.b 255
background.attenuate_alpha 0
## BALLOONS
balloon_1.vel 2.75f
balloon_1.grav 0.09f
balloon_2.vel 3.70f
balloon_2.grav 0.10f
balloon_3.vel 4.70f
balloon_3.grav 0.10f
balloon_4.vel 5.45f
balloon_4.grav 0.10f
## NOTIFICATION
notification.pos_v TOP
notification.pos_h LEFT
notification.sound false
notification.color.r 48
notification.color.g 48
notification.color.b 48

BIN
data/font/smb2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
data/font/smb2_pal1.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 B

View File

@@ -1,5 +1,5 @@
frameWidth=8
frameHeight=8
frame_width=10
frame_height=10
[animation]
name=orange
@@ -12,26 +12,19 @@ frames=0,1,2,3,4,5,6,7,8,9
name=blue
speed=20
loop=0
frames=12,13,14,15,16,17,18,19,20,21
frames=10,11,12,13,14,15,16,17,18,19
[/animation]
[animation]
name=green
speed=10
loop=0
frames=24,25,26,27,28,29,30,31,32,33
frames=20,21,22,23,24,25,26,27,28,29
[/animation]
[animation]
name=red
speed=20
loop=0
frames=36,37,38,39,40,41,42,43,44,45
[/animation]
[animation]
name=pop
speed=5
loop=-1
frames=48,49,50,51,52,53,54,55,56,57,58,59
frames=30,31,32,33,34,35,36,37,38,39
[/animation]

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -1,5 +1,5 @@
frameWidth=13
frameHeight=13
frame_width=16
frame_height=16
[animation]
name=orange
@@ -12,26 +12,19 @@ frames=0,1,2,3,4,5,6,7,8,9
name=blue
speed=20
loop=0
frames=12,13,14,15,16,17,18,19,20,21
frames=10,11,12,13,14,15,16,17,18,19
[/animation]
[animation]
name=green
speed=10
loop=0
frames=24,25,26,27,28,29,30,31,32,33
frames=20,21,22,23,24,25,26,27,28,29
[/animation]
[animation]
name=red
speed=20
loop=0
frames=36,37,38,39,40,41,42,43,44,45
[/animation]
[animation]
name=pop
speed=5
loop=-1
frames=48,49,50,51,52,53,54,55,56,57,58,59
frames=30,31,32,33,34,35,36,37,38,39
[/animation]

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -1,5 +1,5 @@
frameWidth=21
frameHeight=21
frame_width=26
frame_height=26
[animation]
name=orange
@@ -12,26 +12,19 @@ frames=0,1,2,3,4,5,6,7,8,9
name=blue
speed=20
loop=0
frames=12,13,14,15,16,17,18,19,20,21
frames=10,11,12,13,14,15,16,17,18,19
[/animation]
[animation]
name=green
speed=10
loop=0
frames=24,25,26,27,28,29,30,31,32,33
frames=20,21,22,23,24,25,26,27,28,29
[/animation]
[animation]
name=red
speed=20
loop=0
frames=36,37,38,39,40,41,42,43,44,45
[/animation]
[animation]
name=pop
speed=5
loop=-1
frames=48,49,50,51,52,53,54,55,56,57,58,59
frames=30,31,32,33,34,35,36,37,38,39
[/animation]

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@@ -0,0 +1,30 @@
frame_width=48
frame_height=48
[animation]
name=orange
speed=10
loop=0
frames=0,1,2,3,4,5,6,7,8,9
[/animation]
[animation]
name=blue
speed=20
loop=0
frames=10,11,12,13,14,15,16,17,18,19
[/animation]
[animation]
name=green
speed=10
loop=0
frames=20,21,22,23,24,25,26,27,28,29
[/animation]
[animation]
name=red
speed=20
loop=0
frames=30,31,32,33,34,35,36,37,38,39
[/animation]

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,9 @@
frame_width=10
frame_height=10
[animation]
name=default
speed=5
loop=-1
frames=0,1,2,3,4,5,6,7,8,9
[/animation]

Binary file not shown.

After

Width:  |  Height:  |  Size: 760 B

View File

@@ -0,0 +1,9 @@
frame_width=16
frame_height=16
[animation]
name=default
speed=5
loop=-1
frames=0,1,2,3,4,5,6,7,8,9
[/animation]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,9 @@
frame_width=26
frame_height=26
[animation]
name=default
speed=5
loop=-1
frames=0,1,2,3,4,5,6,7,8,9
[/animation]

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,9 @@
frame_width=46
frame_height=46
[animation]
name=default
speed=5
loop=-1
frames=0,1,2,3,4,5,6,7,8,9
[/animation]

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@@ -0,0 +1,9 @@
frame_width=46
frame_height=46
[animation]
name=powerball
speed=10
loop=-1
frames=0
[/animation]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

View File

@@ -1,44 +0,0 @@
frameWidth=37
frameHeight=37
[animation]
name=orange
speed=10
loop=0
frames=0,1,2,3,4,5,6,7,8,9
[/animation]
[animation]
name=blue
speed=20
loop=0
frames=12,13,14,15,16,17,18,19,20,21
[/animation]
[animation]
name=green
speed=10
loop=0
frames=24,25,26,27,28,29,30,31,32,33
[/animation]
[animation]
name=red
speed=20
loop=0
frames=36,37,38,39,40,41,42,43,44,45
[/animation]
[animation]
name=powerball
speed=10
loop=0
frames=10
[/animation]
[animation]
name=pop
speed=5
loop=-1
frames=48,49,50,51,52,53,54,55,56,57,58,59
[/animation]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 644 B

BIN
data/gfx/bullet/bullet.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 858 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 799 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 270 B

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
data/gfx/game/game_text.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 935 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 935 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 468 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 438 B

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@@ -1,5 +1,5 @@
frameWidth=16
frameHeight=16
frame_width=20
frame_height=20
[animation]
name=default

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 B

View File

@@ -1,5 +1,5 @@
frameWidth=16
frameHeight=16
frame_width=20
frame_height=20
[animation]
name=default

Binary file not shown.

After

Width:  |  Height:  |  Size: 623 B

View File

@@ -1,5 +1,5 @@
frameWidth=23
frameHeight=29
frame_width=28
frame_height=37
[animation]
name=default

Binary file not shown.

After

Width:  |  Height:  |  Size: 835 B

View File

@@ -1,5 +1,5 @@
frameWidth=16
frameHeight=16
frame_width=20
frame_height=20
[animation]
name=default

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 B

View File

@@ -1,5 +1,5 @@
frameWidth=16
frameHeight=16
frame_width=20
frame_height=20
[animation]
name=default

Binary file not shown.

After

Width:  |  Height:  |  Size: 506 B

View File

@@ -1,5 +1,5 @@
frameWidth=16
frameHeight=16
frame_width=20
frame_height=20
[animation]
name=default

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 553 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 422 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 388 B

View File

Before

Width:  |  Height:  |  Size: 717 B

After

Width:  |  Height:  |  Size: 717 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 720 B

View File

Before

Width:  |  Height:  |  Size: 561 B

After

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 716 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -0,0 +1,51 @@
frame_width=30
frame_height=30
[animation]
name=walk
speed=5
loop=0
frames=0,1,2,3
[/animation]
[animation]
name=stand
speed=10
loop=0
frames=4,5,6,7
[/animation]
[animation]
name=walk-sideshoot
speed=5
loop=0
frames=8,9,10,11
[/animation]
[animation]
name=stand-sideshoot
speed=5
loop=0
frames=12,13,14,15
[/animation]
[animation]
name=walk-centershoot
speed=5
loop=0
frames=16,17,18,19
[/animation]
[animation]
name=stand-centershoot
speed=5
loop=0
frames=20,21,22,23
[/animation]
[animation]
name=death
speed=15
loop=0
frames=24,25,26,27
[/animation]

BIN
data/gfx/player/player1.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

BIN
data/gfx/player/player2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 772 B

View File

@@ -1,5 +1,5 @@
frameWidth=24
frameHeight=24
frame_width=39
frame_height=44
[animation]
name=default

Binary file not shown.

After

Width:  |  Height:  |  Size: 944 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 887 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 443 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 835 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 529 B

View File

@@ -1,176 +0,0 @@
frameWidth=24
frameHeight=24
[animation]
name=walk
speed=5
loop=0
frames=0,1,2,3
[/animation]
[animation]
name=stand
speed=10
loop=0
frames=4,5,6,7
[/animation]
[animation]
name=walk_1C
speed=5
loop=0
frames=8,9,10,11
[/animation]
[animation]
name=stand_1C
speed=10
loop=0
frames=12,13,14,15
[/animation]
[animation]
name=walk_2C
speed=5
loop=0
frames=16,17,18,19
[/animation]
[animation]
name=stand_2C
speed=10
loop=0
frames=20,21,22,23
[/animation]
[animation]
name=sideshoot
speed=5
loop=0
frames=24,25,26,27
[/animation]
[animation]
name=centershoot
speed=5
loop=0
frames=28,29,30,31
[/animation]
[animation]
name=sideshoot_1C
speed=5
loop=0
frames=32,33,34,35
[/animation]
[animation]
name=centershoot_1C
speed=5
loop=0
frames=36,37,38,39
[/animation]
[animation]
name=sideshoot_2C
speed=5
loop=0
frames=40,41,42,43
[/animation]
[animation]
name=centershoot_2C
speed=5
loop=0
frames=44,45,46,47
[/animation]
[animation]
name=walk_pwr
speed=3
loop=0
frames=0,1,2,3
[/animation]
[animation]
name=stand_pwr
speed=5
loop=0
frames=4,5,6,7
[/animation]
[animation]
name=walk_1C_pwr
speed=3
loop=0
frames=8,9,10,11
[/animation]
[animation]
name=stand_1C_pwr
speed=5
loop=0
frames=12,13,14,15
[/animation]
[animation]
name=walk_2C_pwr
speed=3
loop=0
frames=16,17,18,19
[/animation]
[animation]
name=stand_2C_pwr
speed=5
loop=0
frames=20,21,22,23
[/animation]
[animation]
name=sideshoot_pwr
speed=2
loop=0
frames=24,25,26,27
[/animation]
[animation]
name=centershoot_pwr
speed=2
loop=0
frames=28,29,30,31
[/animation]
[animation]
name=sideshoot_1C_pwr
speed=2
loop=0
frames=32,33,34,35
[/animation]
[animation]
name=centershoot_1C_pwr
speed=2
loop=0
frames=36,37,38,39
[/animation]
[animation]
name=sideshoot_2C_pwr
speed=2
loop=0
frames=40,41,42,43
[/animation]
[animation]
name=centershoot_2C_pwr
speed=2
loop=0
frames=44,45,46,47
[/animation]

Some files were not shown because too many files have changed in this diff Show More