Turbo Tutorial - How to make Pong in 15 minutes & learn GameMaker!

Поділитися
Вставка
  • Опубліковано 17 жов 2024
  • Turbo tutorial round 2! Learn by doing and throw a classic game together super fast while learning all the basics of GML code. I tend to recommend making something more "yours" than a basic clone but if nostalgia gets you motivated I won't argue!
    ▶ Source code: github.com/Sha...
    ▶ Edited by Vossel: / vossel
    ▶ Support my work: / shaunjs
    (Assets I used coming soon. Meanwhile, why not draw your own? :) )

КОМЕНТАРІ • 117

  • @AspynDotZip
    @AspynDotZip Рік тому +21

    this was the most hectic yet informative tutorial I've seen and it was perfect! I already knew how to code but haven't touched gml in years, and even though I was intimidated to get back into it this video reminded me to be stupid and just have fun playing with the engine

  • @DrSoftShoo
    @DrSoftShoo Рік тому +31

    Brilliant tutorial. This is actually the perfect format for a software engineer who knows next to nothing about the Gamemaker IDE and wants to learn for fun. Your explanations of how to use the interface is perfect.

  • @SaraSpalding
    @SaraSpalding  Рік тому +6

    Source code on github: github.com/ShaunJS/gamemaker-pong-clone

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

      youre amazing for everything you do for this community. i hope to hear your input from a feedback friday one day.

  • @timtimethymetie
    @timtimethymetie Рік тому +20

    Still very early in my Gamemaker learning progress, so having a quick video like this is wonderful for picking up just a little extra info. Thanks!

  • @liquidvessel
    @liquidvessel Місяць тому +1

    i have no experience with coding or quite literally anything else that goes into game development, aside from just playing a lot of games lmao. your tutorials have been a life saver so far, makes doing some of this stuff actually seem possible

  • @anightdragonscreativity1074
    @anightdragonscreativity1074 8 місяців тому +2

    Just went through the tutorial. Just a tip for anyone having an issue with collision like I did. At 10:56, he shows you the keyboard shortcut to create a new event. My confusion came from adding the subsequent code to the player object instead of the ball object which is the proper way for it to work. He mentions it after creating the event but you might miss it if you aren't paying close attention. This doesn't take away from the tutorial. It is fantastic and I'm much more comfortable with navigating GameMaker now. Awesome job, Shaun! I look forward to delving further into your content. 👍

  • @jeditiberias2883
    @jeditiberias2883 Рік тому +35

    Pong Is a game I did want to make

  • @hermannlagrange803
    @hermannlagrange803 10 місяців тому +2

    Excellent tutorial bro. Simple, easy to follow, helpful prompts and a DAMN soothing voice.

  • @SombreroMan716
    @SombreroMan716 Рік тому +2

    As someone who already knew how to code but didn’t know how gamemaker worked, I thank you.

  • @gilbert4351
    @gilbert4351 11 місяців тому +1

    🤣👍 To a person who's absolutely new to coding and the logic behind it all, I feel like a child yelling "papa slow down!". Good thing it is a video. Thank you for sharing, Shaun! truly a steppingstone for me and many! 😎👍

  • @ryancurtis5425
    @ryancurtis5425 11 місяців тому +1

    I've been using GMS1.4 for years and I never knew about the bbox commands or that you could middle-click to bring up the manual for a term. That helps SO MUCH!

  • @adog3129
    @adog3129 Рік тому +3

    I've been using gamemaker for years and I'm actually learning from this, nice lol

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

    Another great tutorial Shaun. I tried this in the Linux alpha/beta version of Gamemaker. The only note I'd add is that when I created the objects and sprites they didn't populate in the correct spot (they populated at the bottom below timelines. I dragged the assets up to sprites and objects and everything worked fine). There's a warning in the Linux version that says the engine might corrupt files, but I found it pretty stable. I even tried shutting down the computer with a project open, then starting GM and opening the project and it worked fine. Last night I spent about 2 hours with Unity under Xubuntu Linux and this was a breath of fresh air... even though I have a 10 core/20 CPU with 64GB of RAM Unity felt slow. Now I just used GM without logging into my account, so I only built for the browser, but it worked great! This was the perfect tutorial for me to test GM out. Given that I have a little experience with Gamemaker, it took maybe 25 minutes for me to finish the tutorial (and that's with a couple of interruptions). Thanks again for the great tutorials and keeping things simple. After my Unity experience I was thinking of going to Godot since it's got a lot of Linux support, but trying this out, and given the bit of GM experience I already have, this video might have convinced me to get back into GM again. Cheers!

  • @matheusdequeirozreis1662
    @matheusdequeirozreis1662 Рік тому +2

    this was the first project i could ever finish in GM. Thanks a lot!

  • @Kitty_Cosmic
    @Kitty_Cosmic 10 місяців тому

    I mistyped at one point, and was stuck on it for a while xd. After almost an hour, I finished this tutorial! Thank you so much I learnt a lot with this, technically the first thing I've ever made

  • @Lilacguitar
    @Lilacguitar 10 місяців тому +1

    took me 3 hours since its my first time programming, but still worked out fine 10/10 tutorial

  • @MatejMachac
    @MatejMachac 10 місяців тому

    I used to use GameMaker 5,6, and 7. I see it has made some progress since then. Great pong tutorial btw!

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

    Fantastic tutorial! I l learned GML in GMS 1.4 thanks to your tutorials long ago. Now that they have completely changed the user interface in GMS2 I feel completely lost. This type of tutorials is perfect to catch up quickly and get familiarized with the interface in no time.

  • @dopamine7344
    @dopamine7344 Рік тому +11

    can you make god of war ragnarok next

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

    I looooved this video! Very helpful and it feels so good that I can follow and understand! I have been doing basic movements and stuff from the 2d platformer tutorials but this video is just so good and easy to understand!!!!!!❤

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

    Loving these Turbo Tutorials!

  • @Al_X-2005
    @Al_X-2005 10 місяців тому

    I really appreciate the tutorial, I'm trying to learn this for my software class. I'm trying to add a 3rd and 4th player on the top and bottom for fun

  • @LuigiElettrico
    @LuigiElettrico Рік тому +8

    That "ord" is from "ordinal" like ordinal numbers, because ASCII characters are basically sorted, ordered values by their code.

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

      i thought it ment "order"

    • @Under_Suspicion
      @Under_Suspicion Рік тому +2

      i thought it meant order a cheeseburger

    • @Insert_Creativity_Here
      @Insert_Creativity_Here 4 місяці тому

      @@Under_Suspicion my sense of humor is broken i should not have laughed at this

    • @Under_Suspicion
      @Under_Suspicion 4 місяці тому

      @@Insert_Creativity_Here yeah...

  • @stubz1369
    @stubz1369 Рік тому +2

    'i usually make tutorials that are a bit more thorough and slower paced' lol. Pong is the perfect learning environment. Fifteen minutes in and you could tackle proper collisions, a pause menu, gui and so on.

  • @Mr-Pixelated
    @Mr-Pixelated Рік тому +4

    my code isn't working because move wasn't declared

  • @meatbleed
    @meatbleed Рік тому +3

    this is how i'd make tutorials. perfect. little text blurbs explaining the "why" and keeping the pace up. very nice

  • @MovieClips4us
    @MovieClips4us 7 місяців тому +1

    Whenever i do it it says there is a error in the code but i did everything tht you did

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

    i had a problem with the ball not moving, but going back in the create event and writing
    hspeed = 10;
    it started working idk if its a newer version of gamemaker or i messed up somewhere.

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

    My ball collision isn't working on the right player. What do I do?

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

    Great video, doesnt waste time explaining things that arent needed.

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

    Really enjoying these. Keep them coming!

  • @mirandaart3012
    @mirandaart3012 3 місяці тому

    i just downloaded GM, this is very helpful xD!

  • @danielmolloy6811
    @danielmolloy6811 10 місяців тому

    This was amazing - more tutorials please!

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

    Thanks for this video... and for all your videos.

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

    When I playtest, it just says "exception thrown, see javascript console", I heard u need to turn on hardware acceleration but it's already on, any idea how to fix this?

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

    I don’t know what caused this but I copied the tutorial exactly and the ball will not collide with the variable 1 paddle even though it does with the other paddle

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

    Can you make a tutorial on how to create pre-made room chunks from string like in Downwell? There is only Quench Games's tutorial and it has a main path system like in Spelunky and it really complicates the stuff. I only want to know have can I make a vertical or horizontal room made out of pre-made chunks based on string. Ojiro Fumoto shows a little bit of his code in his Fantastic Arcade talk (35:26). The problem is after beginner-level tutorials there is a barrage and lack of information on this kind of tutorial.

  • @IAmElectrospecter
    @IAmElectrospecter Рік тому +2

    I wish all sprites were this easy to make! Hardest part of game design for me personally

  • @kelsonmckenzie6255
    @kelsonmckenzie6255 Рік тому +2

    How do i go about adding a score board to the game ?

  • @treebobjoe
    @treebobjoe Місяць тому

    Ok this is probably where I should start...

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

    The ball keeps ghosting through the player sprite and leaving the screen.Why is this?

  • @Pienotpi
    @Pienotpi 7 місяців тому +2

    I deal so accomplished

  • @Pienotpi
    @Pienotpi 7 місяців тому +2

    I feal so accomplished

  • @sonic-factory
    @sonic-factory Рік тому

    Great tutorial, thanks.

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

    Thank you so much!

  • @k1vz_
    @k1vz_ 11 місяців тому

    nice tutorial, so easy!

  • @Prunk09
    @Prunk09 21 день тому

    Awesome tutorial easy to follow. (you do mumble slightly though had to rewind a bit lol) But overall very helpful and efficient ty!

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

    OO great project for today. Thanks for the video.

  • @therealseanw.stewart2071
    @therealseanw.stewart2071 Рік тому

    Thank you for all that you do. I am inspired.

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

    love this but where do you get the code so it doesn't go off the bottom.

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

    Yes please do more simple one with telling us how things work

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

    Any plans for other type of game tutorials like this?

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

    "now we have to put some logic into the game to make it a game" 🎯

  • @Pienotpi
    @Pienotpi 7 місяців тому +2

    If I had a penny for every time I forgot it was case sensitive I would have two Pennies. Which is a lot to me because I’m poor.

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

    everytime I press play it just opens up internet explorer and doesn't load the game

  • @Sh1r4K4m1
    @Sh1r4K4m1 10 місяців тому

    amazing tutorial, is there a dnd one? because i'm more familiar with it

    • @SaraSpalding
      @SaraSpalding  9 місяців тому +1

      sadly not, I don't really know DnD well enough

    • @Sh1r4K4m1
      @Sh1r4K4m1 9 місяців тому

      ah that's fine, the video still helpful for me to learn and see the coded side. Hope to see more tutorial from you, code or even dnd 👍

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

    How would I be able to make the window bigger?

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

    Thank you! you're the best

  • @insertusernamehere8125
    @insertusernamehere8125 8 місяців тому

    So helpful

  • @justachipofftheiceberg6313
    @justachipofftheiceberg6313 9 місяців тому

    im trying to get back into game maker after 5 years pretty much everything i know is wrong, obsolete, or discouraged .. and even thou my old games have been converted there broken af. :(

  • @ArneCox-b5j
    @ArneCox-b5j 8 місяців тому

    Hi i did exactly what u said but i got an error, what do i need to do?

  • @IchiHishi
    @IchiHishi 3 місяці тому

    Why don't you use the key press events?

  • @managerrisky
    @managerrisky 7 місяців тому +1

    if anyone knows how to add a scoreboard to this, please tell me, i need to know how

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

    Great! Thank you!

  • @throwaway____________0-d4q
    @throwaway____________0-d4q Рік тому +1

    this is great and all but even at 0.75Xspeed it's still a little to fast pace for me and I'd turn the speed down more if it didn't sound super weird, also for a Tutorial I'd like you to explain everything your doing not "don't worry about that" and I get the appeal of making a game in 15mins but I have to constantly pause it to catch up even with the speed turned down and look up things you aren't explaining everything that I will eventually have to know so I'd prefer a longer video covering more instead of a super fast one skipping a lot just to make good time. but over all I did enjoy this video just had a few critiques.

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

    hey Shaun are you joining the gx games game jam?

  • @gamermasta525
    @gamermasta525 Рік тому +3

    Make Hong Kong 97 next

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

    Fast but good. Too fast but I got a great overview of the game making process. Thanks!

  • @MovieClips4us
    @MovieClips4us 7 місяців тому

    Object: Oball Collision Event With Oplayer at line 3 : got '{' expected ')'
    Object: Oball Collision Event With Oplayer at line 4 : got 'hspeed' expected ')'
    Object: Oball Collision Event With Oplayer at line 4 : unexpected symbol "=" in expression
    Object: Oball Collision Event With Oplayer at line 1 : malformed if statement
    Object: Oball Collision Event With Oplayer at line 4 : malformed assignment
    how to fix these errors? @Shaun Spalding

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

    Thanks so much🎉🎉

  • @game-dev1782
    @game-dev1782 Рік тому

    great one

  • @MisterJtheGamer
    @MisterJtheGamer 9 місяців тому

    as someone whose only learning to code right now, the vspeed = -vspeed and such parts really screw with my head XD so used to algebra stuff XD

  • @stone._.stardev
    @stone._.stardev 5 місяців тому

    instead of copy + paste the code for the character to don't go out the screen, use this, is just better and shorter
    move_wrap(1,1, 16);

    • @stone._.stardev
      @stone._.stardev 5 місяців тому

      or if you dont want to wrap, just make black boxes

  • @Wyaaama
    @Wyaaama 3 дні тому

    it says assignment order expected for line 2

  • @notgood87
    @notgood87 3 місяці тому

    converting this to gml visual because why not

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

    The moving off screen thing didn’t work

  • @najibamami1765
    @najibamami1765 2 місяці тому

    didn't work for me and kept telling me that I have to define var player

  • @100Jim
    @100Jim Рік тому

    Now we have chat GPT using it to assist making games will be so much easier

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

    thanks

  • @Lego_freddy72
    @Lego_freddy72 5 місяців тому

    It doesn’t work for me?

  • @Jaseplays2
    @Jaseplays2 2 місяці тому

    5:58 UP

  • @IanHollis
    @IanHollis 3 місяці тому

    15 minute video. About 40 min. to follow along (for me at least).

  • @DontMadeyoulook
    @DontMadeyoulook 2 дні тому

    my 1st time using gamemaker but then 8:28

  • @ryanmckay8451
    @ryanmckay8451 8 місяців тому

    had to put the speed to .5x to understand what you're saying

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

    Its' a gud tutorial... be he talking a bit fast

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

    Still don’t understand

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

    This video, like all others, operates on an obsolete version of GameMaker. The instructions provided in this video lead to a different result for the latest version of GameMaker than it did in your video.

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

      This is made on the current LTS which is categorically not obsolete in any way (at time of writing) and won't be for another half a year at least. The instructions do not lead to a "different result" in any meaningful way whatsoever.

  • @michaelromero-h5r
    @michaelromero-h5r 10 місяців тому

    i don't understand

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

    tbh you sound like u dont even wanna make this tutorial but good tutorial anyways :)

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

      Haha, I was just trying to go fast lol

  • @DrBananananananananananananana
    @DrBananananananananananananana 6 місяців тому +1

    I've tried these turtorials for years and these are so poorly sequenced they're nearly useless unless you already know what your doing programming wise. The best "tutorial" I've found are the manuals. bloody shame that. instead of going slowly and explaining go as fast as possible so beginners will lose track of everything and have to rewatch the video a dozen times just to get a single step right. But I guess it's better than nothing. get them views rack it up.

  • @morglohay
    @morglohay Рік тому +12

    Bro speak slowly

    • @Winterbh
      @Winterbh 27 днів тому

      He is rapping

  • @michaelromero-h5r
    @michaelromero-h5r 10 місяців тому

    hes going to fast

  • @lots_of_people
    @lots_of_people 3 місяці тому

    calm down bro why do you speak so fast

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

    Dont go in that direction. To fast to learn. Another video on youtube for no one.

    • @accountaccount6814
      @accountaccount6814 Рік тому +3

      i learned

    • @stefanimal5257
      @stefanimal5257 Рік тому +3

      Nah it was cool.

    • @knackeredparrot1700
      @knackeredparrot1700 Рік тому +3

      Nothing stopping you pausing at certain parts. There's a lot there in a short time.

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

      You could always change the play speed to like 75%. That should be around normal speed.

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

      this was more for people to stop being afraid of coding. Like "look, with these 10 lines of code you could create something like pong"