Game Maker Studio 2 Audio Engine Tutorial

Поділитися
Вставка
  • Опубліковано 21 жов 2024

КОМЕНТАРІ • 50

  • @omegakidgaming4665
    @omegakidgaming4665 6 років тому +5

    I Am A 11 Year Old Kid With A Dream Of Making A Video Game! And It Helped! I Cannot Believe I Can Now Add Sounds! Thank You!

    • @hulkistain
      @hulkistain 2 роки тому

      I’m 9 with a dream do you wanna help me make my game and I will help you :)

  • @salgartv7900
    @salgartv7900 4 роки тому

    literally spent a while day trying to figure out why my music wasn't playing initially in the main menu and only when I would go back to it... thank you so much for talking about async save/load :)

  • @Wizirdi
    @Wizirdi 7 років тому +2

    Hey man, good to see you still uploading! I just started rocking UA-cam again as well. Awesome video, great information. Keep up the good work.

    • @RealTutsGML
      @RealTutsGML  7 років тому +1

      Hey, thank you so much. I'm really excited to see you making tutorials again!

  • @DrujdCZ
    @DrujdCZ 7 років тому +1

    Ohoo, finally i know how to use audio groups and why use them! Awesome! Thankies!

  • @lucasschachtaudio
    @lucasschachtaudio Рік тому +1

    WAV files are small files?!? Uhm they're one of the largest if not THE largest audio files :D

  • @ecksdee4773
    @ecksdee4773 7 років тому +5

    who else is excited and waiting for the next java series!!

    • @RealTutsGML
      @RealTutsGML  7 років тому +2

      I certainly am!

    • @ecksdee4773
      @ecksdee4773 7 років тому

      Could you make a quick tut on how to fix the collision in the java series?

  • @macklinmusic
    @macklinmusic 3 роки тому

    Great tutorial ! I have a quick question - I want to make a music based game where each item you find the song gets upgraded. Would that be possible to code in game maker ?

  • @GaijinInvader
    @GaijinInvader 5 років тому +11

    @3:14 ".wav files are very very small files..." what the heck you talking about man?
    .wav files are the biggest in size compared to .ogg and .mp3, which are lossy files formats!

    • @chlzy22
      @chlzy22 5 років тому +1

      Gaijin Invader +1! No idea what he’s talking about, .wav can be massive large files.

    • @psirensongs
      @psirensongs 5 років тому +9

      You are technically correct, however, in the context of what the video is about, what he's saying also makes perfect sense.
      .wav files used for sound effects that are maybe a few seconds long are not particularly big, especially if they're a low bit rate. You don't want these files to be compressed because then the game takes longer to load (as it has to convert compressed files to .OGG), and it can also cause delays if the sound effect has to line up perfectly to a key press. Not too likely to come up in simple games, but it is something to take into account.
      Yes, .wav files are uncompressed audio, which can be several GB in size depending on the length, but, as an example, a 1 second .wav file I have in my game files to use as a 1-Up sound is literally 114kb. The biggest files I have in my SFX folder are 173kb. Compressing these files is an unnecessary extra step. So when he says .wav files are very small, he's referring to the 1 to 3 seconds soundbytes used as in game sound effects. If you have a game where you're using large amounts of spoken dialogue (say, in the vein of a Metal Gear Solid), then yes, you would absolutely want to compress/convert them.
      Am a composer, recording artist, and "certified" audio engineer (ie. took out a big-ass student loan to go to school to learn stuff about audio and recording equipment, and didn't fail the course) who's trying to get into making games now. I hope this explanation is helpful!

    • @FlorentChardevel
      @FlorentChardevel 3 роки тому +1

      @@psirensongs I agree with you, but what bothers me is that he seems to consider that different source formats would have different behaviors in the game, when it's all converted in ogg when you build the game anyways. So I'd recommend to only work with .wav files if that's possible, to avoid compressing a sound multiple time.
      I might be wrong but I think the "uncompressed" option means the file is uncompressed from OGG to PCM directly when you load the game, and it stays uncompressed in the RAM the whole time, so the SFX can be played without latency at any time in your game. But it's still compressed to OGG when you build the game.

    • @psirensongs
      @psirensongs 3 роки тому

      @@FlorentChardevel Today I learned!

    • @FlorentChardevel
      @FlorentChardevel 3 роки тому +1

      @@psirensongs actually I’m not sure ahah. Uncompressed might mean that the game stores the file in a PCM format in the game files. I have to investigate more 😅

  • @doombrowski
    @doombrowski 6 років тому +2

    Great video. I was wondering if there was any way to use the audio_group_set_gain function to set the volume for each sound within the group relative to its original volume. Changing the group with the steps in your video set every sound within the group to an absolute value and not a relative value to their original volume. If the sounds are not imported at the volumes that will work well with the other sounds, it makes for some wonky sound.

  • @kwylde
    @kwylde 3 роки тому

    Quick question about audio_group_set_gain -- if I have sound effects in the same group with different volume levels, how does it work? Does it change their volume levels by a percentage, or by an absolute? For example, if I have SE1 at a volume of 1.0 and SE2 at a volume of 0.5, and I use audio_group_set_gain(x,0.5,1) -- will both volumes by halved, or will SE1 be set to half and SE2 make no sound at all from now on?

  • @TechnoMichaSDL
    @TechnoMichaSDL 7 років тому

    Loop Points are better for Background Music. The Music file is small and can instant repeating without cut off

  • @NotTofuFood
    @NotTofuFood 7 років тому +3

    Great tutorial really helped!

  • @brunoborba9849
    @brunoborba9849 Рік тому

    im trying do steps sound, but it dont work, can you help me?

  • @ChaoDee
    @ChaoDee 3 роки тому

    1:19 What is that type of audio file ?????

  • @keithb8329
    @keithb8329 Рік тому

    Great video, but what if I want to make custom sounds for my sprite player to speak 🗣️.

  • @OskarFFS
    @OskarFFS 7 років тому

    Are you going to still make tutorials using the GM1.4 engine?

  • @exploitablecheese
    @exploitablecheese 2 роки тому

    how do i make audio stop when i leave the room?

  • @gc2k4studio65
    @gc2k4studio65 7 років тому

    A great man and some really great tutorials.

    • @RealTutsGML
      @RealTutsGML  7 років тому

      Thank you I'm really glad you're enjoying them

  • @Oliwarder
    @Oliwarder 6 років тому +1

    i've got some strange problem. In preview WAV sounds are hissing, but in game works right. NEED HELP!

    • @Doct0rGonZo
      @Doct0rGonZo 6 років тому

      probably the wav file is in 24bit and gm only can 16 or 8bit

  • @Lubey117
    @Lubey117 7 років тому +1

    If you were to do a sound emitter tutorial that would definitely be amazing!!

  • @FrogeTV
    @FrogeTV 7 років тому +1

    Can you possibly do a tutorial on multiplayer lobbies/games?

  • @VerteXHardstyle
    @VerteXHardstyle 7 років тому

    Hey! What do you mean by ".wav files are very very small files" ? .. e.g 1 min of 320kbps .mp3 is 2.4 MB, however 1 min of 16 bit 44.1KHz .wav is 5.292 MB. And that is mono only, stereo .wav is double of that size.

    • @RealTutsGML
      @RealTutsGML  7 років тому

      +VerteXHardstyle Great information, I did research on .WAV files but didn't fully understand that size differences. Thank you for clearing that up.

  • @TheWalkthroughKiller
    @TheWalkthroughKiller 7 років тому +1

    You should really do an advanced game development tutorial in Java!

  • @prespickle9260
    @prespickle9260 7 років тому +1

    What happened to coding made simple?
    WHERE IS HE?

    • @RealTutsGML
      @RealTutsGML  7 років тому +1

      CodingMadeSimple is up and running with new courses and updates being built right now. However, I want to stay true to my roots with RealTutsGML and just put out the best tutorials I possibly can.

  • @reax5526
    @reax5526 7 років тому +2

    I just started learning java and I cant wait for more tutorials!
    I hope you will post them for free btw :3

    • @rowenkane5197
      @rowenkane5197 3 роки тому

      i guess Im randomly asking but does anybody know a method to get back into an Instagram account??
      I was dumb lost the account password. I would appreciate any tricks you can give me.

    • @emanuelcreed7700
      @emanuelcreed7700 3 роки тому

      @Rowen Kane instablaster :)

    • @rowenkane5197
      @rowenkane5197 3 роки тому

      @Emanuel Creed thanks for your reply. I found the site on google and im trying it out atm.
      Seems to take quite some time so I will reply here later with my results.

    • @rowenkane5197
      @rowenkane5197 3 роки тому

      @Emanuel Creed it worked and I now got access to my account again. Im so happy!
      Thanks so much you really help me out !

    • @emanuelcreed7700
      @emanuelcreed7700 3 роки тому

      @Rowen Kane Glad I could help :D

  • @TheOfficalMasterFurret
    @TheOfficalMasterFurret 6 років тому

    how do you get the sound to actually play, I hit the play button and it didn't play the sound/music

  • @dyslexicnam
    @dyslexicnam 7 років тому

    NOICE :D

  • @pablobadin6645
    @pablobadin6645 6 років тому

    im finishing a game in a old version of game maker 1.4 and... anybody knows how to put a music into a room and shutting down in another one? cuz i need it to finish it thanks.

  • @NotTofuFood
    @NotTofuFood 7 років тому +2

    Btw First