Thank you so much been trying to find this tutorial for ages.
@RedstoneBen8 жыл бұрын
Send me your game when it's done!
@gabehockin29918 жыл бұрын
Its Currently on steam greenlight and Newgrounds but its still under development. I will put a link in the comment when ive updated the game.
@EBLITZR8 жыл бұрын
@talnakar14328 жыл бұрын
I dont the reason wht but it worke just for the 2 first rooms, so i used the room start and end event to pause and resume the music, but thx for the tut m8, it was kind of help. Also, subbed fot u, so pls keep with the GameMaker tuts!
@JoshuaEfron4 жыл бұрын
This is great. Thank you.
@EBLITZR8 жыл бұрын
Thank's for helping me out bro... Subbed
@CRogers20138 жыл бұрын
6:03 for those of you who just want to get into the sound.
@gursegugu8 жыл бұрын
just what i needed thanks
@rosaarroyoa98977 жыл бұрын
How can I be able to make the background music fade out for the other background music for when I confront a boss in a current level and, after I defeated a boss, make the music fade back to the music of the current level? I use Game Maker 8.0 Lite, but I'm a beginner.
@owez71138 жыл бұрын
Thanks so much :D
@RedstoneBen8 жыл бұрын
No problem! If you have any other suggestions for video tutorials go ahead and ask!
@owez71138 жыл бұрын
if you still use game-maker, it would be quite cool if you done a tutorial on score systems! I'm making a arcade game that's endless and I need a time score but no-one has done it yet
@chevalarloveone25157 жыл бұрын
moving back between main menu and scene while music is in doubles the music so i have two of the same songs playing , how to fix? and great tutorial!
@RedstoneBen7 жыл бұрын
When re-watching this tutorial I noticed I did not make it clear that this setup is mainly for only having the music toggle on the main menu. If you would like the button to be on all levels (and not to double, like with your game) you must create a duplicate of the obj_music object. In this duplicate, remove the "audio_play_sound" line of code from the create event. Leave the original object in your main menu room, and place only the new duplicate object in each level.
@chevalarloveone25157 жыл бұрын
Ah! thanks very much! helped alot!
@BossAleks1233 жыл бұрын
i need this but in game maker studio 2 HERELLPP
@markjosephpanganiban56626 жыл бұрын
thanks
@tjas28 жыл бұрын
Thank you so much! I appreciate you! :) obj_music ---------------------------- CREATE EVENT: ---------------------------- global.music = 1; image_speed = 0; audio_play_sound(sound1,0,1); _________________________________ BUTTON PRESSED EVENT: ------------------------------------------------------ //Pause if global.music = 1{ audio_pause_sound(sound1); image_index = 1; } //Resume if global.music = 0{ audio_resume_sound(sound1); image_index = 0; } //Switch global.music [ON/OFF] global.music = !global.music; ___________________________________________ Make sure you have SPRITE in 2 images inside (like animation)
@nutridrink77377 жыл бұрын
Hello. I found a problem with it. If you mute the music and go to another room, and come back to main menu, the image index will reset. How to keep it on the mute stance?
@RedstoneBen7 жыл бұрын
Is it just the image index that is resetting? Or the state of the music (play/pause)? It's most likely because you aren't making the object/room persistent.
@nutridrink77377 жыл бұрын
Thank you it worked! (sorry i wasn't at home, also thx for the fast answer)
@Boshyson8 жыл бұрын
Searched a tut and found my classmate lmao
@ffffffuuuuuuu8 жыл бұрын
Bonjour :) I would like someone to help me with someting. How do I switch music between rooms and start it where I left it over when I go back? ------------------------------------------------------------------------------------------------------------------------------ -ex: I enter room #1 = music1, immediately starts playing. *I switch room* -- *Music1 is at 25.3 seconds* I enter room #2 = music2, immediately starts playing. *I switch room* -- *Music2 is at 2.1 seconds* I enter room #1 = **I want music1 to start from 25.3s** *I switch room* I enter room #2 = **I want music2 to start from 2.1s** etc.... ------------------------------------------------------------------------------------------------------------------------------ I tried doing something like this inside the step event of some object: if(keyboard_check_pressed(ord('N'))) { if(room = rm_game) { audio_pause_sound(snd_music1) audio_resume_sound(snd_music2) } else { audio_pause_sound(snd_music2) audio_resume_sound(snd_music1) } } ------------------------------------------------------------------------------------------------------------------------------------- but it doesn't work for some reason. Anyone have a clue?
@enrikovalanec29308 жыл бұрын
man i have problem, this only works when i want to mute the music when i press it again it wont unmute and continue it just get stuck in mute
@RedstoneBen8 жыл бұрын
Can you send me your project file?
@enrikovalanec29308 жыл бұрын
yeah sure we.tl/ff879UgGes
@RedstoneBen8 жыл бұрын
You have to send me the GMZ file. (File > Export Project)
@petan01203 жыл бұрын
Sorry maybe I am retarded, but everytime, when I go out of the menu (where is the obj_music) to some other room and then I go back to menu, the music starts again, so the music is playing two times, and if I turned music off in menu, then go to other room and then go back to menu it will play again... When i duplicate obj_music and remove the line of code (audio_play_sound) and give it to other rooms, it will not change anything for me... Can you please help me? Sorry for my painfully english.
@elian31517 жыл бұрын
The code doesnt work at my game, it keeps saying error and stuff
@thedurpachu7 жыл бұрын
Thatmen00 the code changed from audio_play_sound to just sound_play. Same for other sound commands