- [NEW] Intro acabada

This commit is contained in:
2024-10-04 17:53:27 +02:00
parent f84eb3e238
commit d17ac3a2ed
4 changed files with 53 additions and 29 deletions

View File

@@ -17,7 +17,7 @@ namespace modules
void init()
{
audio::playMusic("mus_gameover.ogg");
if (audio::getCurrentMusic() != "mus_gameover.ogg") audio::playMusic("mus_gameover.ogg");
if (heroi == nullptr) heroi = actor::create("HERO", {16,32,8}, {6,6,12}, "test.gif", {0,32,20,32}, {-6,38});
heroi->flags = FLAG_ANIMATED;