GameMaker Studio 2: Complete Platformer Tutorial (Part 1: Basics)



▶ Source code:

Aimed at total beginners. Set up movement, gravity and collisions in fewer than 40 lines of code. The start of a complete series that will cover a wide range of topics for beginners and intermediate developers alike.

New parts to this series released every other Friday.

▶ Support my work:

My old content was getting a bit old. So bringing it all forwards for GameMaker Studio 2, newer methods, and my new and hopefully improved editing skills! Sorry for those of you whom this video touches on old ground but stick with it, while I’m targeting beginners initially this course is going to ramp up quickly!

Nguồn: https://socialclubhub.com/

Xem thêm bài viết khác: https://socialclubhub.com/game/

Article Categories:
Game

Comments

  • Is It possible to follow this tutorial with GM 1.499999?

    Avaruusnuija July 11, 2020 12:22 am Reply
  • THE GameMaker is in C# language 🤔

    X- Bordex July 11, 2020 12:22 am Reply
  • it won't let me type any code in when I select to create it wants me to select one of many boxes to the right

    Nathan Cox July 11, 2020 12:22 am Reply
  • Hey Shuan – I've been using this code for my movement, but I'm now looking into some stuff for platforms you can jump-through, and the code from this is colliding with the code from it, resulting in my vsp being set to 0 when I touch the jump-through platform but then immediately being reset afterwards. Do you know how one might implement jump-through platforming with this movement code?

    Avery Wilson July 11, 2020 12:22 am Reply
  • i have a question =

    if i got 2 block? what i do.

    Elmacı Bro July 11, 2020 12:22 am Reply
  • What computer Language did you use? It looks like C#

    Naru Senpai July 11, 2020 12:22 am Reply
  • does this work on old gamemaker?

    Bozidar Savic July 11, 2020 12:22 am Reply
  • I'm falling through the floor!!!!!! Please help

    Games&Rockets July 11, 2020 12:22 am Reply
  • Please, for the love of fucking god, tell me how to make… MULTIPLE FUCKING COLLISIONS. You dumbshit.

    KC Krumbcake July 11, 2020 12:22 am Reply
  • I didn't quite understand why when using place_meeting, y+1 refered to anything below the sprite if the sprite origin was at the middle center, but when reading the documentation I learned that place_meeting uses the bounding boxes of the sprite (if they do not have precise collision) and not the sprite origin. In case somebody else wonders

    netowgtz July 11, 2020 12:22 am Reply
  • I have an error in which my character when I press the space bar he is not jumping. Pls help

    Noel Ashish July 11, 2020 12:22 am Reply
  • I know this is late but at 29:30 I collide with the ground and can't move

    Cokolo July 11, 2020 12:22 am Reply
  • terraria background

    nice

    cheeser July 11, 2020 12:22 am Reply
  • Ok guys, if you had a problem with collisions, check if there is "!" before place_meeting. After adding exclamation point, my character started to work properly.

    Creepy July 11, 2020 12:22 am Reply
  • Why my charakter cant go left or right? 🙁

    _q_q_ July 11, 2020 12:22 am Reply
  • vsp = vsp + grv ; is making error

    John July 11, 2020 12:22 am Reply
  • 7:03 For anyone who got worried when you clicked, "create" but no space to code appeared, don't worry. Just go to the Events Tab, right click Create to open a drop-down menu, and select, "Convert to GML." Or it'll say something similar to that. Then boom, you'll have the same screen this guy does.
    10:18 Also, it's at this point when it clicked, "Oh, I see why people like dark theme. My eyes aren't bleeding right now." First time I've used dark theme in a game editing tool.
    16:40 Oh I get it, and that is very clever Mr. Spalding~.
    Finally, I want to say thanks a ton man! You explained everything very plainly and simply. Looking forward to the rest of your tutorials!

    Pleasant Whale July 11, 2020 12:22 am Reply
  • The object is not jumping and the gravity is working way too slowly

    Dhrutiman Bhattacharjee July 11, 2020 12:22 am Reply
  • in my this is giving an error … when I press to the right the character goes to the left, and when I press to the right, it goes to the left

    Daniel Pedrosa July 11, 2020 12:22 am Reply
  • Why is my owall not red it always turns blue and there seems to be no red option? Is there any way to change it?

    Mila Frias July 11, 2020 12:22 am Reply
  • why does it have an error when i type the minus sign with the key_right – key_left

    XtanoZ July 11, 2020 12:22 am Reply
  • What is the fucntion of sdfsdfs

    ricardo cova July 11, 2020 12:22 am Reply
  • I have a problem, when my player falls, he stay crashed and i cant move him, its like if he were stayed stuck.

    ricardo cova July 11, 2020 12:22 am Reply
  • how to create a yoyo account

    Tshepho Motlhanka July 11, 2020 12:22 am Reply
  • Best tutorial of there, thx mate

    Connor Burbine July 11, 2020 12:22 am Reply
  • I have a slight issue. Maybe it's because I have the latest version of GMS but… my player Sprite can collide with the top of my wall Sprite, however, if I run into a wall side on, the player goes inside it and disables jump until i am back out. Does anybody know what's going on there?

    I am pretty sure I have matched the exact code in this video too.

    Thanks a lot

    Alex Maynard July 11, 2020 12:22 am Reply
  • Note: You can use x += hsp instead of x = x+hsp, it does the same thing, but looks cleaner. This is read as "Increment the value of 'x' by the value of 'hsp'." You can do this with *, /, %, and – as well

    SirGouki July 11, 2020 12:22 am Reply
  • great tutorial, thanks

    fj kv July 11, 2020 12:22 am Reply
  • my character won't move. Any idea of what might be? (I still use gamemaker 1.4 btw)

    Henrique Mateus July 11, 2020 12:22 am Reply
  • hi my name is dominic and i want to code to

    Dominic's Serious Show July 11, 2020 12:22 am Reply
  • run program keeps failing with no compile errors – I just copied this code

    David kwon July 11, 2020 12:22 am Reply
  • My teacher taught based off your tutorial in my class.

    Kara Whelan July 11, 2020 12:22 am Reply
  • Id like to learn how to make a mega man game

    Voltage Cjay July 11, 2020 12:22 am Reply
  • Your biggest weakness is also your biggest strength:
    You tend to explain everything you're doing in depth, I'm pretty sure you spent 3+ minutes explaining with statements. You seem to give people an understanding that no other tutorial has. But this often makes your videos way too long and is why you have 9 videos all surpassing 30 minutes.

    Kamron Abdulwoheed July 11, 2020 12:22 am Reply
  • helpful.

    coconut July 11, 2020 12:22 am Reply
  • it did help out thank you

    Super Mario Sonic July 11, 2020 12:22 am Reply
  • can someone explain the 3 pixel deal? maybe the problem is english is not my native language but even so, could someone help me? when i do it the game is just the same

    Ai Que Sono July 11, 2020 12:22 am Reply
  • 22:07 "so what does that all even mean"

    Me: WHAT DOES EVERYTHING EVEN MEAN! 😤😠😑😐🤬🤬🤬

    I think I should go to an easier tutorial. I saw this other one about space rock shooting. You are a triangle and you are shooting rovks.

    I think I'm going to head over there to really understand the basics. Because this tutorial is like "what the actual fuck".
    Some of the video is like so confusing. And this is barely the beginning.
    So my brain interprets some of it like. "Ok body so a stick equals a stick, and if you subtract the stick by itself you can get 1 or 0 depending on what walking means. Walking can mean 1 or 0, so if you subtract that by the speed Wich is 4 you get (idont even know) blablabla. now but if the equation before this one is equal to 1 Wich is based on the first one getting something between blablabla you get 1 or 0. Ok so if you could please transform into Albert Einstein and figure out what relative motion means for me please. Also we need you to explain life altogether for us., You can start whenever you feel like it :)". 😶😑😤😠🤬

    What does life mean?! Huhh??!!? That's my question to you mr.tutorialguy. Huuuh?!!!!??

    We need an answer to space!! Mr.tutorialguy!

    Ricardo Ricardo July 11, 2020 12:22 am Reply
  • It seems like my game reacts late to vertical collision, because when i vertically go towards a wall, instead of stopping when i reach it, my character goes a few pixels into the wall. Can someone help me please? Here's my code for vertical collision:

    if (place_meeting(x,y+vsp,oWall))

    {

    while (!place_meeting(x,y+sign(vsp),oWall))

    {

    y = y + sign(vsp);

    }

    vsp = 0;

    }

    TijmenV July 11, 2020 12:22 am Reply
  • what the hell i cant write anything in the Create tab.. just have a bunch of pre tools

    Thecompleted Luigitwat July 11, 2020 12:22 am Reply
  • I have a quick question
    how can I add friction

    JustMaxyme July 11, 2020 12:22 am Reply
  • we can make game in gms2 traial

    Motion world July 11, 2020 12:22 am Reply
  • coding erro bro plz some one help me plzzzzzzzzzzzzz

    Motion world July 11, 2020 12:22 am Reply
  • 30:24 Everybody do the dinosaur

    Thecompleted Luigitwat July 11, 2020 12:22 am Reply
  • which language does this program use?

    berkay ışık July 11, 2020 12:22 am Reply
  • I love Shaun Spalding 😳

    Hi There July 11, 2020 12:22 am Reply
  • Hi , do you decode sps music game files ? What software should I use ?Thank you

    Francois Saintine July 11, 2020 12:22 am Reply
  • What do I do if it won't let me write code? I got stuck I the create part (acsectly on 10:00 and before that. sorry for the bad English) cuz it won't let me write code. pls help.

    real banana snail July 11, 2020 12:22 am Reply

Leave a Reply

Your email address will not be published. Required fields are marked *