Creada la carpeta con los datos de las notificaciones
This commit is contained in:
BIN
coffee_crisis
Executable file
BIN
coffee_crisis
Executable file
Binary file not shown.
BIN
data/notifications/notify.png
Normal file
BIN
data/notifications/notify.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
@@ -237,6 +237,9 @@ bool Director::setFileList()
|
||||
asset->add(prefix + "/data/config/demo.bin", t_data);
|
||||
asset->add(prefix + "/data/config/gamecontrollerdb.txt", t_data);
|
||||
|
||||
// Notificaciones
|
||||
asset->add(prefix + "/data/notifications/notify.png", t_bitmap);
|
||||
|
||||
// Musicas
|
||||
asset->add(prefix + "/data/music/intro.ogg", t_music);
|
||||
asset->add(prefix + "/data/music/playing.ogg", t_music);
|
||||
|
||||
@@ -117,6 +117,9 @@ void Logo::update()
|
||||
// Actualiza el contador
|
||||
counter++;
|
||||
|
||||
if (counter == 1)
|
||||
screen->showNotification("hola");
|
||||
|
||||
// Comprueba si ha terminado el logo
|
||||
checkLogoEnd();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user