GameMaker Studio 2: Complete Platformer Tutorial (Part 2: Animated Player)

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025

Комментарии • 2,1 тыс.

  • @larsderlarry2741
    @larsderlarry2741 5 лет назад +290

    I love how often he says: "Okay?" to make sure that we can follow xD

    • @devoutdesciple
      @devoutdesciple 4 года назад +3

      The Japanese do it a lot as well.

    • @NotJRD
      @NotJRD 7 месяцев назад

      @@devoutdesciple is your nations anthem okay okay.... okay okay .... okay okay ..... okay okay okay

    • @ratmilk5850
      @ratmilk5850 2 месяца назад

      @@NotJRD 20/20, 20/20 vision

  • @t8ble846
    @t8ble846 7 лет назад +1112

    FOR THOSE WHOSE PLAYERS COLLIDE INTO WALLS WHILE JUMPING:
    Make sure your origin point is set to Middle Centre

    • @xbox360funches
      @xbox360funches 7 лет назад +35

      T8ble LIFESAVER. THANK YOU SO MUCH

    • @ahsananik345
      @ahsananik345 7 лет назад +18

      Thanks man..... it worked for me.... my player was sinking in the wall....

    • @lastomniverse9188
      @lastomniverse9188 6 лет назад +3

      Thanks bro a lot

    • @zal9706
      @zal9706 6 лет назад +4

      HOLY CRAP THANK YOU

    • @GENGY
      @GENGY 6 лет назад +5

      i was sinking in a wall figuring out what i was doing wrong aha

  • @buraktugrul5231
    @buraktugrul5231 4 года назад +129

    The amount of details and labor is insane in these tutorials. Great source for beginners like me. Thanks a lot for the effort.

    • @UMAoPLAYZ
      @UMAoPLAYZ 3 года назад

      But How Do We Make Characters, If He Could Give The PNG Format Pic It Would Be Great!!

    • @Z3LN0X
      @Z3LN0X 3 года назад +2

      @@UMAoPLAYZ not sure if you still need it, but use something like pixel art and save it to a file, then proceed to put that image as the player

    • @UMAoPLAYZ
      @UMAoPLAYZ 3 года назад +1

      @@Z3LN0X Thanks For Your Valuable Comment, But I Have Already Finished My Project & Exported The Game Lol...

    • @falco192
      @falco192 Год назад

      I LOVE YOU I LOVE YOU

  • @notwho8825
    @notwho8825 7 лет назад +136

    I always thought coding would be boring but its really fun especially when you come across a problem and have to try to solve it then when u get it u feel so happy.

    • @herrobriam
      @herrobriam 2 года назад +9

      perfect description.
      hope you've gotten far with coding after 4 years!

    • @ts4858
      @ts4858 2 года назад +4

      how good are you at coding now?

    • @M4G_123
      @M4G_123 Год назад

      @@ts4858 he prob is better then me now.

    • @bbbboooo-nnnnob
      @bbbboooo-nnnnob Год назад

      @@M4G_123 yeah

    • @bbbboooo-nnnnob
      @bbbboooo-nnnnob Год назад

      beter than me to

  • @shikhar7tube
    @shikhar7tube 4 года назад +230

    Its sad to see that almost a million people saw the first video and only around 311k saw the second; people lose hope so quickly

    • @hassanjomaa5084
      @hassanjomaa5084 3 года назад +1

      I’ve done exactly what he did in the last video but my game doesn’t work

    • @ocuorat2776
      @ocuorat2776 3 года назад +1

      @@hassanjomaa5084 what's happening?

    • @minnnngo2053
      @minnnngo2053 3 года назад +2

      @@ocuorat2776 yo I got a problem too I don’t know how to explain since I’m new but my player can’t move neither jumping or left and right.
      it works when I didn’t add in the gravity but doesn’t after I added in the gravity.

    • @ocuorat2776
      @ocuorat2776 3 года назад +1

      @@minnnngo2053 didn't you forgot some line? i don't really know what is happening because i don't know your code ( if you could send it in here or something like i maybe might help )
      another thing you can do is question this on the gamemaker reddit, it's a good place for getting help
      Note: english isn't my first language so maybe i wrote something wrong so i'm sorry

    • @minnnngo2053
      @minnnngo2053 3 года назад

      @@ocuorat2776 well you see I copied exactly what he typed but I dunno what’s wrong maybe it’s my version of gamemaker studio

  • @SjbninjaChannel
    @SjbninjaChannel 7 лет назад +282

    These tutorials are the whole reason why I was able to make my first game!

    • @mrindolentgenuinelysucks
      @mrindolentgenuinelysucks 4 года назад +1

      @@Yellow_Flare I have the same question!

    • @SjbninjaChannel
      @SjbninjaChannel 3 года назад +9

      @@NotAMathGuy gamecrafterstudios.itch.io/en

    • @TobiasWm
      @TobiasWm 3 года назад +3

      I think everybody is just using this for their first game

    • @spacemantiss
      @spacemantiss 3 года назад +3

      @@SjbninjaChannel yo that looks awesome! Good job dude.

    • @jeshX3
      @jeshX3 2 года назад

      Same here! :D

  • @Baleur
    @Baleur 4 года назад +20

    21:50 dude THANK YOU for those tangents, they really help me understand wtf everything means.
    DONT stop that.

  • @maxxpower9916
    @maxxpower9916 Год назад +9

    Here in 2023 and this is still one the easiest to follow tutorials out there. Thank you!

  • @spoonspoon8755
    @spoonspoon8755 7 лет назад +6

    Not going to lie, your accent makes your tutorials much easier to follow. Honestly, it makes you sound really intelligent.

  • @adrichuwu9173
    @adrichuwu9173 Год назад +36

    Hey guys, Just popping in to tell you that if you're having the issue of your sprite getting wider, then What worked for me and made it look normal was this line of code:
    "if (hsp != 0) image_xscale = sign(hsp) / 2.5;"
    I just added a /2.5 and there you go, no more wide putin.
    If you're having the opposite issue, I'd suggest you * 2,
    that way, your character will look normal, and your day won't be ruined!👌🌸

  • @a.m.hernandez3837
    @a.m.hernandez3837 7 лет назад +8

    I have had so much fun with this tutorial so far. Whenever I am not working in Gamemaker I am creating art on the go. Just can't wait to have that full game. At the end of each video I am very happy with the progress, so I thank you!!

  • @TheSchnensch
    @TheSchnensch 7 лет назад +462

    I made my own sprites with Aseprite and my charecter looks so goofy. But it's fun making my own "art". It looks like trash, but whatever, its *mine* :p
    Keep these tutorials coming, they are really helpfull and easy to follow.

    • @Little1Cave
      @Little1Cave 7 лет назад +21

      The Schnensch I feel that's the most important part when creating anything. You never stop learning, so own what you make! ^-^

    • @arrowchxshadow_arrow8371
      @arrowchxshadow_arrow8371 6 лет назад +2

      you can use miku miku dance mmd models
      to sprintes
      I made one it was good!
      you can download walk motion search in niconico videos
      if not found try copy it and paste in niconico search
      " MMD 歩きモーション "

    • @aryanshahab1594
      @aryanshahab1594 5 лет назад +1

      Bruh

    • @iloveaigis
      @iloveaigis 5 лет назад +3

      It aint much but its honest work.

    • @jcnew2734
      @jcnew2734 5 лет назад +1

      Mine are literally just blobs

  • @ParTzzaN
    @ParTzzaN 4 года назад +8

    Your Tutorial videos are as awesome as you Shaun. I was never into coding but thanks to you I am now!

  • @bahamutaxiomx8706
    @bahamutaxiomx8706 Год назад +1

    Another amazing tutorial. I really feel like you're making the best tutorials I've ever seen.
    So detailed and you're not rushing through. I appreciate this level of tutorial. My video tutorial anxiety doesn't overwhelm me. I know this is 6 years late, but great job, I hope you keep up the amazing work!
    Seeing my character move around through my own control brings a tear of accomplishment to my eye.

    • @flolko4412
      @flolko4412 Год назад

      how did u download his assets?

    • @bahamutaxiomx8706
      @bahamutaxiomx8706 Год назад

      @@flolko4412 Oh, I didn’t. I’m just following along with my own test sprites and making boxes the same way they are in the video.

    • @FallenAngelMhr
      @FallenAngelMhr Год назад

      @@flolko4412 If you use Edge it will let you download the assets.

  • @ilanfl1234
    @ilanfl1234 2 года назад +1

    Thanks Shaun, loving your videos. This is a great resource.
    I especially enjoy that you explain what EXACTLY happens in a lot of cases (for example: the collision box automatically gets set around the non-transparent pixels). That gives me a feeling that I understand, vs just knowing how to do a specific thing.

  • @digitalswordplay
    @digitalswordplay 7 лет назад +7

    Hi Shaun, I just wanted to say that this tutorial series in particular is exactly what I'm looking for. My ultimate goal is to tackle an RPG in the future, but I figured a platformer would be a great way to learn the fundamentals and the basics of game programming using GMS2.As you make more videos in this series I was wondering if you could cover/incorporate a couple of preferred items.1. Double jump2. Wall jump to reach higher platforms3. Permanent power ups vs. temporary power ups.4. Walk vs. Run5. Duck6. Ledge grab7. Equiping a different guns (ex. switching from a 6 shooter to a machine gun)8. Health damage and health powerups9. Animating the hero as he stands still/idle10. Intro cut scenes / Game start screenI'm sure you are already thinking about a number of these but I just wanted to mention them none the less. Cheers,

  • @nylonnerves8422
    @nylonnerves8422 6 лет назад +5

    Hello, I got to say you've helped me find my motivation on game design again. I did some poor joke games with old game maker when I was 9 until I was 14 when I started to play music. I kinda kept the dream of making games in the back of my head and had few ideas I never even started because of time constraints. Now I'm 24 and I am unemployed so I finally have time to learn this stuff again and better than I ever did. Your tutorials are great reminder and teach a lot of things I couldn't do back in the day.
    Thank you! I will surely become a Patreon next month!

  • @twisterclone2917
    @twisterclone2917 6 лет назад +2

    I came here from a programming background, so although I knew the logic stuff and code you were explaining, I still really appreciated the way you taught it. I have never (not even on paid causes) found something so easy to follow and understand. thank you

    • @petervargas7136
      @petervargas7136 6 лет назад

      Twisterclone would you mind helping me with mine? im stuck on how he was able to make to 4 frames of his character running. it's my first time ever doing anything with coding and I'm just curious if I could copy his player with a link or something

  • @Kitty_Cosmic
    @Kitty_Cosmic Год назад

    I've been following along and learning more from you than any other tutorial, the way you constantly go back over things helps me remember what does what and you're a great teacher! Making a marshmellow game. Anyway, thank you! Much appreciated and lots of love

  • @Random-j6h
    @Random-j6h 6 месяцев назад +1

    People who are having trouble with the sprite uploading, make sure your download the description assets don't click the link because it will not allow you.
    I hade this problem for an hour lol.
    Love these so useful even in 2024

  • @idk9520
    @idk9520 4 года назад +10

    Your first tutorial made my mom proud of me

  • @DanteCorwyn
    @DanteCorwyn 3 года назад +21

    If anyone is having problems cause their player sprite is colliding into walls while jumping, or it's got a weird dragging effect;
    Make sure your origin point is set to Middle Centre for all of your sprites (thanks T8ble)
    Check to see what your oPlayer object's Collision Mask is. Looks like it should be sPlayer.

    • @pufvv
      @pufvv 2 года назад

      thank you so much bro.

    • @kennywithers8503
      @kennywithers8503 Год назад

      THANK YOU!!

    • @Lorde2910
      @Lorde2910 Год назад

      it is still draggin

    • @jeezybreezy9765
      @jeezybreezy9765 Год назад

      Thank you Dante, I was so damn confused

    • @OmarOwera
      @OmarOwera Год назад

      Thank you 💗Thank youThank youThank youThank youThank youThank youThank youThank youThank youThank youThank youThank youThank youThank youThank youThank youThank youThank youThank you💕

  • @ccrww
    @ccrww 2 года назад +37

    for anyone who resized their character ingame and is having issue with the flipping, i used this
    //you could probably change the amount of times you add "sign(hsp)"
    // make it add itself till its equal to the amount of size its supposed to be
    if (hsp != 0) image_xscale = sign(hsp) + sign(hsp);

    • @kamaraaaa
      @kamaraaaa 2 года назад +1

      Thanks! looking for a fix for that exact problem

    • @GingaTea01
      @GingaTea01 2 года назад +1

      this was SO HELPFUL tysm

    • @mecha-no
      @mecha-no 2 года назад +1

      YOU ARE A LIFE SAVER TYSMM

    • @lvgaming4253
      @lvgaming4253 2 года назад +1

      it teleports

    • @lvgaming4253
      @lvgaming4253 2 года назад +1

      THANK YOU IT WORKED you da best

  • @nynx7301
    @nynx7301 3 года назад +1

    this series has already been so useful, i have been learning GML on my own now too, i could probably do all the movement again without a tutorial now, thx for this, time for guns now!

  • @Wrathgir
    @Wrathgir 2 года назад +2

    thanks for making this tutorial series! I know it has been a few years, but it helped me understand coding a platformer type game. I have been practicing with some sprites following along and it's been fun learning this. I hope to actually get to make my first real platformer sometime soon. :3

  • @thirstyboiii
    @thirstyboiii 7 лет назад +395

    yeah i understand...
    *(notices that i just followed everything he did and didn't listen to anything he said)*

    • @aliakeel
      @aliakeel 6 лет назад +1

      Savage - Mobile Legends that's so me XD

    • @djheavenagl4679
      @djheavenagl4679 6 лет назад +1

      Savage - Mobile Legends why mine split when i go left or right

    • @anonymous_yo_mama6728
      @anonymous_yo_mama6728 6 лет назад +1

      That's so meee

    • @m4theussszz
      @m4theussszz 5 лет назад +3

      @@djheavenagl4679 you need to put the origin point to middle center to all sprites.
      :3

    • @jerfersonmatos28
      @jerfersonmatos28 4 года назад

      I did listen, but the first video I slowed the velocity down, it helped me

  • @kayculdraws
    @kayculdraws 6 лет назад +23

    This tutorial is amazing and is essentially my introduction to coding, but I do very much wish you would cover animating asymmetrical sprites, instead of just flipping the sprite to face your ideal direction. Everything I've tried just impedes the player character's movement. It'd be very much appreciated!

    • @moo1493
      @moo1493 3 года назад +2

      Try doing a sign hsp check for the direction

  • @Mangoles
    @Mangoles 7 лет назад +87

    A lot of people's problem here comes from the collision mask of sPlayer I think. I set it to automatic and all of my problems disappeared. Thumbs up for people to see it !

    • @Codamations
      @Codamations 6 лет назад

      thx

    • @matsbueno
      @matsbueno 4 года назад +4

      Change the collision mask in the object properties from "same as sprite" to s_player also worked for me :3

    • @smellslikemeltingplastic
      @smellslikemeltingplastic 4 года назад

      I made an idle animation for my character to bob up and down. For some reason, when he is standing on the ground, he will lift upward when the bobbing down animation starts. Any idea how to fix this?

    • @JForth
      @JForth 3 года назад

      Yo! My guy! This fixed like 3 issues I was having! Thank you.

    • @T_M.E
      @T_M.E 3 года назад

      TTTTHHHXXXXXXXXXXX YOUR THE BEST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1

  • @corpshacker
    @corpshacker 6 лет назад +2

    Thank you so much for these tutorials! I started off making games from scratch in python/pygame and after my 3rd game i had enough so I came to GameMaker Studio 2 and your tutorials are helping me alot.

  • @WilliamGarrisonArts
    @WilliamGarrisonArts 5 лет назад +1

    Thank you for these. As you say... "Beautiful, Elegant" way of handling these tutorials. Keep it up M8.

  • @TheSpooker9000
    @TheSpooker9000 Год назад +14

    general tip, put this in your create event:
    sIdle = sPlayerIdle
    sRun = sPlayerRun
    sFall = sPlayerFall
    this will basicly allow you to refer to sprites as sIdle and sFall in a simpler way.
    and if you end up changing the name of a sprite you can change the sprite here without having to go trough and manually changing all sprites

    • @atakancanpolat1103
      @atakancanpolat1103 Год назад +1

      hey, ı have a problem with movment, when my player hit the ground all animations work wery well but my player just dosn't move any more, ı can control it when ı jump it but when touch the ground it just dosn't move. Can you help me ?

    • @TheSpooker9000
      @TheSpooker9000 Год назад +2

      @@atakancanpolat1103 `this can be caused by multiple things.
      number 1: collision mask. if you switch to a different sprite you also switch the collision mask, meaning that during the transition from fall to idle/walk the coll mask might get stuck in the floor. this is fixed by just having the same collision mask for all sprites or setting the standart collision mask in your player object.
      number 2: not checking collision properly.
      ive made the mistake of sometimes putting if place_meeting(x, y, oWall) instead of if place_meeting(x, y+vsp, oWall).
      this makes it so that it will clip into the wall
      hope this helps

    • @tamaz_kamaz7980
      @tamaz_kamaz7980 Год назад

      @@TheSpooker9000 thank you man you literally helped me I was mad I just couldn't undesrtand why id didn't work it was all collision mask fault

    • @TheSpooker9000
      @TheSpooker9000 Год назад

      @@tamaz_kamaz7980 no problem! happy i could be of help👍

    • @uanamenezes7689
      @uanamenezes7689 Год назад

      thanks man i'll keep that in mind

  • @Maefiosa
    @Maefiosa 4 года назад +7

    To the people who have the problem where the character gets thinner:
    if (hsp < 0) image_xscale = -3; if (hsp > 0) image_xscale = 3;
    In my case the numbers were 3, but it may change depending on the sprite.

  • @venahtmusic
    @venahtmusic Год назад +14

    In case this helps anyone, my problem was similar to the top comment where it states to "Make sure your origin point is set to middle centre", but I was experiencing different behaviors than what everyone else was talking about.
    Behavior: Whenever I turned my character around they would "blink" forward by about the space of an entire block (32px or 64px depending on the size of your sprites) and sometimes, if there was a wall in its path, the character would get stuck in the wall. Two things seem to have fixed this.
    1. Make sure ALL the sprites have their origin points set to middle centre. I believe the "blink" effect was because the origin point was set to the top left and I *think* image_xscale will, in addition to flipping the image, will flip the origin point to the top right corner. So what happens when you turn around is hsp = move * walksp is effectively (not literately) adding 32px since the origin point moved 32px.
    2. From my understanding, your collision mapping should be equally padded or you'll run into issues with your character getting stuck in the wall. What do I mean by padded? if one side is 14 pixels away from the edge of the sprite box, the other side needs to be 14 too. If you have 14 pixels of empty space on the left and 15 pixels on the right, it might cause that issue.

    • @nguyenviet6100
      @nguyenviet6100 Год назад +2

      thanks for solve this problem and i fixed it

    • @abdulsadek8911
      @abdulsadek8911 Год назад +2

      You're a life saver, definitely upvoting this comment, the whole origin point thing went over my head ❤

    • @venahtmusic
      @venahtmusic Год назад +2

      @@abdulsadek8911 Glad to hear my solution helped! Thanks for dropping a kind word.

    • @anastasiacastle7875
      @anastasiacastle7875 9 месяцев назад

      THANK YOU SO MUCH!!!

    • @bronysp
      @bronysp 28 дней назад

      Man, thx!!! I was wondering for an hour why the hell obj blinking. U r not just lifesaver, u r GOD

  • @drewskidmore9392
    @drewskidmore9392 7 лет назад +2

    Just started this series and I'm loving it so far... very well presented. Already reworking some of the code from the first episode to customize and tweak my game. Sub easily earned.

  • @isaacnavin8338
    @isaacnavin8338 4 года назад +2

    All of your videos have helped me out so much! My dad and I have created quiet a few games because of you.

  • @AZASeraph
    @AZASeraph 4 года назад +5

    best thing about this tutorial no cap is if you don't make it turn around, then when you run, your character moonwalks backwards

  • @christophermaher3994
    @christophermaher3994 7 лет назад +3

    Instead of reading the GMS2 user manual I wish they just had a short video recording of Shaun explaining how each function / variable works in his own words. Then I could watch those videos and think, "Okay, I get it now."

  • @chenmike8237
    @chenmike8237 5 лет назад +17

    If your player still get stuck into walls,try this:
    -Set collision mask to manual
    -Make sure the collision mask covers all your player's feet
    -Make sure that all your player sprites and their collision mask are on the same level
    it works for me

    • @ControlNumber
      @ControlNumber 5 лет назад

      You're a saint

    • @christopherbambino6984
      @christopherbambino6984 2 года назад

      Make sure your sprites are a consistant size 32x32, 64x64 whatever so the "feet" in one animation dont cause it to clip below the feet in another animation, enter the falling animation, collide IN the floor, and start the loop over.

    • @upsher
      @upsher 10 месяцев назад

      5 years later - and still thank you. Was just getting a bit frustrated over this. Collision mask helped.

  • @Crippledpoet
    @Crippledpoet 4 года назад +1

    These videos are still super helpful 4 years on. Thanks so much.

  • @gamermasta525
    @gamermasta525 4 года назад

    You don't have to be sorry. I am looving every second of the explanations. It ensures we know what we are doing. Also better than not giving enough detail. We aren't in a rush because Miyamoto said good games are good forever but bad games are bad forever. Or something like that. Thank you!

  • @eastbayhawk
    @eastbayhawk 7 лет назад +90

    Hey shaun, I love your videos but I am stuck, after I made the jump animations for some reason my player is colliding half way through the wall objects, the collision mask is set to "same as sprite" on the wall objects

    • @TheNexusInfo
      @TheNexusInfo 7 лет назад +89

      You have to go to sPlayerA and sPlayerR and make sure they are set to "middle-center" as well as sPlayer. My character sprite was clipping halfway through the blocks until I changed this.

    • @eastbayhawk
      @eastbayhawk 7 лет назад +5

      yeah i figured this out after the fact haha. thanks!

    • @lando5053
      @lando5053 7 лет назад +5

      thank you soooooo much

    • @thrownstair
      @thrownstair 7 лет назад +5

      This didn't work for me, but changing the collision mask to sPlayer from Same as Sprite worked. If that's useful to anyone else.

    • @csidesummit
      @csidesummit 7 лет назад +2

      God thank you this was driving me nuts.

  • @QuackQuack6
    @QuackQuack6 Год назад +9

    for all of the people that their character is bugging out on the ground you need to put the origin point to Middle Centre to all of your sprites

    • @haroonhanif80
      @haroonhanif80 Год назад

      thx, i was wondering what was happening

    • @CharlieWilson1987
      @CharlieWilson1987 Год назад

      I’ll see if this works

    • @CharlieWilson1987
      @CharlieWilson1987 Год назад +1

      Thanks so much mine was broken

    • @casian1508
      @casian1508 Год назад

      done that but the bug is still here

    • @QuackQuack6
      @QuackQuack6 Год назад

      @@casian1508 restart the app(or pc) or recheck if the origin point is at middle centre on all the game sprites

  • @ricemasteryt
    @ricemasteryt 6 лет назад +52

    Whenever i land on the ground, my idle and falling animation started flickering repeatedly while sinking into then ground. Please help?

    • @fate_flufffy3974
      @fate_flufffy3974 5 лет назад +1

      I need help on this we need to get a bunch of likes for ppl to see this

    • @crisdandy8056
      @crisdandy8056 4 года назад +5

      it's a hitbox error

    • @ricemasteryt
      @ricemasteryt 4 года назад +2

      @@spookytheghost5877 thanks

    • @hhcdghjjgsdrt235
      @hhcdghjjgsdrt235 4 года назад +11

      Solved. Check all the sprites to have origin just half of the width and height of sprite and set object collision mask to the player collision mask.

    • @jameswillemse9981
      @jameswillemse9981 4 года назад

      @@hhcdghjjgsdrt235 Thanks man fixed my issues!

  • @Hamdy-k7v
    @Hamdy-k7v Год назад

    I watched this when I was just starting and now I'm watching this for the memories. Thanks for everything!

  • @DG-iw2ig
    @DG-iw2ig 4 года назад +1

    These tutorials are very useful. I needed a fresh reminder on working with Gamemaker Studio 2. Sort of works a bit different from Gamemaker 8.1

  • @michellechen8461
    @michellechen8461 7 лет назад +61

    Your tutorials are awesome and help me in so so many ways. Question, will you ever make a RPG tutorial?

    • @startailchan
      @startailchan 7 лет назад

      Michelle Chen yayayaya I want that too

    • @yashsaksena2763
      @yashsaksena2763 7 лет назад +1

      I am quite sure that there is one, but it may be for GMS1

    • @AndrewWooldridge
      @AndrewWooldridge 7 лет назад +1

      +1 for RPG tutorial

    • @hiauuu
      @hiauuu 7 лет назад +2

      heartbeast channel has make a great rpg tutorial. FriendlyCosmonaut channel are making a great farming RPG tutorial.

    • @TheNexusInfo
      @TheNexusInfo 7 лет назад

      heart.beast is also fantastic

  • @KINGGEORGEIO
    @KINGGEORGEIO 4 года назад +5

    My jump is odd, if I jump during my walk cycle it starts my animation with the final frame of the jump instead of the first fram. Works fine when i stand still.

  • @Horn5Vr
    @Horn5Vr 8 месяцев назад +8

    I know no one probably watches this anymore but i have a problem where it is stuck on jump animation

    • @TheLTak3r
      @TheLTak3r 7 месяцев назад

      Elaborate

    • @vinny25-j6j
      @vinny25-j6j 7 месяцев назад

      Not sure if you still need this but Check the frame number while putting image index make sure to put the right one

    • @BlessedBuckshotProd
      @BlessedBuckshotProd 7 месяцев назад +1

      If it’s getting stuck on the jump animation and you can’t move it anymore. It might be that you have the collision mask different than the other sprites. If it is it’s happening where whenever the jump hits the platform it gets stuck in the platform 👍

  • @mephilesdark7393
    @mephilesdark7393 7 лет назад

    thanks a lot. you're the only one on the Internet who explained and showed how to write code that can be written in a simple game maker

  • @GabbyDaGoof
    @GabbyDaGoof 5 лет назад +1

    Thank you so much! What would I do without you! I was looking for those kinds of tutorials everywhere and it was very difficult to find any of these! Again thank you very very much!

  • @FloMoonYeah
    @FloMoonYeah 3 года назад +9

    weird stuff : when using image_xscale = sign (hsp);
    my character is stretched horizontally, i've not used any arbitrary number or anything
    what did i do wrong? could it be something happening in the sprite?

    • @FloMoonYeah
      @FloMoonYeah 3 года назад +5

      nevermind i found the problem...
      for those who are having the same issue :
      My player Object was downscaled by default to reach 64 pixels, so when applying a xscale on the sprite, it would reset the scale of x to the original 128 pixels (but not the yscale)
      so make sure your sprite is at the size it's supposed to be ingame

    • @joebesideyou1457
      @joebesideyou1457 3 года назад

      @@FloMoonYeah thanks, i had this problem

    • @temopod9426
      @temopod9426 3 года назад

      Thank you so much i was trying to fix this all day.

    • @bubko-fw7tp
      @bubko-fw7tp 3 года назад

      @@FloMoonYeah so how did you fix it?

    • @mATtGFXofficial
      @mATtGFXofficial 3 года назад

      @@bubko-fw7tp if you scaled ur sprite while in room0 that is why its happening, just delete ur sprite from the room and re-add it and dont mess with the size

  • @atomic1611
    @atomic1611 6 лет назад +17

    if you have an animation for your jumping / falling animation you should change the code to this:
    //Animation
    if(!place_meeting(x,y+1,oWall))
    {
    image_speed = 0.5;
    //or speed 1 is fine too
    sprite_index = (putnameofanimationspritehere);
    if (sign(vsp) > 0)
    {
    sprite_index = (putnameofanimationspritehere);
    }

    • @reecewelland8947
      @reecewelland8947 2 года назад +1

      It does it when it jumps but as soon as it starts to fall it the animation changes how do I keep it so the animation stays until it lands on the ground ?

    • @ps4ljaska683
      @ps4ljaska683 Год назад

      @@reecewelland8947 got same problem

    • @blacklight6090
      @blacklight6090 Год назад

      Thanks man this helped alot

  • @sumit54686
    @sumit54686 3 года назад +4

    If Someone have Flipping sprite Issue, Image scaling Issue Do check this code replace it with existing Code of Image_xscale - "if (hsp != 0){
    if (hsp > 0){
    image_xscale = 3;
    }
    else image_xscale = -3;
    }"

  • @reda827
    @reda827 6 месяцев назад

    Wow this was a lot of fun, I made my own sprites which was a lot of fun and helped me understand more. Your videos are really good and I'll continue with it and hopefully learn more cool stuff!

  • @MetalGalacticUnicorn
    @MetalGalacticUnicorn 7 лет назад +1

    Great tutorials! Coming into this knowing code slightly, it really helps when you explain what the code does! I've made my character double jump and several other things just through your explanations!

  • @valeriahernan
    @valeriahernan 5 лет назад +3

    YOU ARE THE COOLEST

  • @lebobshark
    @lebobshark 3 года назад

    The most success with gm i've had so far. Thank you.

  • @corvid_cosmo
    @corvid_cosmo Год назад +1

    It’s fun to finally see my character animate while walking and jumping

  • @PhoenixLondon
    @PhoenixLondon 7 лет назад +5

    I followed the tutorial, have all sprite collision boxes on middle center. When I walk down a ledge my character starts glitching and slowly floats down then when it hits the ground it freezes and I cant even close the program (without using task manager) Whats going wrong???
    (MY CODE VVV)
    //Get Player Input
    key_left = keyboard_check(vk_left);
    key_right = keyboard_check(vk_right);
    key_jump = keyboard_check_pressed(vk_space)
    //Calculate Movement
    var move = key_right - key_left;
    hsp = move * walksp;
    //Horizontal Collision
    if (place_meeting (x+hsp,y,obj_wall))
    {
    while (!place_meeting(x + sign(hsp) , y, obj_wall))
    {
    x = 1 + sign(hsp);
    }
    hsp = 0;
    }
    x = x + hsp;
    vsp = vsp + grv;
    if (place_meeting(x,y+1,obj_wall)) && (key_jump)
    {
    vsp = -7;

    }
    //Vertical Collision
    if (place_meeting (x,y+vsp,obj_wall))
    {
    while (!place_meeting(x , y + sign(vsp), obj_wall))
    {
    y = y + sign(vsp);
    }
    vsp = 0;
    }
    y = y + vsp;
    //Animation
    if (!place_meeting(x, y + 1, obj_wall))
    {
    sprite_index = spr_Airborn;
    image_speed = 0;
    if (sign(vsp) > 0) image_index = 1; else image_index = 0;
    }
    else
    {
    image_speed = 1;
    if (hsp == 0)
    {
    sprite_index = spr_player;
    }
    else
    {
    sprite_index = spr_playerRunning;
    }
    }
    if (hsp != 0) image_xscale = sign(hsp);

    • @PhoenixLondon
      @PhoenixLondon 7 лет назад

      my origins on middle center tho

    • @TrayFTN
      @TrayFTN 7 лет назад

      I'm having this same issue, when I find a fix I will let you know.

    • @TrayFTN
      @TrayFTN 7 лет назад +1

      Got it fixed for me. Open up your player's object properties and make sure you set a mask. It's located right under where you choose a sprite and parent for the object. Once I set the mask to my spr_player it worked just fine.

    • @PhoenixLondon
      @PhoenixLondon 7 лет назад

      TYSM!

    • @AmbientSoundscape16
      @AmbientSoundscape16 7 лет назад

      i know im watching this xtremely late but thanks bro (:

  • @tony-li7pm
    @tony-li7pm 5 лет назад +7

    i have a problem, my character only jumps when i include the second part with running.

  • @Mr.LowBudget
    @Mr.LowBudget 3 года назад +6

    For anybody that had the same problem as me: everytime i tested if the code were ok, my player would always melt into the floor like its some sort of quicksand. what I did to fix it was to replace the + by a - on the first line below //Animation

    • @kylecrane6281
      @kylecrane6281 3 года назад +1

      it still not working the palyer stands just fine but when he moves half of the player body is in the ground

    • @Mr.LowBudget
      @Mr.LowBudget 3 года назад +1

      @@kylecrane6281 yeah i got some problems too with the code that i couldnt fix even after trying multiple attempts for 4 hours

    • @microwave8351
      @microwave8351 3 года назад +1

      @@Mr.LowBudget the running player sprite origin point should be in middle then it will work

    • @thomasttt
      @thomasttt 3 года назад

      @@kylecrane6281 someone suggested in another comment thread to make sure the origin of the running sprite (and airborn sprite) is set to "Middle Center." We changed origin on the original sprite in the first video but this wasn't brought up again here. If that doesn't work, maybe try changing collision mask to same as spr_player (or whatever you have named your player sprite)

    • @microwave8351
      @microwave8351 3 года назад +1

      @@thomasttt yea it worked I was checking every Sprite again and again until I noticed the origin wasn't in the center

  • @iwarx1
    @iwarx1 6 лет назад +1

    Dude you are the best, your tutorials are the best what i can find on youtube! Thanks for your work)

  • @shion126
    @shion126 6 лет назад

    In the end i made the aniation with a complete different code because it would not with the sleep mode of the player and that the glowing eye of the player at the frame 30 is still there if you turn around (i used different sprites for right and left because the glowing eye should not switch from the right to the left eye if i turn around) however i only came up with how i can do it for myself better after i watched what you did so THANK YOU 👌❤
    Ps: i really like how you explain every step for beginners, even tho i don't need it because i can write C++ and there is only a small gap between those languages it is really nice and it just shows how nice you done this series keep it up 👍

  • @lego-man2821
    @lego-man2821 7 лет назад +16

    For those of you who are having glitching problems, make sure your sprites are all set to MIDDLE CENTER.

  • @kibegamimultimedia
    @kibegamimultimedia 5 лет назад +4

    Shaun, I wanted to apply a somersault animation in between the jumping and falling sprites in the code. But where in the line(s):
    if (!place_meeting(x,y+1,oSolid))
    {
    sprite_index = sShinobi_Jump;
    image_speed = 0;
    if (sign(vsp) > 0) image_index = 1; else image_index = 0;
    }
    Can I do that? Can anyone help me as well? Thank you

  • @georginaruizpaez510
    @georginaruizpaez510 4 года назад +4

    I am Mexican and I do not understand everything but if anything and I come here to say thank you for explaining everything so well thank you :3

  • @gamermasta525
    @gamermasta525 4 года назад

    This man is explaining programming fundamentals better than the rest.

  • @BuzzardPlanet97
    @BuzzardPlanet97 4 года назад

    These videos are great, a lot of tutorials show you how to code things but with yours I actually understand WHY the code works. Whether I'll remember it is another story lolol

  • @alessandromangiapia7082
    @alessandromangiapia7082 4 года назад +4

    okay Shaun, you are a great great teacher and you have my ammiration, but I am about to drop at the second episode. it has been one hour and half I am trying to figure out why after adding the running animation the character will never move sideways again (except when airborne, then you can slide on the side).
    I have tried to remove the part of the code involved in the running animation and doing nothing else, and it goes back to normal movement.
    I have tried to invert and match, the animation of running works fine if applied to the standing character. I am absolutely desperate and I am noticing a few users had the same issue. I will be a patreon supporter if you can help me!

    • @inkblood6178
      @inkblood6178 3 года назад +3

      Hey, I don't know if you still care, but I had this issue as well. I could not move left or right, except when in midair. Go back into your workspace and into your oPlayer. Mine said it was the 'same as the sprite'. Get rid of that and manually choose the corresponding player sprite. This fixed the issue for me.

    • @Jpg.Ferret
      @Jpg.Ferret 3 года назад +2

      @@inkblood6178 BRO TYSM I WAS STRUGGLING SO MUCH WITH THIS YOUR MY LIFE SAVER

    • @AzureTheAvian
      @AzureTheAvian 2 года назад

      @@inkblood6178 Thank you so much. I had the same problem too, and the fix worked.

  • @Ttjam1
    @Ttjam1 4 года назад +6

    I noticed an underscore is required before the "strip[number]" when naming a spritesheet. At first I tried it with a dash and it didn't recognise my sprite as a multiple

    • @Yhsman2999
      @Yhsman2999 4 года назад

      pklz how i can find aassets idolwoad assets it only give me amepty paper argh im so fucking maD

  • @paruz8422
    @paruz8422 2 года назад +5

    I can't download the assets, can you help me

  • @xlughorx1725
    @xlughorx1725 3 года назад +2

    Thank you so much for doing this tutorials, its very very helpfull, also funny to see my own character doing all this stuff.
    For some reason while i was trying to set the jumping animation, my character could move along the room but went stucked on the "down jump" frame, so after spent a while trying to figured out what was the problem, just above the "if (!place_meeting(x,y+1,oWall))" condition i added this one ---> "if not (place_meeting(x,y+1,oWall)) sprite_index = sPlayer" and it solved my problem.

    • @hrmbw6157
      @hrmbw6157 2 года назад

      I was having the same issue. I think you missed the ! symbol, once I added it, it worked for me.
      So it would be:
      "if not (!place_meeting(x,y+1,oWall)) sprite_index = sPlayer"
      But thanks! You helped me, I was stuck haha

    • @leninh3389
      @leninh3389 2 года назад

      THANK YOU SO MUCH

  • @xDMrGarrison
    @xDMrGarrison 2 года назад

    This is fun, thanks! Everything is so easy in GameMaker. And I love your explanations too.

  • @ag4162
    @ag4162 6 лет назад +8

    If anyone of you have a problem with the player getting "stuck" in the ground, or just walks very unsmoothly, check your collision mask.
    good luck!

    • @TheTNTerminator
      @TheTNTerminator 6 лет назад +5

      OMG thank you! All I had to do was change the collision mask from "Same as Sprite" to the walking animation. Thank you!

    • @anto_cecchi6133
      @anto_cecchi6133 6 лет назад

      @@TheTNTerminator thank youuuuuu

    • @ruben77ful
      @ruben77ful 6 лет назад

      Lifesaver

    • @burgaskilek1157
      @burgaskilek1157 6 лет назад

      @@TheTNTerminator how did you do it ?

    • @TheTNTerminator
      @TheTNTerminator 6 лет назад +1

      @@burgaskilek1157 You have to change the collision mask on the object from Same as Sprite to the Walking Sprite.

  • @kompo5997
    @kompo5997 5 лет назад +3

    help me with xscale, when i change direction, my sprite becomes thin
    fixed it.
    i just made it like this
    If sign(hsp) != 0
    {
    If sign(image_xscale) != sign(hsp) image_xscale *= -1;
    }

  • @dimodimchev6575
    @dimodimchev6575 7 лет назад +4

    When I change directions my character teleports and if I change direction near a wall my character gets stuck inside of the wall.Any help?

  • @adamj.mc.3078
    @adamj.mc.3078 4 года назад

    that little rant about simplifying the floor/wall checks down to a single check which is called by your further variables was something i did immediatly, for floor checks you can just use;
    if (place_meeting(x,y+1,oWall))
    {
    on_floor = true
    }
    else
    {
    on_floor = false
    }
    and then every place you have (place_meeting(x,y+1,oWall))
    written just replace it with (on_floor = true
    ) and for everytime that variable starts with an exclamation mark like so (!place_meeting(x,y+1,oWall)) simply write (on_floor = false). Can also be done for walls and ceilings super easy, so i now have 4 simple collision variables instead of checking if the player is touching the wall or not

  • @turlte1236
    @turlte1236 2 года назад +2

    this man is a godsend

  • @bluujei9573
    @bluujei9573 5 лет назад +6

    The command "sprite_index" completely fails to work for me, so that it consistently stays in the airborne sprite. Does anybody know why this is?

    • @oniccrim1532
      @oniccrim1532 3 года назад

      did you ever figure this out?

    • @bluujei9573
      @bluujei9573 3 года назад +1

      @@oniccrim1532 Ok, it was 2 years ago, but I simply went through the episode again and redid the code, trying to understand it better

    • @oniccrim1532
      @oniccrim1532 3 года назад

      @@bluujei9573 i did the same thing hahahaha

    • @oniccrim1532
      @oniccrim1532 3 года назад

      @@bluujei9573 i wish i would’ve seen this a week ago

    • @oniccrim1532
      @oniccrim1532 3 года назад

      @@bluujei9573 just finished starting over from scratch

  • @hydesdad4536
    @hydesdad4536 4 года назад +15

    Everything is swell, except for the fact that when i move, my sprite goes very slim.

    • @thebruhtrain1278
      @thebruhtrain1278 4 года назад +12

      same
      Edit: Fixed it. Whenever this happens you need to put * 2 or 1 in my case it was * 2
      code :
      if (hsp != 0) image_xscale = sign(hsp) * 2;

    • @n9it
      @n9it 4 года назад

      @@thebruhtrain1278 bro thank you soooo much

    • @GrizzlyStoned
      @GrizzlyStoned 4 года назад

      @@thebruhtrain1278 Thanks man!

    • @DarkEmerald47
      @DarkEmerald47 3 года назад

      THANK YOU SO SO OSO OSOSOSOSOSOSOOSOSOSOOSO MUTCH i almost gave up on my game cus if this

    • @eternalpain9386
      @eternalpain9386 3 года назад

      @@thebruhtrain1278 thank you for giving me the solution :)

  • @FranckOlive
    @FranckOlive 4 года назад +4

    so everytime you wanna check a variable's value on an "if" conditional we should put double equals (==) ?

  • @lifeisnotdaijoubu9354
    @lifeisnotdaijoubu9354 10 месяцев назад +1

    this guy is singlehandedly carrying my computer science grade here 💀 im forever indebted to him

  • @raffaelrodrigues6431
    @raffaelrodrigues6431 4 года назад +1

    Hello Shaun! I'm doing your tutorial for a game i'm creating with lot of friends in the Global Game Jam 2021. I was trying to download the assets from the link you put in the description, but it just close right after i click.
    Also congratulations for the awesome tutorial! It is fast, direct to the point and complete! :)

  • @brkki6522
    @brkki6522 7 лет назад +21

    Umm my character gets less wide when it moves

    • @cantoobscuro1709
      @cantoobscuro1709 5 лет назад +18

      hey friend, i know it has a long time, but it happened to me and i fixed it. Well, u just gotta test the comand image_xscale. Set diferent numbers. in mine case, 2 and -2 handled the job. My code is this:
      if(hsp!=0){
      image_xscale=sign(hsp)*2;
      }

    • @Kayoto
      @Kayoto 5 лет назад

      @@cantoobscuro1709 Thank you!!!

    • @tobybegolo-wyatt5861
      @tobybegolo-wyatt5861 4 года назад

      Your a genius! Thank you so much!

    • @tanukigaming3515
      @tanukigaming3515 4 года назад +4

      I wish i could get less wide

    • @isaakw6405
      @isaakw6405 4 года назад

      TanukiGaming just run the code silly

  • @RickTheBirdie
    @RickTheBirdie 6 лет назад +7

    I need help, when I start to move left of right, my animation swaps through my player and my running animation. Jumping is fine, I only have trouble with running.

    • @duynguyenanh6320
      @duynguyenanh6320 4 года назад

      Me too, so after 2 years have u known how to fix it?

    • @thelegendarymushroom80
      @thelegendarymushroom80 4 года назад

      @@duynguyenanh6320 l have the same problem and hope to know the secret as well :P

    • @gobro3900
      @gobro3900 3 года назад

      @@thelegendarymushroom80 Do any of you know? Please answer.

    • @thelegendarymushroom80
      @thelegendarymushroom80 3 года назад

      @@gobro3900 I'm sorry, l do not know :C

    • @gobro3900
      @gobro3900 3 года назад

      @@thelegendarymushroom80 damn...

  • @MADDYT
    @MADDYT 5 лет назад +8

    Help it just changes my character to its jump Sprite when on ground and air

    • @connerstallings
      @connerstallings 5 лет назад

      @MegaDax Yall saying like he looks down even when on the ground because if so SAME

    • @Bibi-hs3fd
      @Bibi-hs3fd 5 лет назад

      Sameeee pls help someone

    • @le0ndr024
      @le0ndr024 5 лет назад +14

      I dont know how, but i had the same problem and i changed it this way... It worked for me... you should try it
      This is what I wrote:
      //Animations
      if (!place_meeting(x,y,oWall))
      {
      sprite_index = sPlayer;
      image_speed = 1;
      }
      if (!place_meeting(x,y+1,oWall))
      {
      sprite_index = sPlayerJumping;
      image_speed = 1;
      if (sign(vsp) > 0) image_index = 1 else image_index = 0;
      }
      //If it worked for you please like it to everyone see...

    • @igorelias4752
      @igorelias4752 5 лет назад +1

      @@le0ndr024 It worked for Game Maker 1

    • @RememberSacredGeo
      @RememberSacredGeo 5 лет назад +1

      @@le0ndr024 Hey, thank you! worked for me

  • @electric4761
    @electric4761 11 месяцев назад

    i love this kind of tutorials thx very much bro, a hug from Spain☺

  • @mftofficial8972
    @mftofficial8972 6 лет назад +1

    Thank you for these tutorials. These tutorials have inspired me to create and code games that i can sell on Steam. Thank you :D

  • @aslakhomme5151
    @aslakhomme5151 7 лет назад +10

    when i walk my character walks through the ground. it doesnt happen when i jump, turn og stand still though, please can someone help me ? :(

  • @bernardofontes2184
    @bernardofontes2184 2 года назад +3

    hello!
    nice tutorial, i learn a lot. But when i do the animations, the player just duplicate and the animation is too slow. The jump and the gravity just aren't the same as i set for them. As i say previously, the sprite duplicate, but the first sprite is the idle animation, and the second sprite is the run animation, same for the jump animation. Anyone here know how i can fix that?

    • @brokensoul7185
      @brokensoul7185 2 года назад

      it happend to me you just need to put a canter in the same position that is locataed on the screen were you put a colisson on your character

  • @ivantempski8130
    @ivantempski8130 4 года назад +2

    Make sure all your sprites used have identical collision masks. Mine were not and my character would randomly stop moving at times :p

  • @sakatagintoki3850
    @sakatagintoki3850 7 месяцев назад

    Thanks for the tutorial. Happy to start my game making journey

  • @LeonMckee8571
    @LeonMckee8571 Год назад

    I am going through this walk through as a personal project and the assets would help alot a LOT

    • @Dunkable
      @Dunkable 11 месяцев назад

      I just wanna know the size of his sprites so I can make mine a similar size 😅

  • @jameshockett5794
    @jameshockett5794 6 лет назад +4

    Whenever I put in the image you say it is supposed to put sprites into animation by itself but it no do dat help me please

  • @ivanche2984
    @ivanche2984 5 лет назад +4

    Why when I'm moving to the left my character just get thinner?

    • @nedsanders3246
      @nedsanders3246 5 лет назад +1

      I also have this problem. Did you figure out a solution?

    • @moshimooshi
      @moshimooshi 5 лет назад

      @@nedsanders3246 the sprites might be with wrong sizes etc...

    • @montycrash8362
      @montycrash8362 4 года назад

      @Nooneimportant changing it to -2 and 2 seems to fix it but I don't know why

  • @DAHN9000
    @DAHN9000 7 лет назад +143

    I liked video = true

    • @Chemical_Alchemist
      @Chemical_Alchemist 7 лет назад +9

      I liked your comment = false ;)

    • @igorthelight
      @igorthelight 7 лет назад +23

      Guys, there must be no spaces! So:
      I_liked_video = true;
      or
      ILikedVideo = true;

    • @ryankeyes2729
      @ryankeyes2729 7 лет назад +13

      thisvideosucks=false;

    • @left_eyebr0w
      @left_eyebr0w 6 лет назад +17

      YouReAllRightBut_ItsGettingCringy = true

    • @Benny-pr3op
      @Benny-pr3op 6 лет назад +2

      This_video_is_monologue_becuase_i_have_to_use_subtitles = true

  • @stefiw5227
    @stefiw5227 5 лет назад

    these videos have been a real help to me so thanks for the help and for explaining things so clearly

  • @samueliwalker
    @samueliwalker 2 года назад +1

    For those of you who have issues with the running animation. Its essential you make sure the sprite collision doesnt extend farther downwards than the standing sprite. Also make sure the origins are all set to the same since the default is top left.

    • @harikimskater5171
      @harikimskater5171 2 года назад

      Thank you so much! Your comment actually is so helpful for whom is newbie like me!

  • @doomed2214
    @doomed2214 5 лет назад +4

    my player keeps on sticking to walls
    {
    I have it set as middle centre btw
    }

    • @doomed2214
      @doomed2214 4 года назад

      Btw any one who else is having this problem there’s a video on it but the code is pretty long but it does work

    • @darealfishgaming5465
      @darealfishgaming5465 4 года назад

      what is the video called?

    • @doomed2214
      @doomed2214 4 года назад

      DaRealFishGaming just search up how to not stick to walls in game maker

  • @kini-kun6151
    @kini-kun6151 5 лет назад +5

    every time I jump even when I fall on the ground I continue with the frame jumping or even on the ground or jumping continues with the jumping frame
    someone can help me?

    • @iand6309
      @iand6309 5 лет назад +1

      YES SAME

    • @zaynebmoin9917
      @zaynebmoin9917 5 лет назад

      i didnt understan your problem

    • @seeker1602
      @seeker1602 4 года назад

      I had this problem too but someone figured out that I paused the video too early. Shaun's also does that... Keep going. He resolves it in a minute.