GameMaker: Studio - Your first game 6: Sound Effects

Поділитися
Вставка
  • Опубліковано 17 жов 2024
  • A GameMaker tutorial for absolute beginners to go from nothing to a completed game using GML scripting, no experience necessary!
    This tutorial teaches how to create and add simple sound effects to your game.
    Playlist: • Your first GameMaker Game
    www.gamemakertu...
    / shaunspalding
    shaunspalding.c...

КОМЕНТАРІ • 188

  • @MrJaimeification
    @MrJaimeification 9 років тому +14

    It's amazing how sound makes games much much better

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

    Somebody needs to buy this man many, many beers. Best tutorials on YT.

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

      rumor has it, shaun subsists on a strict diet of energon cubes and mountain dew.

  • @gursegugu
    @gursegugu 8 років тому +2

    thanks to your other tutorials i figured that out by myself and seeing the tutorial afterwards makes me feel great thanks for the great explanation no one else ever managed to teach me code

  • @andrewsnook8168
    @andrewsnook8168 8 років тому +5

    if you're STILL getting the windows ding sound, even while using the latest version of GMS, and the "use new audio engine" box is checked in global settings, go to one of your sounds, and press the green play button. if the sound doesn't play, you just need to reload it!
    worked for me!

  • @cynro7951
    @cynro7951 8 років тому +1

    So Far Shaun, your tutorials are uncomplicated and very simple and easy to follow in a few steps!
    I have a lot to say, and one of them is, in six episodes of your easy tutorials, i've learnt more than i did in three years!
    Thank you for this, i will highly recommend you to other beginners! I love your tutorials, my brother is even following them now! Thanks man!

  • @UndeadMunchies
    @UndeadMunchies 9 років тому

    I already knew the basics of GML plus some intermediate stuff but this series has still taught me a lot.

    • @9000fail
      @9000fail 9 років тому +1

      killerky842 Yes I agree, was expecting to see a random sound on keypress atleast

  • @MrLal170
    @MrLal170 9 років тому +8

    Really appreciates these videos, keep up the good work!

  • @epicbass8430
    @epicbass8430 9 років тому

    This was really helpful! I was looking for something like this because i knew NOTHING about making games and this taught me quite alot I think.

  • @DreambrushLPs
    @DreambrushLPs 8 років тому +1

    When you I do the smaller asteroid's sound effect, it also plays the sound effect from its parent object, the explosion from the larger asteroid. How do I flush the previous audio? In other words, how do I negate this particular trait from carrying over to the child object? I want the smaller asteroid to have its own sound effect, but the previous one always plays with it.

  • @gabrielchfernandez
    @gabrielchfernandez 8 років тому

    Hi Shaun! just a question. When I play the sound on the sound window sounds only for the left speaker, but when I play the game, sounds in Stereo. Is a bug or this is the way that GM play the sound? Thanks!

  • @Sparky_17
    @Sparky_17 9 років тому +2

    shaun any tips for making a game I need ideas for the young game maker bafta's or something like that

  • @onigato8183
    @onigato8183 9 років тому +1

    Enjoying the series, thank you for making it.

  • @sheev2372
    @sheev2372 8 років тому +3

    I had to rebuild the instance creation of my projectiles and noted that if you have a laser for a projectile or something like that , you might want to add the line of code before the audio playing line as follows :
    bullet.image_angle = image_angle

  • @Syr3
    @Syr3 9 років тому

    Mine is Game Maker 8.0 Pro. It doesn't recognize the function "audio_play_sound". By looking in the index, I found instead "sound_play", which seems to have limited options for the sounds.
    Any ideas of how I set the priority and loops of sounds if I can't do it like you do?
    Thanks!

  • @tobycat7
    @tobycat7 8 років тому +31

    my shoot sound is a windows error sound :(

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

      Me: *Your profile picture*

  • @chrt222
    @chrt222 8 років тому

    I wanted to have the game play a sound when it reached numbers like 100 or 200 but it plays the sound repeatedly.
    I put this in obj_score -> draw or even step
    **if (global.points = 100) audio_play_sound(snd_shoot,0,0); **
    any suggestions?

  • @TheOfficialPolo
    @TheOfficialPolo 9 років тому

    I wanted to create master volume option in my menu ( two seperate maps - one for main menu and second for options). When I start the main menu map I have automatic music start after it's created. When I get into options menu and change master volume to fe. 50% and than go back to main menu music goes back to 100%. Is there any command or something that checks if music is already on?

  • @R33DPLAYS
    @R33DPLAYS 9 років тому +2

    dude can you help me out, i create my own music using fl studio but the problem im having is that i have no sound for my title screen just a wind sound which loops through the levels which is fine because the player is high up in the air, the problem is that when you enter the first stage my music plays but then when you finish the stage and go back to the title screen the music is still playing, also if you go back into that same stage the song overlaps, is there an easy fix for this, ive tried making random codes like, if room = title sound_stop = master_track, or if room = title sound_volume (master_track, 0) and so on but nothing seems to work.

    • @lordfagbutt7905
      @lordfagbutt7905 8 років тому

      +R33D PLAYS
      I'm not sure whether you figured this out already. But you could just create an invisible object in the menu that when created stops the level music.

    • @R33DPLAYS
      @R33DPLAYS 8 років тому

      Lord Fagbutt
      That's exactly what i ended up doing, thanks anyway :)

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

    How do you cause a sound to loop back starting at a time later than the beginning of the sound. I have some background music that has an intro portion but I do not wish to repeat the intro when I loop the sound.

  • @jayrose-ham8834
    @jayrose-ham8834 8 років тому +1

    Is there a way to make a cooldown to the sound playing??? Im putting jump sounds on my platformer and when you press jump while in midair it makes the sound again which i dont want it to...

    • @ganondorfchampin
      @ganondorfchampin 8 років тому

      May a variable for the cool down, and have it decrease over time. Only trigger the sound when it's zero.

  • @GrungleDorf
    @GrungleDorf 8 років тому

    What do you do when it say " Reading project file....Error : Unable to find audio resource "snd_Shoot"- using default sound (Windows Ding)?"

  • @xMysterixPlays
    @xMysterixPlays 9 років тому

    PLEASE HELP!
    I created an installer and installed the game on my pc...but the sound won't play..
    It works in Game Maker after running the game through it...
    why not under windows...?
    ( i have already ticked "use new audio engine" in global game settings)

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

    Is that working on game maker 8.1 lite. I asking becouse the code audio_play_sound(snd_shoot,0,0); don't working

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

    Hii Shaun!
    I have a problem with the sounds.When i write: audio_play_sound(snd_explode,0,0); or audio_play_sound(snd_shoot,0,0); i can't hear the sounds while playing. I rewrote everything three times but it's still not working. I checked if there are any sound problems in my computer but i found nothing at all.
    Can please someone help me out?
    Thank you!

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

      The command to play sounds in Game Maker is now:
      sound_play(index)
      Instead of audio_play_sound(index)

  • @NAPEGAMES
    @NAPEGAMES 8 років тому

    How can i put a different song depending on my level (game room), and how to make previous song to stop... please help me with that one... (sorry about my english)... also... my game is a platformer, every time the character dies the music start again with the previous music in the background.

    • @nathanitet
      @nathanitet 8 років тому +1

      write it so that when the player is in collision with the portal or whatever else, your ending area, it runs an action telling the sound to stop, then when the next level starts, have an action turning on a song or w/e

    • @NAPEGAMES
      @NAPEGAMES 8 років тому +1

      yes i did that thank you! now... what i´m trying to know is how to make a room change automatic after some time... for cutscenes or splash screen. any idea? thank you

    • @nathanitet
      @nathanitet 8 років тому +1

      No problem!
      Unfortunately I'm still a pretty bad noob when it comes to Game Maker, so I don't know :/

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

    This is where most of my problems happen uploading has been not going good with me, I do have sound effects from Pinicle 18 can I use them?

  • @FreshBeatles
    @FreshBeatles 9 років тому +3

    Shaun can you tell me how to make a death screen or something?

  • @trashprop
    @trashprop 8 років тому

    Any idea how to change the music playing in the background based on the current score? I keep playing with the code and can get one song to start if I switch the score system back go global.score instead of 'points' -- I'm hoping to have the music change based on how well the player is doing. Any thoughts would be GREATLY APPRECIATED!

    • @ganondorfchampin
      @ganondorfchampin 8 років тому

      You need to have some sort of event controller which checks ever step if the score is in certain bounds, and then you have to stop one track and start another based on that. Don't know how to stop tracks though, and the hard part is getting the tracks to blend together.

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

    That keyboard typing gives me ASMR

  • @sultantech6200
    @sultantech6200 8 років тому

    I have a Q?
    if I want my spaceship to never leave the room
    so the room is the boarder for the ship
    what do I code ?
    or how to make that happen?

  • @crylune
    @crylune 9 років тому +1

    Really good tutorial. Everything worked perfectly since start. :)

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

    how could i make the score move along with the camera?

  • @lomina-agario6188
    @lomina-agario6188 8 років тому

    ___________________________________________
    FATAL ERROR in
    action number 1
    of Key Press Event for Key
    for object obj_player:
    COMPILATION ERROR in code action
    Error in code at line 5:
    sound_play(snd_shoot,0,0);
    ^
    at position 26: Wrong number of arguments to function or script.
    PLEASE HELP

  • @anon9362270
    @anon9362270 9 років тому

    Hey Shaun..first and foremost thank you so much for putting the effort into making all these videos.
    I don't come from a cs background but its my love for video games which has driven me so far into learning GM and your videos have helped massive.
    QQ> when can we expect the next in the series? I already started experimenting with design and codes but still a bit shady. How can we add level ups and enemy ai. Does the same principle of platformer ai work here?
    Where can I shoot all these Qs to you instead of UA-cam?
    Thanks a bunch mate.
    Cheers

  • @Jezuwa
    @Jezuwa 9 років тому

    How can I do something like.. when the sound stops playing, a code will execute?

  • @osoman86
    @osoman86 9 років тому

    ***** really enjoy videos, this series especially it is helping a lot. I have one quesiton though which is should I get the Studio Professional version at all? I was heming and hawing about doing it and now it went off sale so it's back up to $99.99. Money is tight so it's just a wonder if I am missing anything by not having it. Please keep up the awesome work looking forward to the next one.

  • @tompeden838
    @tompeden838 9 років тому

    How would you play the explosion when the player object collides with the asteroid, before the restart happens? cant figure it out

    • @ArloMathis
      @ArloMathis 9 років тому

      Tom Peden You could try the wait command, it'll freeze everything in the game for a specified amount of frames, except sounds.

  • @InsanityAtNight
    @InsanityAtNight 9 років тому

    How did you get your menu to become apart of the right screen? Mine is just a popout

  • @alexandruolareanu9743
    @alexandruolareanu9743 8 років тому

    When I press arrow and arrow simultaneous I can't shoot. It's strange because when I do the same with arrow it works just fine. How can I fix this?

    • @user-de8jm8kg8u
      @user-de8jm8kg8u 8 років тому

      ive never coded this specific game, but all I can really recomend is looking through your code and see if you messed up something with a funtion

    • @metalman895
      @metalman895 8 років тому +2

      It could also be a limitation of your keyboard. I ran into the same problem - apparently keyboard manufacturers put multiple keys on the same circuit, so pressing multiple keys down will only send so many inputs to the computer. If you run into it a lot, you might try switching one of your keys to shift, control, or alt. This causes different problems sometimes (sticky keys) but those keys are designed to be pressed together with others.

  • @YoutubeChannel-oq6ss
    @YoutubeChannel-oq6ss 7 років тому

    do u know if gamemaker has any pixalated fonts??

  • @aerlynx5488
    @aerlynx5488 8 років тому

    what about sound when the player dies? I created a destroy event for the play then wrote " audio_play_sound(snd_player_death,0,0); " but it doesnt play any sound

    • @LordKingler
      @LordKingler 8 років тому

      +Aerlynx That depends on a lot of things you'd need to put some code(if you haven't already found out the problem) my best guess is you put the code in the player object so when it gets destroyed it can't run the code because the code isn't there anymore. If that is the problem then you could put the destroy code into an alarm and set it for a few seconds and play your sound when the player HP hits 0
      EX:
      Step Event
      if playerhp

    • @sprocketriggs5926
      @sprocketriggs5926 8 років тому +1

      if you havent figured it out its cuz the game resets before the sound plays. The fix is to set it so that when the player is destroyed, to restart the room, not the game. Let me know if this helps someone :D.

  • @massacre-xf4ro
    @massacre-xf4ro 8 років тому

    what do I type after typing, sound_play(index)?

  • @15mscudieri
    @15mscudieri 9 років тому

    how do you have the sound of shooting match your fire rate?

  • @ganondorfchampin
    @ganondorfchampin 8 років тому

    How do you refer to another instance in GML? I want to make a health bar which references the character's health.

    • @Houdini111
      @Houdini111 8 років тому

      ganondorfchampin I'm new to GM, but I'd either create a global variable or a function (not sure how to do the latter).

    • @ganondorfchampin
      @ganondorfchampin 8 років тому

      Houdini111 You have to use scripts to make functions.

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

    my question before is already answered from your video. thank you for step by step rule. i think it's great idea

  • @interghost
    @interghost 8 років тому +4

    Nice little sfx program thanks ;)

  • @glassesfreak3829
    @glassesfreak3829 8 років тому

    when I finish line 3 it says there should be a comma or close bracket at position 73

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

    Thank you very much on these series mate!

  • @johnblurjmc5036
    @johnblurjmc5036 5 років тому

    shaun So far I understood everything - thank you

  • @DeutyDaBeast
    @DeutyDaBeast 9 років тому

    I made my entire game in code but for some reason the audio_play_sound function just will not work, but using drag and drop it works. It puts me at a disadvantage though because I want sound to play during different events in code.

    • @DeutyDaBeast
      @DeutyDaBeast 9 років тому

      Thanks for the reply, I had found scripts someone had written and put in a forum for checking which engine it was using and using the appropriate code for each situation.

    • @kaneda7368
      @kaneda7368 9 років тому +1

      ***** I can't find this....is it in the include section?

  • @Connorses
    @Connorses 8 років тому

    Putting the action "Wrap when outside screen" in a "Outside Screen" event caused things to randomly disappear for me (I think it's trapping them outside the screen by triggering the wrapping indefinitely). I fixed this by using the "Step" action instead.

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

    sound effects...yes..YES!!

  • @ghostman982
    @ghostman982 8 років тому

    does anyone else have the problem that while playing the sound in game it sounds distorted, is there a way to fix this?

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

    Great sound tutorial. Easy!

  • @patrickv1080
    @patrickv1080 8 років тому

    my explosion sound is a windows error sound but why =? my shooting laser works just fine

  • @cecerenee141
    @cecerenee141 9 років тому

    Got a fatal Error in the sound and Score. Can you help

  • @GJovaani
    @GJovaani 8 років тому

    GameMaker can't read the sound I downloaded. When I add a new sound I can't play it and it's not recognized as a .wav file. Does anyone know how to fix this?

  • @nikki1lock
    @nikki1lock 8 років тому

    thx for teaching my young son how to make his own game

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

    Can someone tell me how to be able to hear the sound only when the enemy is above you thanks!

  • @TheElhoim
    @TheElhoim 8 років тому

    You made my day with bfxr! thanks!

  • @REALSOLIDSNAKE
    @REALSOLIDSNAKE 8 років тому +2

    Shaun, I really like your tutorials. Uncomplicated and easy to follow. =) Keep up the good work.
    I made some UFO's to go along and added an hoovering sound to them, but if one gets destroyed, all the others lose the sound. (I have destroy->stop sound)
    How can I make it work separately for each single one? I
    remember you said something in your previous tutorials that could be applied, but can't seem to nail it.
    Thanks in advance!

    • @GravityVenom
      @GravityVenom 8 років тому

      +RealSolid_Snake if all your ufo's you place are just instances of the main object then it will stop the sound for the main object which includes all the instances of it.
      Hope this helps :D

    • @REALSOLIDSNAKE
      @REALSOLIDSNAKE 8 років тому

      +nate -Music it did. Thanks! Im having fun learning this.

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

    You made all awesome games when you been made!

  • @Peter1992t
    @Peter1992t 8 років тому

    If you place the explode sound for asteroids under the collision with bullet script, you can avoid code reuse.

  • @krazydemtuvia4256
    @krazydemtuvia4256 8 років тому +6

    in my pc it isnt recognize that áudio_play_sound function

    • @krazydemtuvia4256
      @krazydemtuvia4256 8 років тому

      +Shaun Spalding but with that function sound_play (index) i'm not able to set the loop to true or false

    • @Terracraft321
      @Terracraft321 8 років тому +1

      +Tropa Karlitos
      its not '' áudio_play_sound ''
      It is supposed to be with a default a(A) not with á

    • @Terracraft321
      @Terracraft321 8 років тому +1

      +Tropa Karlitos
      its not '' áudio_play_sound ''
      It is supposed to be with a default a(A) not with á

    • @krazydemtuvia4256
      @krazydemtuvia4256 8 років тому

      even with the default ''a'' it doesnt work, its not recognized

    • @nathanitet
      @nathanitet 8 років тому

      Maybe all your other a's are the accented a too?

  • @massacre-xf4ro
    @massacre-xf4ro 8 років тому

    what version of gamemaker do you have? I have 8.1.

    • @MidoriMushrooms
      @MidoriMushrooms 8 років тому

      GM studio, it's the newest version

    • @massacre-xf4ro
      @massacre-xf4ro 8 років тому

      +Kazekai was that a joke or what? because If it was then,lol.

    • @MidoriMushrooms
      @MidoriMushrooms 8 років тому

      no o_O to my knowledge it is the newest one unless there's another one out.

    • @massacre-xf4ro
      @massacre-xf4ro 8 років тому

      +Kazekai you know all versions have the word,"studio", in it so, do you know what numbers are? I'm talking about versions like 8.1 or something else.

    • @MidoriMushrooms
      @MidoriMushrooms 8 років тому +4

      GM8.1 did not have studio in the name

  • @Drakonic
    @Drakonic 9 років тому

    This is a little complicated:
    Could you possibly do a tutorial on creating a character, though not using one sprite? I'm looking for how to create a character whose limbs rotate on pressing keys, or move in a specific animation. If you have ever seen Rayman Legends or Rayman Origins, that's the kind of look I'm going for.

    • @jmonkey2150
      @jmonkey2150 9 років тому

      TechnnoGamer you should look at inkscape its called vector art its actully alot easyier than pixel art you could create what your looking for plus its open source

    • @UndeadMunchies
      @UndeadMunchies 9 років тому

      This really is the most basic you can get. What you want is farrrrrrr more complicated.

    • @Drakonic
      @Drakonic 9 років тому

      Thanks! I'll look into that.

    • @9000fail
      @9000fail 9 років тому

      TechnnoGamer You realize this isn't his only video right? And this really wasn't that complicated... at all

    • @Drakonic
      @Drakonic 9 років тому

      1. I'm not saying his video is complicated.
      2. Yes, I am subscribed and watch a lot of his videos.
      3. Did you not see the :? I said that my suggestion is complicated. This video/project is very simple to make. Especially if you have previous experience with coding. Double check your comments before you post.

  • @garypickrelliv2735
    @garypickrelliv2735 8 років тому

    Is the steam version of GameMaker up to date?

    • @box3676
      @box3676 8 років тому

      i think it is i have steam ver and it works

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

    Im having a problem: the windows can't find my wav file.

  • @MrTNT6000
    @MrTNT6000 9 років тому +1

    this is the only video on youtube that doesnt have any dislikes

    • @chris-ws7fb
      @chris-ws7fb 9 років тому +1

      +MrTNT6000 Comments like those would make people want to dislike just for fun lol

    • @TryOscat123
      @TryOscat123 9 років тому +1

      +Chris Arias someone did

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

    how do you add music to the game.

  • @jmonkey2150
    @jmonkey2150 9 років тому

    How do i send you what i have made ?

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

    The looping value in audio_play_sound is arbitrarily boolean. You can have a number for its value, including 0, but any number over zero simply counts as "true", instead of what I just tested for. I was ECHH-specting it to repeat the number of times I placed in the value.
    True or false works in looping, probably would make more sense to use those.

  • @MemesandSchemes
    @MemesandSchemes 9 років тому +7

    My ears did'nt like my sounds i made when i spammed it. :(

  • @Nyerguds
    @Nyerguds 8 років тому

    Seems more logical in hindsight to make the splitting asteroid the child of the non-splitting one, so this sound code would not need to be repeated. Then you can just make the child object execute the parent code and then add just the splitting code to them.

  • @winslowjeffery8764
    @winslowjeffery8764 9 років тому

    If you make the sound for the explosion play when the bullets hit the asteroids, you don't have to write the line for the small asteroid.

  • @ahmadsliman64
    @ahmadsliman64 9 років тому

    I keep getting a compiling error and the game won't load help please!

    • @jmonkey2150
      @jmonkey2150 9 років тому

      Ahmad Sliman what is your error friend?

    • @UndeadMunchies
      @UndeadMunchies 9 років тому

      I can help maybe. Send me a screenshot of the error message you get to my game dev email. ksgdevteam@gmail.com

  • @НиколайМанански
    @НиколайМанански 8 років тому

    It's not |red|audio_play_sound(snd_shoot,0,0);

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

    Thanks for this good tutorial

  • @heat4life869
    @heat4life869 8 років тому +1

    Bfxr is so awesome!

  • @TheTheisson
    @TheTheisson 9 років тому +3

    some of the sounds from the site can be awful i have a headache now but thats not your fault

  • @yakz9865
    @yakz9865 8 років тому

    Awsome stuff here !
    Thx

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

    How do you Implement your own Sounds Example:KaMeHaMEHA

  • @alexandruolareanu9743
    @alexandruolareanu9743 8 років тому

    I went trough all of it multiple times but I think it's a bug or something.

  • @secthay
    @secthay 9 років тому

    These are awesome Shaun, thanks for making them.
    I was wondering how I could make my asteroid randomly have one of two explosion sounds when it is destroyed. Anyone have a solution?

    • @TheMadRyaner
      @TheMadRyaner 9 років тому

      Use a switch with irandom(2)

    • @RageSondrayy
      @RageSondrayy 9 років тому

      TheMadRyaner irandom(1)* as it counts from 0

  • @raserapps8230
    @raserapps8230 8 років тому

    Thanks for this - Im glad I found the youtube versions - I thought lesson 5 was the last one on the other website (YoYo) - Please can you help me though - I got these sounds working thanks to this video...but...I got an extra sound for when the Ship collides with an Asteroid - a die sound that was a little different to the other explosion.
    I added it to sounds,
    Went into obj_asteroid, in events / obj_player there is a restart event for the asteroid - ship collision,
    I added a code in there and typed the audio_play_sound(snd_die, 0, 0);
    Didnt play the sound - so I did the drag'n'drop way instead and nothing. I also thought that it needed to be above the restart event - to do it before it restarts...but no lol
    The sound plays when I test it in edit sound (was from BFXR the same as others)
    Sorry for lengthy post - Do I need to do it a different way?
    Here is the Information for my collision event for obj_asteroid: - last but one paragraph is the sound
    Information about object: obj_asteroid
    Sprite: spr_asteroid
    Solid: false
    Visible: true
    Depth: 0
    Persistent: false
    Parent:
    Children
    obj_asteroid_s
    Mask:
    No Physics Object
    Create Event:
    execute code:
    image_speed = 0;
    image_index = irandom(2);
    direction = random(360);
    speed = 0.5 + random(2);
    Destroy Event:
    execute code:
    instance_create(x, y, obj_asteroid_s);
    instance_create(x, y, obj_asteroid_s);
    audio_play_sound(snd_explode,0 ,0);
    Collision Event with object obj_player:
    execute code:
    audio_play_sound(snd_crash, 0, 0);
    restart the game
    Collision Event with object obj_bullet:
    destroy the instance
    for other object: destroy the instance
    Other Event: Outside Room:
    wrap in both directions when an instance moves outside the room

    • @raserapps8230
      @raserapps8230 8 років тому

      I just saw in the playlist that lesson 8 is 'Dying' so I shouldn't of skipped ahead as this may be covered. got a bit carried away - thought it would be the same process - made sense to me to have the die sound just above the ship collision/restart event

  • @jmonkey2150
    @jmonkey2150 9 років тому

    would love to get a tut on spawn system or maybe even random genrerated level

  • @TheGrassySceptile
    @TheGrassySceptile 8 років тому

    I used a different sound for the mini asteroids, since the normal one was bulkyish so I put in another sound which was more squeakyer .

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

    that did not work in mine it just said it was an error.

  • @seanozpd
    @seanozpd 7 років тому +9

    Im addicted to my own game

  • @larryteslaspacexboringlawr739
    @larryteslaspacexboringlawr739 9 років тому

    thank you for top down tutorial

  • @guigrillo101
    @guigrillo101 9 років тому

    Are you going to join LD ?

  • @miksuko
    @miksuko 9 років тому

    the like bar's dislike part is 1 pixel wide... pretty nice.

  • @youkai6642
    @youkai6642 8 років тому +1

    well im going to make asteroids remastered just asteroids but a little bit more developed so you can have classic mode tower defense mode and more of that stuff

  • @minecrafted31
    @minecrafted31 9 років тому +1

    Is adobe flash free

  • @blunderbuss3943
    @blunderbuss3943 9 років тому +27

    Just a quick update!
    The command to play sounds in Game Maker is now:
    sound_play(index)
    Instead of audio_play_sound(index)

    • @CorporateMemphisMan
      @CorporateMemphisMan 9 років тому

      +Dale Morgan THANK YOU!

    • @miksuko
      @miksuko 9 років тому +3

      +Dale Morgan I can use the command in the video just fine, but sound_play doesn't work for me.

    • @miksuko
      @miksuko 9 років тому +1

      +Dale Morgan I can use the command in the video just fine, but sound_play doesn't work for me.

    • @HomemadeMemes
      @HomemadeMemes 8 років тому

      +Shaun Spalding why did you stop making videos and also can you do a tutorial on how to put your game on steam

    • @TheKigaMaster
      @TheKigaMaster 8 років тому +3

      First of all, you have to have 100$ (to give to steam to make them review your game and POTENTIALLY take it to the Greenlight, then, your game will have to be greenlit by the public, then your game can be officially on steam. :)
      GOOD LUCK

  • @zacy5000
    @zacy5000 8 років тому

    3:44 PirateBrowser with tor icon :D

  • @petrasantanas1167
    @petrasantanas1167 9 років тому

    Please, make a video for making a sprite.
    Show us your way please.
    It looks hard. :(
    please do this

    • @UndeadMunchies
      @UndeadMunchies 9 років тому

      If you watch every episode he makes every sprite on screen. It's literally just like a slightly more feature rich Microsoft Paint.

  • @nikdiklic
    @nikdiklic 5 років тому

    Kudos

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

    failed conversion

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

    It’s say ‘your first game’ why coding 😂 drag and drop?