GameMaker Studio 2: Rope Swing Tutorial

Поділитися
Вставка
  • Опубліковано 19 лип 2018
  • Making a grappling hook or worms style ninja rope, not as complex as you might imagine!
    ▶ Source Code: shaunjs.itch.io/shauns-rope-s...
    ▶ Support my work: / shaunjs
    ▶ Tutorial on State Machines • GameMaker: State Machi...
    ▶ Tutorial on Platformers (You only need part 1 for this) • GameMaker Studio 2: Co...
    ▶ Transcription & Subtitles by: / treesquirrel84

КОМЕНТАРІ • 143

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

    2 weeks ago I programmed a Hookshot and I ended up with almost exactly the code I just skimmed through, looks like I have learned a lot by now so thanks for that. :D

  • @markkelly2073
    @markkelly2073 5 років тому +2

    I've seen a lot of tutorials on subjects similar to this one, but this is easily the cleanest and most helpful one. You've earned yourself a new subscriber!

  • @saragalea9134

    Great tutorials as always! I’m running GMS 1.4 and so glad it still worked for me because I had no idea how to go about it.

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

    I never thought I’d be able to implement anything like this in my project. Thank you so much!!

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

    man you always come in clutch right when I need you

  • @MicroKiss
    @MicroKiss 5 років тому +3

    Nice and simple tutorial, Keep up the good work Shaun Senpai <3

  • @WallJumpGames
    @WallJumpGames 3 роки тому +9

    lengthdir_x and lengthdir_y: the two best things ever!

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

    Thank you so much for this tutorial. I figured doing pendulum platforms would be a huge pain but it wasn't difficult at all.

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

    Awesome shaun, thanks a lot!

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

    AWWWsome, thank you have been so helpful thru out our progress of game dev.

  • @basticrafter
    @basticrafter 2 роки тому +2

    Thank you very much! it´s just what I needed! I made it work to atach the rope to an specific object and works perfectly fine. Just some bugs with the collision system, but I think that I can fix that. thank you so much, you gained a new sub =)

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

    Great tutorial. Will put this into my platform engine scripts. One more useful feature!

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

    Whoa... I was legit planning to use this in my game, but had no idea where to start.

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

    Hi Shaun, How would I be able to keep the velocity of the player before the swing? If that makes any sense?

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

    I was hoping this would cover worms style wrapping. After some trial and error I implemented a system for this, the basic steps are as follows:

  • @victorstk
    @victorstk 6 років тому +4

    Shaun PLEASE make a vertical platform tutorial, i've spent 2 whole days trying to code this vertical moving platform to work with the player and enemies and failed....

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

    Is there a chance you could make this for your original platformer? I wanted to keep the original code for it and this seems extremely hard to follow

  • @NewNew-mg8ru
    @NewNew-mg8ru 2 роки тому

    Definitely can see this needing use for multi tasking in a platformer.

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

    So I used the exact code given in the description link, but I cant seem to be able to use the rope when I'm in midair. It simply wont create the rope and after looking over the code a good 20 times, I cant find any relation between the jump and grounded variables, and the rope activation code. The jump variable will cancel the rope swing, but only if you pressed it while the rope was already active.