Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Seirei

Pages: [1]
1
Programming Questions / Re: Can I delay the 'Game Over' music?
« on: December 20, 2015, 10:41:07 PM »
Sooo funny thing.

If I put the following code into the Step event:
if(keyboard_check_pressed(global.shotbutton))
    audio_stop_sound(musGameOver);

I can stop the music using the my shoot button.

If I use global.restartbutton, which is the one that's bind to R, the music keeps going.

Guess I'll have to stick to the previous method for now.

2
Programming Questions / Re: Can I delay the 'Game Over' music?
« on: December 20, 2015, 08:52:41 PM »
Well, that was easy! :D

But now, if someone rebinds his R-Key it wouldn't work, right? I guess that's very unlikeley so I'll just keep it like that anyway.

Thanks a lot!

3
Programming Questions / Can I delay the 'Game Over' music?
« on: December 20, 2015, 07:45:34 PM »
Hey guys!

I'm new to the whole fangame thing and I'm currently experimenting with Game Maker Studio and the YoYoYo Engine.

I'm currently trying to delay the music that plays on death. I tried it by adding the music to an alarm in the Game Over object, wich worked perfectly, but it doesn't reset on pressing 'R'.

Then I tried to put it in the script for the Player Kill, but I just can't get it to delay.

So what would be the correct way to do this?

Thanks in advance!

Pages: [1]