GameMaker Studio 2 Tutorial - Platform Game Movement

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024

ความคิดเห็น • 26

  • @Ollywhohaha
    @Ollywhohaha 2 ปีที่แล้ว +1

    Yo man, i watched this video like 4 years ago when i was doing my assessments and it saved my grades in college when i was doing game design, huuuggee props i wouldnt be where i am now if it wasnt for you

  • @ArchToAchilles
    @ArchToAchilles 5 ปีที่แล้ว

    I am loving your tutorials. They help so much. Awesome job!

  • @adriancifersky791
    @adriancifersky791 4 ปีที่แล้ว +1

    Nice tutorial and all but still I have a little bit problem with movement, when I set gravity as you said in video my character cant go to left side, everything works, animations and all. please help (for some reason player stuck in floor)

  • @rooseveltNovember
    @rooseveltNovember 3 ปีที่แล้ว

    You sound enough like Robert Downey Jr that I've been imagining Tony Stark giving this tutorial.

  • @Glarblenuck
    @Glarblenuck 6 ปีที่แล้ว

    I'm trying to allow the player to do short hops, or rather, allow the player to stop moving vertically depending on when you release the space key like in Castlevania. How would I go about doing that much?
    Double jumps would also be a pretty neat thing to have but I _might_ be able to pull that off myself.

  • @djjjo6130
    @djjjo6130 5 ปีที่แล้ว

    You solved my problem! Thank you so much!

  • @elmarakovideo
    @elmarakovideo 5 ปีที่แล้ว

    Great tutorial. Most are confusing on TH-cam.

  • @DarkProjectWorks
    @DarkProjectWorks 6 ปีที่แล้ว

    Hi Eric, thanks for the tutorial, it's one of the best I've used for starting out in Game Maker 2 recently. I'm running into a little problem though with jumping; as soon as I released the "jump" key the character returns to it's idle sprite, I can't figure out for it to only change back to idle once. Also, when in the air the jump sprite changes to the walking direction if you hit left or right. It's really doing my head in not knowing how to correct this.

  • @xXxdrvoodooxXx
    @xXxdrvoodooxXx 6 ปีที่แล้ว

    Hello, i have an issue. When on ladder i move left and touch a block i throw right. it's connected with move_contact_solid in oBlock. How it can be fixed?

    • @EricGallery
      @EricGallery  6 ปีที่แล้ว

      Your ladder object may be set to solid. It should not be. If it is, uncheck solid.

  • @punksrun4958
    @punksrun4958 4 ปีที่แล้ว

    I think I broke my game while doing these commands because i already had a walk system implemented and theyre commands are colliding now and my game can't function properly

  • @turipipip6286
    @turipipip6286 6 ปีที่แล้ว

    My player keeps falling through the platform even though I did the exact same thing with the function call and set speed. Help please.

    • @EricGallery
      @EricGallery  6 ปีที่แล้ว

      Make sure you have set your objBlock to solid (see 6:35). Let me know if that works.

    • @turipipip6286
      @turipipip6286 6 ปีที่แล้ว

      @@EricGallery I have though I already managed to fix the problem but I have another. I can't seem to be able to move my player to the left or right. Instead it only changes the direction its facing and stays there.

    • @SirDerp-cy1fn
      @SirDerp-cy1fn 5 ปีที่แล้ว

      I know I'm late but I've run into the same issue and wondering if you found a solution

  • @radhakrishnann6394
    @radhakrishnann6394 7 ปีที่แล้ว

    can u create a video on moving room to room and in game jump scares during moving which will be very helpful using drag and drop

    • @EricGallery
      @EricGallery  7 ปีที่แล้ว +1

      For moving from room to room do this: make a plain square sprite (any color), make an object, set the plain square as its sprite, set the object to invisible.
      In your character object do this: Add a collision event with the new object, then use the Go to Room action (down arrow in the Rooms section) or the Go to Next Room action (right arrow in the Rooms section).
      As for the jump scare, are you talking about having a picture pop up or having another object jumping out from behind something?

    • @radhakrishnann6394
      @radhakrishnann6394 7 ปีที่แล้ว

      thanks a lot eric will try if can you create a video this will be very helpful ,and one more huge request can you create a video on movable platforms which player can select and use it to move using the platform this will be very helpful and lighting will be very helpful can you make one ,thanks in advance

    • @radhakrishnann6394
      @radhakrishnann6394 7 ปีที่แล้ว

      ur exactly right thats is what we wanted for jumpscare

    • @EricGallery
      @EricGallery  7 ปีที่แล้ว

      Sorry, I don't take requests. I make these videos as needed for my students.

  • @xXxdrvoodooxXx
    @xXxdrvoodooxXx 6 ปีที่แล้ว

    25:00 i didn't understand for what you use function call, it only add a issue

    • @EricGallery
      @EricGallery  6 ปีที่แล้ว

      If you look at about 23:30,, the character stops before she hits the platform. The function makes her move to the next solid object in the direction she is travelling right before she hits it. This is what is likely causing the problem the ladder. If the ladder is solid and she touches it, she will move 12 pixels in whatever direction she is traveling. I hope this helps.

  • @matthewschembri1207
    @matthewschembri1207 5 ปีที่แล้ว

    It keeps saying there’s a fatal error with spd

    • @EricGallery
      @EricGallery  5 ปีที่แล้ว

      Can you tell me where in the video the problem popped up?

    • @matthewschembri1207
      @matthewschembri1207 5 ปีที่แล้ว

      Eric Gallery thank you for responding so soon it’s around the 38 mark

  • @asdarkk6504
    @asdarkk6504 6 ปีที่แล้ว

    45:34