Make a Platformer in 13 Minutes in GameMaker Studio 2

Поделиться
HTML-код
  • Опубликовано: 27 сен 2024
  • 🎁 Assets: thomasgvd.itch...
    📩 Get indie dev tips, behind-the-scenes and more stuff in my newsletter: blobfish.dev
    ▬▬▬▬▬▬▬▬▬▬▬▬ FOLLOW ME ▬▬▬▬▬▬▬▬▬▬▬▬
    📩 Newsletter: blobfish.dev (best way to follow my work)
    🐤 Twitter: / blobfishdev
    👽 Discord: thomasgervraud...
    🐱‍👤 Steam: store.steampow...
    🐱‍🐉 Itch: thomasgvd.itch...
    ▬▬▬▬▬▬▬▬▬▬▬▬ MY GAMES ▬▬▬▬▬▬▬▬▬▬▬▬
    🎮 Space Gladiators: store.steampow...
    🥔 Lost Potato: store.steampow...

Комментарии • 275

  • @growdot1961
    @growdot1961 4 года назад +194

    For those that don't have the time, here is the script for the player object
    *create event*
    spd = 4;
    xSpeed = 0;
    ySpeed = 0;
    *step event*
    var xDirection = keyboard_check(ord("D")) - keyboard_check(ord("Q"));
    var jump = keyboard_check_pressed(vk_space);
    var onTheGround = place_meeting(x, y + 1, oWall);
    if (xDirection != 0) image_xscale = xDirection;
    xSpeed = xDirection * spd;
    ySpeed++;
    if (onTheGround) {
    if (xDirection != 0) { sprite_index = sPlayerRun_strip7; }
    else { sprite_index = sPlayerIdle_strip4; }
    if (jump) {
    ySpeed = -15;
    }
    } else {
    sprite_index = sPlayerJump;
    }
    if (place_meeting(x + xSpeed, y, oWall)) {

    while (!place_meeting(x + sign(xSpeed), y, oWall)) {
    x += sign(xSpeed);
    }

    xSpeed = 0;
    }
    x += xSpeed;
    if (place_meeting(x, y + ySpeed, oWall)) {

    while (!place_meeting(x, y + sign(ySpeed), oWall)) {
    y += sign(ySpeed);
    }

    ySpeed = 0;
    }
    y += ySpeed;

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

      Thanks!

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

      one question: im having trouble identifying jump, i even copy and pasted the code from this comment but GMS says that the computer cant identify jump even though i clearly typed in what it means

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

      @@matrixpictures7799 what does the error code look like

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

      @@growdot1961 here: cannot set a constant ("jump") to a value

    • @FuruRa...
      @FuruRa... 3 года назад +8

      Hippity hoppity your code is now my property

  • @MicahBuzanANIMATION
    @MicahBuzanANIMATION 3 года назад +42

    This video inspires me to give game making a try. I always thought it would be beyond me because I'm bad at math, but this gives me hope.

    • @blobfishdev
      @blobfishdev  3 года назад +13

      You usually don't need anything more than basic arithmetic operations to make 2d games. Tons of people are making games without even knowing how to code nowadays with all of the visual scripting tools that exist so you can definitely give it a go if you're interested!

    • @MicahBuzanANIMATION
      @MicahBuzanANIMATION 3 года назад +7

      @@blobfishdev That's so inspiring to hear. I'm looking into GameStudio 2 Maker right now. You are really good at making tutorials, I'll plan on digging through more of your stuff and hopefully play some of the games soon too!

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

      @@MicahBuzanANIMATION Thank you and good luck with your own projects! I checked out your video on Patreon tips, that was very useful advice. Got me thinking about how I could set up one and give game dev related tools, scripts and assets as rewards.

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

      @@blobfishdev Help, i use my own sprites and I'm on 6:17 time. Why does my character sprite just keep falling.

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

      Nvm i just didnt press space, but..... i cant seem to go left with my controls

  • @soypequeno
    @soypequeno 3 года назад +14

    I love the style of the egg character, it reminds me of the binding of issac!

  • @misterr3083
    @misterr3083 3 года назад +11

    Yes please more tutorials like this. They are perfect for those of us who have limited time to learn, they really help a lot. Amazing tutorial and concept Thomas, merci beaucoup!!

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

      I was thinking of doing this. I would need a Wacom.

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

    For those that had trouble moving left to right, I had the same thing. What I had to fix was when I copied the code in the step function
    while(!place_meeting(x+sign(xSpeed),y,oWall))
    {
    x+=sign(xSpeed);
    }
    I pasted it and replaced all the x's with y's. I missed one of the x's, once I changed it to y the code worked.

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

    Very good and quick tutorial. Most people on YT need hours to explain all of this.

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

    I'm learning Gamemaker by making a Mario clone now. Figuring out how to make the character move and collide is really confusing. But you explain it so well and concisely that it is easy to understand. Thank you for making this video.

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

    Best Tutorial for RUclips for Platformer game

  • @gigaus0
    @gigaus0 3 года назад +18

    'We have basically recreated flappy bird.'
    And that right there gets a like. The effectiveness of this tutorial gets a fav.

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

    Thanks a lot, almost done with a year game design class and I have to do my own game as the final. This tutorial taught me so much since really the only thing they taught was making card and pinball type games

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

    came from reddit, already know some of these things but your tutorial are really superb!
    +1 sub

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

    All tutorials should be like this. I am new to gamemaker and I am happy to find a video that's straight to the point. Thanks

    • @Mr.Glaube
      @Mr.Glaube 10 дней назад

      minus the anoying ass fucking jumpcuts that video makers LOOOOVE to put in their videos, then yes

  • @_.thealtbutton._3483
    @_.thealtbutton._3483 2 года назад

    the intro already deserves a like and a sub

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

    thank you! i was having alot of trouble with other videos on the topic

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

    I think the very last thing you missed is how you close the game itself. Like pressing esc to close game when it's in fullscreen. But overall this whole tutorial have been more helpful then most others out there that span through hours of videos. Thank you!

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

    Woah this is 100% gonna be the building blocks for something im planning

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

    loved the content, it really helped

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

    The style reminds me of An Untitled Story quite much
    Also a bit reminds me of Wuppo
    Quite nice

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

    5:10 when I press the 'alt' button to draw in the tiles with the wall object, the whole platform moves, and it doesn't draw anything. How can i fix this?

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

      Weird, you should just have to highlight the oWall object in the Asset browser and it should even display a message at the bottom f the room next to the x,y coordinates that says "LMB + ALT to paint with selected object resources". (just above the "output" tab)
      Once highlighted if you press ALT (without letting go) the wall object should appear at the position of your mouse. If it doesn't work for some reason you can always just drag and drop the oWall object into the room directly or copy/paste it and move it after.

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

      @@blobfishdev Thank you!! It works now! ^^

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

    You really make the code seem less confusing then other tutorials I've followed! Have you considered putting together a GML platformer engine for sale on YoYo and Itch? 90% of them are outdated (GM 1.4) and the new ones that are there seem overly complicated.

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

      I've thought about it but wasn't sure if it would be worth my time to put something like this together since it seemed to me like there were already alternatives (haven't looked much into it though). Last few weeks I've been playing around with Godot so still not sure which engine I'll use moving forward but might look into it if I choose to continue with GameMaker

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

      ​@@blobfishdev Yeah I really couldn't say if it would be worth the effort. But what I will say is that the ones that are out there for sale are either very old (made for GM1.4) or have a lot of features that kind of get in the way of having a clean, easy-to-understand platformer engine that you can re-skin and build upon.

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

    OMG THANK YOUUUUUUUUUUUUUUUUUUUUUUUUUUU AFTER A THOUSAND OF VIDEOS I FOUND THE EAISIST AND FASTEST CODE EVER, AMAZING TYYYYYYYYYYYYY

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

    This is the most helpful tutorial I've seen in months. thank you

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

    my dumb character keeps falling through the floor everytime i try starting the game, and also my coins are surrounded by a white wall that won't go away. help me please.

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

      Make it xspeed = 0 in the player code and also y speed=0

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

    helped a lot ty

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

    superb!

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

    if you changed the room size and the camera isnt working try putting the camera in the middle of the room i found having it where the camera's border is already outside of the room makes it bug out

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

    This is so good! Just one question, how do I create those non-pixel sprites?

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

      I drew them in Krita with a graphical tablet

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

      @@blobfishdev imagine someone drawing it on a computer...

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

    when my character changes direction, it teleports it forward a bit, it only does this when changing direction, How do i fix this?

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

    Didn't realize for quite a bit that your using Gamemaker Studio 2 and not Visual Studios, which is what I am using. Is Gamemaker Studio 2 good for making games such as this one?

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

    idk WHY but I tryied EVERYTHING perfectly but it STILL wont play

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

    Great tutorial! Many thanks!

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

    Is there another method for 5:23? my alt button is not working on game maker for some reason

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

    i love how when he says "oWall" it sounds like "owo"

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

    best tutorial on youtube

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

    Im having a Issue. My character can't move left or right at all, but his animation does play. He only moves to either sides when I jump and press either A or D.

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

      Hard to say what's wrong without seeing the code but maybe you put the x += xSpeed line in the else statement after the if (onTheGround) statement so the speed doesn't change when the player is on the ground. Try to see if the xSpeed value updates correctly when you're on the ground and pressing A or D (use show_debug_message(xSpeed))

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

      @@blobfishdev Ok, here is the code. In my code xSpeed is hsp, while ySpeed is vsp.
      var xDirection = keyboard_check(ord("D")) - keyboard_check(ord("A"));
      var jump = keyboard_check_pressed(vk_space);
      var onTheGround = place_meeting(x, y + 1, obj_tile);
      if (xDirection != 0) image_xscale = xDirection;
      hsp = xDirection * walk_spd;
      vsp++;
      if (onTheGround) {
      if (xDirection != 0) { sprite_index = spr_potatorun; }
      else { sprite_index = spr_potato; }
      if (jump) {
      vsp = -15;
      }
      } else {
      sprite_index = spr_potatojump;
      }
      if (place_meeting(x + hsp, y, obj_tile)) {

      while (!place_meeting(x + sign(hsp), y, obj_tile)) {
      x += sign(hsp);
      }

      hsp = 0;
      }
      x += hsp;
      if (place_meeting(x, y + vsp, obj_tile)) {

      while (!place_meeting(x, y + sign(vsp), obj_tile)) {
      y += sign(vsp);
      }

      vsp = 0;
      }
      y += vsp;

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

      @@gobro3900 I don't see anything wrong in that code, maybe something to do with the collision box of the player and the tile object, or when you're spawning him he gets stuck in the tile or something like that

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

    thanks for the good tutorial, i have not money now for support you, but i subscribe and sell a like (for the free assets)
    nice work!

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

    YOU ARE AWESOME

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

    For some reason i cant autotile it just doesnt let me place down my tile set
    please help me if you have time :(

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

      Make sure that you put the first tile in the auto tile as the last tile in the tileset

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

      @@PeterRoyale4839 thank you so much!

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

      @@thiccacorn9807 sorry for commenting so late!

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

      @@PeterRoyale4839 nah its fine, I stopped making the game I was working on but I'm thankful you took time out of your day to help me.

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

    When i start running, my character just flies away like a plane

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

    Thank you!

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

    Thanks so much

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

    great job!

  • @snakestaffmagic4499
    @snakestaffmagic4499 Месяц назад

    00:22 How did you get to Import??

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

    hey, can I have some help? when I get close to the tiles, they stretch and get all weird.

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

    how do you open a game make project????

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

    How to fix my walls aren't lining up with the room

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

    You probally don't even see those comment anymore but I have a problem, for some reason my character moves SUPER slow, and I can't Really point out where I can change his speed with this code, what do I do?

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

    I finshed all the coding and ran the game but My character is not moving its saying in the same place , I need help.

  • @СергейЗубашеч
    @СергейЗубашеч 2 года назад

    This is a wonderful lesson. But when my character moves, its size becomes original and not the one I set in the editor( What i can do?

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

    cam u make a video where you put enemies in or put a health bar

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

    do you actually choose to press Q to move left in games??

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

    damn nice tutorial

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

    at 6:30 i input the code perfectly correct, yet when i try to run the game it says "Object: oPlayer Event: Step at line 6 : malformed statement" and im super confused pls help

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

    does it not work for studio 1.4? character is getting stuck in the floor but can move fine left and right in air.

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

    hey i'm having an issue at the player action part because I can't type in any of the code

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

    When I try to put walls object by holding Alt its putting a question mark and I cant place the thing correctly anyone knows how to fix this ?

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

    sssoooo nice and righgt to thge point. thx

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

    Good Video

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

    Is there a way to change the gravity in the step event?

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

    when i use alt lmb it doesnt do anything?
    what can i do to fix it

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

    Why does this line:
    var onTheGround = place_meeting(x, y + 1, oWall);
    work with "y + 1" and not something like "y + sprite_height / 2"? I would have expected it to measure off of the sprite's origin, not its bottom edge.

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

      Actually I think I just figured it out. It isn't checking whether a point is colliding with the given object, but whether the entire original object is colliding with the given object, if it were moved to the given x and y

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

      @@ZachDurtschi Yep you got it

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

    ça semble un peu "illogique" mais ce qui fais un bon platformer pour moi c'est l'art. Je trouve que ce que tu as fais , c'est peu commun et c'est pour ça que j'ai acheter ton jeu (je regrette pas)

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

      jdis ça meme si ce n'est pas un platformer hein.

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

      @@PhugLeGrand Haha merci !

  • @laags5920
    @laags5920 5 месяцев назад

    Does anyone know how to add a new level?

  • @Random-Legend
    @Random-Legend 3 года назад

    Do you have to do animations yourself or does the program do it for you

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

    I have a little problem with the camera

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

    Sped up the video 2x to make a platformer in 6.5 minutes.

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

    My player falls through the platorms, i dont know how to fix it as i am new. any idea why?

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

      Make sure:
      -That you have placed the oWalls objects where the tiles are (only having the tiles won't work) @5:12
      -In the oPlayer step event that you're checking collision with the oWall objects @7:30

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

    This is a great video! I'm having a very slight issue where occasionally when I jump into or fall on a corner my character gets stuck in the corner of the wall object

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

      I think I had that happen too at some point when I put the lines of code in the wrong order
      I had done it like this:
      check x collision => check y collision => move x => move y
      when it should have been:
      check x collision => move x => check y collision => move y
      Maybe you're having the same issue?

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

      @@blobfishdev That seems to have fixed it, thanks so much! ^_^

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

    i followed everything you said in the video, but the character doesn't move to the left. it only jumps and moves to the right.

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

      Make sure you got these lines correct in the Step event of the oPlayer object, this should make you go to the left (A) or to the right (D) depending on which key you're pressing:
      var xDirection = keyboard_check(ord("D")) - keyboard_check(ord("A"));
      if (xDirection != 0) image_xscale = xDirection;
      xSpeed = xDirection * spd;

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

      @@blobfishdev That worked! Thanks

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

    It wont let me install the assets: its saying it got lost

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

    3:16 i have problem i cant it dont make code it make drag and drop variables

  • @Diepnguyen-zz1cy
    @Diepnguyen-zz1cy 2 года назад

    I am currently trying this this tutorial on Gamemaker 1.4,. For some reason, the character runs really slow on the obj wall but really fast on air, is there anyway I can fix this?

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

      I've never used GM 1.4 sorry, probably something todo with the collisions where the character is clipping into the wall

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

    Hi I'm Seth and I'm making a superhero fighting smash bros like fighting game called xenomon

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

    when i make a new project which one should i chose drag and drop or gamemaker language ??

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

      If you want to follow this tutorial you should choose GameMaker Language.

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

      @@blobfishdev thx bro

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

    Il y a une petit probleme ! Je puet pas marcher gauche et droite . Quand j appuie A ou D jusque l 'animation commence

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

      Ca peut venir de plusieurs choses. J'ai épinglé un commentaire qui reprend le script du joueur, copie colle le ou assure toi que tu as bien écris les mêmes choses dans le même ordre

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

      @@blobfishdev Merci , Je copier coller et tout c'est bien

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

    Hello,can you send the white potatos default and run running pictures please?
    Good tutorial btw

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

      All the assets used are there: thomasgvd.itch.io/platformer

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

    I followed through the steps and a lot of parts I got stuck and could not fix what happened so I stopped

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

    is there a way to get the assets for free?

  • @sad-_-potato4627
    @sad-_-potato4627 3 года назад

    I have a problem thomas! Pls help
    Whenever i try to move the player it just falls out of the room.. how do i fix this?
    (Pls reply)

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

      Maybe you wrote something like:
      x = xSpeed
      instead of:
      x += xSpeed
      or the same thing with y and ySpeed
      Its hard to tell but you can check the pinned comment with the code and see if there's any difference with yours

    • @sad-_-potato4627
      @sad-_-potato4627 3 года назад

      @@blobfishdev sure! Btw thanks for replying! :)

    • @sad-_-potato4627
      @sad-_-potato4627 3 года назад

      @@blobfishdev also can you upload a tutorial about adding melee attacks with a sword or something like that? Pls it would be helpful. Anyway keep up the great work!

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

    Help I can only move right

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

      Without looking at your code, no one can help. Copy and paste your code so we can see where you may be going wrong!

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

    Why do you expect me to have assets lol

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

    is this dnd or gml

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

    How can I make the player fall at a constant speed?

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

      Instead of writing ySpeed++ (which adds 1 to the falling speed every frame to simulate gravity) you can write ySpeed = 10 (which sets the falling speed to a constant 10 directly)

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

      @@blobfishdev I did exactly that, but it makes the player jump extremely short, like being pushed to the ground.

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

      @@plexim1591 True it'd actually keep you from jumping, you could put something like that instead then: ySpeed = min(ySpeed + 1, 10);
      Where 10 is the speed at which you want to fall. The player will fall a bit slower until they reach 10 but it'll be constant after that. If you absolutely need the speed to be constant from the get go you'll have to change how the jumping is coded but I don't think it'd look or feel very good.

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

      @@blobfishdev yeah, I figured it was better to do it with a gravity variable instead. Thanks for your input!

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

    i'm 3 minutes into the tutorial and alreaady broke the game

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

    My character isn´t moving to the left, what could I have done wrong

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

      where it says "Q" in step code
      do "A" instead

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

    Can you get cracked game maker

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

    8:16

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

    google said this software doesn't require coding to make a game ;/

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

      Yeah you have 2 modes you can use: drag and drop (without code) or GML (with code), here I use the code version

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

      ah i see, thanks, i didn't notice this in other video, everyone is using code writing. What would i lose by not using code?
      and the art aspects are only personally drawn? or do they have a library or something with images like trees and rocks and stuff.

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

      @@sergykid I've never used drag n drop so not totally sure but usually with code you have more control and you can do more things faster than without it. If you don't care about coding or want to do simple games I'm sure dnd can work well too though. You can find a lot of free art assets on the web, check out Kenney's assets ( www.kenney.nl/assets ) or game dev market ( www.gamedevmarket.net/ )

  • @sillypng.
    @sillypng. 2 года назад

    I use mac and because the Mac version sucks and can’t even run the build I have no soul now.

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

    hi james

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

    When I try and run the game my screen goes completely black and nothing happens. Do you know what may be causing this?

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

      What if you remove the window_set_fullscreen(true) line in the oCamera create event?

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

      @@blobfishdev It makes the screen smaller, but it is still just a black screen. I am curious how to fix this because this video has been a massive help :)

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

      @@TheShnizNite That's weird, maybe something to do with your version of GameMaker? This tutorial was done in 2.3

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

      @@blobfishdev I am using the 30 day free trial version, but it is 2.3
      Very odd. I wonder what the problem may be

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

    you move way too fast

  • @Adam-iv7lx
    @Adam-iv7lx 4 месяца назад

    ok

  • @MsGintowt
    @MsGintowt 9 месяцев назад +1

    This isn't how you make a tutorial, you should instead teach how to make the game from scratch.

  • @booba-fan
    @booba-fan 3 года назад

    XDDDDDDDDDDDDDDDDDDDDD

  • @Garda-qk1ik
    @Garda-qk1ik Год назад +2

    I have some problems with this line:
    var xDirection = keyboard_check(ord("D")) - keyboard_check(ord("Q"));
    when i start test, it makes sprite more slim
    Help pls

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

    why my movement when changes direction it like dash?

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

      You’re sprite origin is probably set wrong, should be middle centre / between the legs, etc…

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

    Came from Reddit, thank you so much!

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

    Thank you! Good tutorial. 13 minutes but took me like 2 hours XD
    Edit: It's been two days. Still can't figure out what's wrong with the collision. @4:24 It's not clear for me how to set the collision as oObjects fall infinitely.

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

      What do you mean by "oObjects fall infinitely"? The walls shouldn't be moving and in the oPlayer object you check for collision with them.

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

      @@blobfishdev sorry oPlayer Wow coding is hard.

  • @justsumdood8351
    @justsumdood8351 2 года назад +6

    Just making this comment to thank you for everything blobfish. I was able to pass my college course for games programming from this tutorial and I’ll be sure to buy your games on Steam for literally any way to show thanks to such an incredible god tier gamemaker legend