Support me on Patreon! www.patreon.com/peytonburnham Some benefits include stuff like your name in the credits, early videos, assets (art and sfx), and the project file itself! So definitely check it out if you want to support the channel and get some perks! Thanks!
With this implementation you don't have to have variables for each sound: [ obj_sound_manager ] >>> CREATE sound_queue = [] function play_sound(_snd) { if (!array_contains(sound_queue, _snd)) { array_push(sound_queue, _snd) } } >>> END STEP // Process each sound in the queue for (var i = 0; i < array_length(sound_queue); i++) { var _sound_to_play = sound_queue[i] audio_play_sound(_sound_to_play, 8, false) } // Clear the queue after processing sound_queue = [] To play a sound: obj_sound_manager.play_sound(snd_jump)
Thanks for the amazing tutorial! first time I'm adding sound to my game and it was very helpful! A small improvement is to have a script that adds sounds (if the sound is not already in the list ) to a ds_list inside the oSFX, then in the step of the oSFX you can just iterate over the list playing every sound and in the end clearing the list, this way you dont need a bunch of boolean variables
Yo! Completely unrelated to your video but I just played through(almost) all of Rose Of Starcross and I loved it!!! the nattle system is fun and is my type of strategy, I found u through ur game maker tutorials, and then found ur game and wow, ur game literally deserves waaaaaay more attention than it has. Love ur videos and hope the best for u and for ur games. P.S: Wishlisted Starcade :).
Your videos are great. They have helped me learn so much in Game Maker. I can't usually follow along with most instructors, but you are easy to listen to and keep up with. Thanks so much.
Just want to let you know that you are amazing at explaining, I'm just following all your tutorials to learn more about making games because.. games have always been part of my life and I want to create something to show to people and just be proud, hopefully main goal to enjoy playing it too and make it better and better. Once again thank you for all your hard work put into these videos and good luck in the future!
Hey man! I don't know if you're going to read this, but i just want to say your tutorials are amazing! It was always my little dream to make my own game and thanks to you i might one day do a pretty good game! So thank you so much and keep doing this stuff! It's amazing and you're helping a lot of people. I hope you get more famous over time! You deserve it. Please keep doing this!
Hey! Wanting to ask if you are going to do a video where you may cover an RPG battle system of sorts or how to make one if doing so! Love the content and hope to see more in the future. Your videos are easily digestible and fun to understand. Keep up the great work!
how do you always upload vids on topics the week i get stuck on them... i really appreciate this vid! ive been stalling on doing this for my current project! edit: Just finished the vid! incredibly thorough and helpful, thank you!
I got a video idea to suggest in case that's something that interests others. Maybe you could make a tutorial on cutscenes? Like making NPC's move and talk at the same time, stuff like that. I know I could definetely use such a tutorial
Could you please make a video about the effect layers? Especially about combining then with the depth sorting algoritm you showed. I've been struggling with this for days and you are my only hope...
This was so helpful, thank you! I'm wondering what you might suggest for when games get larger and have lots of sounds - I guess checking a true/false in oSFX on every step is not ideal. Thanks for any advice!
Do you plan to do pixel art and music tutorials, and how did you learn how to do these? Any specific youtube video or courses? Your videos are pretty good. Your pixel art and music style are interesting. Also, in terms of game feel or game juice do you incorporate this near the beginning of your project or towards the end of the project? Or do you kind of just work on it little by little throughout the entire project?
Thank you! I might do some pixel art tutorials! And i learned both that and music just on my own over the years, studying stuff i like! And as for the SFX system, the sooner you add it the easier it will be to keep adding new sfx into your game!
How do I set a series of Sound Samples for a Invader Sprite then repeat the sound until the Invader is destroy? or do I have join all the samples together as 1 long sample ?
Fantastic tutorial! Thank you. Though, minor detail, if I change the volume slider of a sound effect it doesn't actually change the volume of the sound effect in the game.
Peyton, I’ve been trying to ask for help, I’ve been commenting on videos but I have not gotten any replies, I’m remcommenting to see if you see it this time. For the 3rd video on text boxes, I’ve been having this problem, whenever I start up the game, I click on the npc and the text box shows up for like a frame then disappears, leaving only the first letter in the conversation. If you or anyone can help me that’ll be great.
Thank you so much for all your helpful videos but how do you make your own custom text sounds? I have ideas for the sound but don't know how to put it into Gamemaker.
Hey, I love your videos and especially the tutorials that helped me get started with programming and just wanted to ask did you make Rose Of Starcross and Starcross Starcade in Gamemaker?
Just noticed something. I placed a coin in a room, worked great, I picked it up and went into another room, when i warped back to the room the coin was placed in, the coin had respawned, how can I prevent that?
hello I am Nathan Flood I am a student learning coding ND I appreciate your videos so much but I had a question about your music could you do a tutorial on that
Thanks so much, your videos are super helpful. I was wondering if there was a way to have a sound loop whenever the character is moving (in my case, I have a little engine hum because my character has no feet, just sort of floats)
I have a question, I’m sorry if this is really easy to do and/or if you’ve already covered it but could you help with interacting with NPCs? Like talking with them or maybe even getting an item from them? That would really help me with what I’m trying to do right now and I would really appreciate it
for some reason, no matter what I do, playing a sound just doesn't work for me. I followed the directions and the sound plays in the preview of game maker but when in the game it just doesn't play. Am I doing something wrong?
you ever figure this out? Been having the same issue for a LONG time. Sounds used to work for me and then after updating gamemaker they all broke. Now I can't get sound fx OR music working
@@thomasttt I actually don’t remember what the problem was. It might’ve been that I just didn’t have my headphones in but like they all work now. Thinking back I think it was an issue with programming the sound effects. So just try a very basic test with little or no if statements until it works.
hello!!! i am wondering if you have added a fix for the code with the menu/dialouge? i set my accept get to "F" and its works but if i press f to go to the next room, and i press it again outside of the menu room, it sends me to the next room again. if this is not your issue in teh code and mine ill just go watch it again :D ty!!!! also love the tutorials you have been such a huge help in making my game.
Hey… just a favor from you? Would you mind helping me and others help code an Undertale fangame like giving tutorials for it? Something that would resemble exactly the original game. Another user QSVGaming made some already but his tutorials are just plain bad and whenever I followed strictly all his code, my programmed got riddled with errors and bugs. QSVGaming isn’t teaching properly at all. I’m not forcing you to but try to do it if you are free.
Support me on Patreon! www.patreon.com/peytonburnham
Some benefits include stuff like your name in the credits, early videos, assets (art and sfx), and the project file itself! So definitely check it out if you want to support the channel and get some perks! Thanks!
You can make a guide to a running system in rpg as in deltarune ?😁
this is greattt, maybe do a series on hacknslash games tutorial kinda like starcade
I don't even use this game engine. I'm here to feed the algorithm with my comments and likes
👑👑👑👑👑
yo didn't expect to see you here
With this implementation you don't have to have variables for each sound:
[ obj_sound_manager ]
>>> CREATE
sound_queue = []
function play_sound(_snd) {
if (!array_contains(sound_queue, _snd)) {
array_push(sound_queue, _snd)
}
}
>>> END STEP
// Process each sound in the queue
for (var i = 0; i < array_length(sound_queue); i++) {
var _sound_to_play = sound_queue[i]
audio_play_sound(_sound_to_play, 8, false)
}
// Clear the queue after processing
sound_queue = []
To play a sound:
obj_sound_manager.play_sound(snd_jump)
I really like this method, thank you!
Thanks for the amazing tutorial! first time I'm adding sound to my game and it was very helpful! A small improvement is to have a script that adds sounds (if the sound is not already in the list ) to a ds_list inside the oSFX, then in the step of the oSFX you can just iterate over the list playing every sound and in the end clearing the list, this way you dont need a bunch of boolean variables
Yo! Completely unrelated to your video but I just played through(almost) all of Rose Of Starcross and I loved it!!! the nattle system is fun and is my type of strategy, I found u through ur game maker tutorials, and then found ur game and wow, ur game literally deserves waaaaaay more attention than it has. Love ur videos and hope the best for u and for ur games. P.S: Wishlisted Starcade :).
Thank you so much!
Your videos are great. They have helped me learn so much in Game Maker. I can't usually follow along with most instructors, but you are easy to listen to and keep up with. Thanks so much.
Just want to let you know that you are amazing at explaining, I'm just following all your tutorials to learn more about making games because.. games have always been part of my life and I want to create something to show to people and just be proud, hopefully main goal to enjoy playing it too and make it better and better.
Once again thank you for all your hard work put into these videos and good luck in the future!
Thank you!! And good luck to you too!!
Hey man! I don't know if you're going to read this, but i just want to say your tutorials are amazing! It was always my little dream to make my own game and thanks to you i might one day do a pretty good game! So thank you so much and keep doing this stuff! It's amazing and you're helping a lot of people. I hope you get more famous over time! You deserve it. Please keep doing this!
oh god i needed this
adding sound from scratch was so hard lmao
Hey! Wanting to ask if you are going to do a video where you may cover an RPG battle system of sorts or how to make one if doing so! Love the content and hope to see more in the future. Your videos are easily digestible and fun to understand. Keep up the great work!
Yo thank you! Yes I am! It’ll be a little while but I’m definitely going to do that!
@@peytonburnham4316 Awesome! Looking forward to it, take your time and keep it up my dude!
I said that but thank you for getting his attention
how do you always upload vids on topics the week i get stuck on them... i really appreciate this vid! ive been stalling on doing this for my current project!
edit: Just finished the vid! incredibly thorough and helpful, thank you!
Oh good haha! Glad it worked out for you!!
Can you make a video with cutscenes ?
OOOHHHH THANK YOU SO MUCH 😭😭😭😭
I got a video idea to suggest in case that's something that interests others. Maybe you could make a tutorial on cutscenes? Like making NPC's move and talk at the same time, stuff like that. I know I could definetely use such a tutorial
same
Man I love your videos. You should do a tutorial about a Earthbound style battle system or kinda
Could you please make a video about the effect layers? Especially about combining then with the depth sorting algoritm you showed. I've been struggling with this for days and you are my only hope...
Love your channel! Plz keep makin' theeese
This was so helpful, thank you!
I'm wondering what you might suggest for when games get larger and have lots of sounds - I guess checking a true/false in oSFX on every step is not ideal. Thanks for any advice!
i just love your videos and your games
WOOOO TYSM!!!
You are a gem love all your work
Peyton how do you animate the water is it a tileset or what?
Its just a single big sprite! Was a little bit easier to do since the demonstration is just a single screen!
Do you plan to do pixel art and music tutorials, and how did you learn how to do these? Any specific youtube video or courses?
Your videos are pretty good. Your pixel art and music style are interesting.
Also, in terms of game feel or game juice do you incorporate this near the beginning of your project or towards the end of the project? Or do you kind of just work on it little by little throughout the entire project?
Thank you! I might do some pixel art tutorials! And i learned both that and music just on my own over the years, studying stuff i like!
And as for the SFX system, the sooner you add it the easier it will be to keep adding new sfx into your game!
How do I set a series of Sound Samples for a Invader Sprite then repeat the sound until the Invader is destroy? or do I have join all the samples together as 1 long sample ?
Fantastic tutorial! Thank you. Though, minor detail, if I change the volume slider of a sound effect it doesn't actually change the volume of the sound effect in the game.
Peyton, I’ve been trying to ask for help, I’ve been commenting on videos but I have not gotten any replies, I’m remcommenting to see if you see it this time. For the 3rd video on text boxes, I’ve been having this problem, whenever I start up the game, I click on the npc and the text box shows up for like a frame then disappears, leaving only the first letter in the conversation. If you or anyone can help me that’ll be great.
Thank you so much for all your helpful videos but how do you make your own custom text sounds? I have ideas for the sound but don't know how to put it into Gamemaker.
thank you sooooo much!
Hey, I love your videos and especially the tutorials that helped me get started with programming and just wanted to ask did you make Rose Of Starcross and Starcross Starcade in Gamemaker?
Thanks! And yep they’re both being made in gamemaker!
Just noticed something.
I placed a coin in a room, worked great, I picked it up and went into another room, when i warped back to the room the coin was placed in, the coin had respawned, how can I prevent that?
I have now learned that I can use globals to make the picked up coins persistent :)
hello I am Nathan Flood I am a student learning coding ND I appreciate your videos so much but I had a question about your music could you do a tutorial on that
Do you plan to do a tutorial on cutscenes ?
Thanks so much, your videos are super helpful. I was wondering if there was a way to have a sound loop whenever the character is moving (in my case, I have a little engine hum because my character has no feet, just sort of floats)
I have a question, I’m sorry if this is really easy to do and/or if you’ve already covered it but could you help with interacting with NPCs? Like talking with them or maybe even getting an item from them? That would really help me with what I’m trying to do right now and I would really appreciate it
for some reason, no matter what I do, playing a sound just doesn't work for me. I followed the directions and the sound plays in the preview of game maker but when in the game it just doesn't play. Am I doing something wrong?
you ever figure this out? Been having the same issue for a LONG time. Sounds used to work for me and then after updating gamemaker they all broke. Now I can't get sound fx OR music working
@@thomasttt I actually don’t remember what the problem was. It might’ve been that I just didn’t have my headphones in but like they all work now. Thinking back I think it was an issue with programming the sound effects. So just try a very basic test with little or no if statements until it works.
@@DJaycerOfficial thanks for replying
A quick question about Rose of starcross: will it be ported to console or will it only be on pc?
hello!!! i am wondering if you have added a fix for the code with the menu/dialouge? i set my accept get to "F" and its works but if i press f to go to the next room, and i press it again outside of the menu room, it sends me to the next room again. if this is not your issue in teh code and mine ill just go watch it again :D ty!!!!
also love the tutorials you have been such a huge help in making my game.
when can i finally play your game, ive been waiting ..
dont understand how to make step sound effect
mine dosent play a sound
I wait Cutscenes D:
In time!
@@peytonburnham4316 Wait, wait and again wait
second
Hey… just a favor from you? Would you mind helping me and others help code an Undertale fangame like giving tutorials for it? Something that would resemble exactly the original game. Another user QSVGaming made some already but his tutorials are just plain bad and whenever I followed strictly all his code, my programmed got riddled with errors and bugs. QSVGaming isn’t teaching properly at all. I’m not forcing you to but try to do it if you are free.