How to Make a Video Game in 15 Minutes! | GameMaker Platformer Tutorial

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

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

  • @Scheifen1
    @Scheifen1 หลายเดือนก่อน +18

    I think this is going to be the new tutorial I recommend for people to start GM. Its very short, covers most of the basics, and uses (relatively) new functions like move_and_collide that some very good- but older- tutorials are missing.

    •  หลายเดือนก่อน +1

      Thank you very much!!

  • @theovertyrant2620
    @theovertyrant2620 หลายเดือนก่อน +14

    For anyone that is looking, Hold ALT to use an Object continuously with your cursor

  • @BastianEntertainment0
    @BastianEntertainment0 หลายเดือนก่อน +4

    Great Job Guselect, this is such a great starting point for a project.

  • @digitalswordplay
    @digitalswordplay หลายเดือนก่อน +4

    Also adding checkpoints and showing how to add different hazards could be fun to have as well :)

    • @GameMakerEngine
      @GameMakerEngine  หลายเดือนก่อน +1

      If you go onto our channel homepage you can see a playlist called: 'How to... in GameMaker' and another named: 'Dive Deeper'.
      There might content in there that helps you. Here's another tutorial on How to Add Checkpoints :). th-cam.com/video/Jn_9vInZVkU/w-d-xo.html

  • @bieldiversaogames4163
    @bieldiversaogames4163 หลายเดือนก่อน +24

    OH MY GOD, GUSELECT MADE A TUTORIAL IN ENGLISH

  • @ToadstedCroaks
    @ToadstedCroaks หลายเดือนก่อน +3

    Now that's a great tutorial.

  • @dimensionx3586
    @dimensionx3586 หลายเดือนก่อน +22

    Save 30m from other tutorials with this

  • @DestinyJoseph-f9o
    @DestinyJoseph-f9o 11 วันที่ผ่านมา

    I have been trying to do it for a long time but today I finally did it and it worked

  • @gurpreetsingh793
    @gurpreetsingh793 หลายเดือนก่อน +6

    Legend!

  • @willian_16
    @willian_16 หลายเดือนก่อน +2

    o inglês tá em dia, parabéns guselect, te vi lá no gamescom Latam

    • @jeffersonoliveira2064
      @jeffersonoliveira2064 12 วันที่ผ่านมา

      Ainda bem, foi o único vídeo recente que explica bem que consegui encontrar

  • @AlfieJackman
    @AlfieJackman 9 วันที่ผ่านมา +1

    8:27 oSolid does not work as it says inconsistent naming even though I've done everything the exact same?

  • @GustavoArrosFelipsp
    @GustavoArrosFelipsp 15 วันที่ผ่านมา

    thank you very much you should continue making tutorials, I would like to learn how to make a ship game if it is possible you can teach us

  • @soycuzz6125
    @soycuzz6125 หลายเดือนก่อน

    OHhhh!! i've never knew about the move_and_collide function! Nice one! Has game maker thought how to make camera more intuitive and easier to set it up?
    BTW i loved this video! I was making a game in game maker but i should quit on it because the code became too much difficult to keep it clean! I'm waiting the new GUI to test GM back

  • @doqOpob
    @doqOpob หลายเดือนก่อน

    Thank you very much. If it possible tell us more about collisions. And maybe about changing one sprite to another when cases are changes. 👍

    • @GameMakerEngine
      @GameMakerEngine  หลายเดือนก่อน

      We're actually just about to release a complete collisions tutorial! Great timing

    • @doqOpob
      @doqOpob หลายเดือนก่อน

      @@GameMakerEngine will wait it, thank you very much.

  • @Absorbet
    @Absorbet หลายเดือนก่อน +2

    Hello fellow game makers

  • @Beologe
    @Beologe หลายเดือนก่อน

    this was really nice and super understandable. I just got one thing to say: could you add somewhere in the Title of the Video or on the thumbnail that this is made with code and not the visual thing? just a suggestion :D

    • @GameMakerEngine
      @GameMakerEngine  หลายเดือนก่อน +1

      We've added it into the description for now, but thanks for pointing that out!

  • @spiritorn9352
    @spiritorn9352 22 วันที่ผ่านมา +5

    He casually skips over oSolid so I have no Idea how to proceed

    • @aniketsambare2097
      @aniketsambare2097 21 วันที่ผ่านมา +1

      It's too bad, I'm stuck too 😥

    • @seraph512
      @seraph512 20 วันที่ผ่านมา

      Ya, I get this error
      ___________________________________________
      ############################################################################################
      ERROR in action number 1
      of Step Event0 for object oPlayer:
      Variable .oSolid(100005, -2147483648) not set before reading it.
      at gml_Object_oPlayer_Step_0 (line 17) - move_and_collide(xsp,ysp,oSolid)
      ############################################################################################
      gml_Object_oPlayer_Step_0 (line 17)

  • @digitalswordplay
    @digitalswordplay หลายเดือนก่อน +2

    Great tutorial!! Wondering if you could expand on this game by showing how to create a world map that you can enter into and move through levels and then at the end jump back to the world map and unlock a new part?!

    • @yipyipyipi
      @yipyipyipi หลายเดือนก่อน +3

      He actually did show that! Everything here has what you need to do exactly what you just described!
      Instead of applying gravity, make up and down function like right and left so the player can move on top-down map.
      Instead of a flag, make points that take the player to the levels.
      Instead of room_goto being next middle-mouse click on that function. It will tell you how to go to a specific room (your rmMap in this case) Instead of just "the next room in line".
      Finally, if you don't want all levels available at the start, make a variable! Just like how we can run code when the player touches a flag, we can run code when the flag is touched by the player. Have the flag on each level set the level variable to complete. On the map, have the level points check if the player completed the last level, and if they did you can allow the player to enter. Do this by using an if statement, just like you do for moving and jumping!

  • @sswenr567
    @sswenr567 11 วันที่ผ่านมา

    To anyone whose game is freezing when they touch the spikes, untick the persistent box in the room settings.

  • @naoprecisodenome
    @naoprecisodenome 16 วันที่ผ่านมา

    yoo thanks for the tutorial +1 sub

  • @mikilr9276
    @mikilr9276 หลายเดือนก่อน +6

    Dear Friends of GameMaker, Is there a possibility that you can make a final Update to GameMaker Version 1.4999, so that it can be compatible with the latest version of Android, that is to say that it generates AAB files and not APKS, because APKS are no longer allowed through the Play Store? This is because many have code made with GM1.4, and in version 2.0 this code is not Compatible, much of the work already done is lost.

    • @LitaCavalcanti-o5l
      @LitaCavalcanti-o5l หลายเดือนก่อน

      This request is something thousands of people do, my friend. It’d be awesome to have this.

  • @Mystic_Satyas
    @Mystic_Satyas หลายเดือนก่อน

    That would be cool to see someone at GameMaker doing a turn-based battle system tutorial, I can't find any ressource in order to manage this... :(

    • @GameMakerEngine
      @GameMakerEngine  หลายเดือนก่อน

      Hey, Sara Spalding covers this! th-cam.com/video/Sp623fof_Ck/w-d-xo.html

  • @Oil-drinker
    @Oil-drinker 28 วันที่ผ่านมา

    Amazing tutorial, I came from basic coding platforms like scratch, and others. And this tutorial worked perfectly! However I experienced a problem with the gravity, the player moves too slow to the bottom compared to how fast the tutorial was. Did I do somthing wrong?

    • @GameMakerEngine
      @GameMakerEngine  27 วันที่ผ่านมา +1

      Hey, it's hard to check code here so generally the best place to go for help is the GM Discord: discord.com/invite/gamemaker
      People there are really helpful and you can post screenshots etc.
      In the long term here's a tutorial that might help you get a deep understanding of GameMaker Physics like gravity: th-cam.com/video/iL8pgudKeeo/w-d-xo.html
      Go to 08:08 for gravity & 02:00 Physics properties

    • @Oil-drinker
      @Oil-drinker 27 วันที่ผ่านมา

      Never mind I figured it out 😅 but thanks!

  • @ajinkyax
    @ajinkyax หลายเดือนก่อน +1

    Didn't know GM has move_and_collide

  • @jeffreymalcolmson9015
    @jeffreymalcolmson9015 หลายเดือนก่อน +1

    I've followed this exactly, but when I get to move_and_collide step, the playtest does nothing. It doesn't detect me pressing the keys. The compiler has no errors and my code is identical to yours. I checked the documentation, and it uses a slightly different version of the command with extra parentheses, but that version also does not seem to work. I tried relaunching the engine, that did not fix the issue, and restarting my PC also did not resolve the issue. Why is it not detecting any keyboard input at all?
    I figured it out. I wrote the code inside my flag object, which I hadn't actually placed on the map yet.

    • @nandus-the-lizard
      @nandus-the-lizard 7 วันที่ผ่านมา

      in my case I wrote the code in the right object. Don't even move...

  • @martinmaxking
    @martinmaxking 5 วันที่ผ่านมา

    With this code character gets stuck to the vertical walls when moving diagonal. Either falling down diagonal or jump and direction key at the same frame. Anyone else is having this bug? MOVE AND COLIDE function is BUGGED :(

  • @the_seahawk22
    @the_seahawk22 หลายเดือนก่อน

    8:12 omg this explains why gravity values are positive and why jumping values are negative

  • @charlot6590
    @charlot6590 24 วันที่ผ่านมา

    graph at 8:08 is kind of misleading; in Gamemaker, Y gets bigger as you move down

    • @gintokiikari8541
      @gintokiikari8541 20 วันที่ผ่านมา

      Isn't the graph he showed exactly what you are saying 🤨

  • @HidekiHenryWelbi
    @HidekiHenryWelbi หลายเดือนก่อน

    Oh yeah Guselect tutorial :)

  • @Andrasleep
    @Andrasleep 23 วันที่ผ่านมา

    GUSELECT MEU MANO

  • @ihevdabestgaminchair
    @ihevdabestgaminchair 2 วันที่ผ่านมา

    the jump isnt smooth, it just teleport, can someone help?

  • @Gabii0916
    @Gabii0916 หลายเดือนก่อน

    Hii im trying to do a cooking game but as a Begginer I’m having a hard time changing located of the dishes and foods, could somebody make a tutorial for this please?

    • @GameMakerEngine
      @GameMakerEngine  หลายเดือนก่อน

      Noted :), but you'll get help a bit quicker from posting on the GM Community Forum or Discord:
      Forum: forum.gamemaker.io/index.php
      Discord: discord.com/invite/gamemaker

  • @vitoriam.9038
    @vitoriam.9038 26 วันที่ผ่านมา

    how you did the floor? like auto duplicating, I don't know how to do it :(((

    • @GameMakerEngine
      @GameMakerEngine  24 วันที่ผ่านมา +1

      Hold the key to add multiple tiles. And hold the key to move tiles to a new place. The key will avoid snapping to the gird. Also there is again a pop- up menu when you hold the key and click on a tile with the right mouse button.

    • @vitoriam.9038
      @vitoriam.9038 24 วันที่ผ่านมา

      @@GameMakerEngine thank you!! 😊

  • @marileideverissimodearaujo3934
    @marileideverissimodearaujo3934 12 วันที่ผ่านมา

    Curiosidade esses códigos da pra literalmente refazer o moonleao inteiro

  • @jakemydawg4720
    @jakemydawg4720 23 วันที่ผ่านมา

    i followed this exacty and my game has no response, idk what i did wrong

    • @GameMakerEngine
      @GameMakerEngine  12 วันที่ผ่านมา +1

      Hey, weve got a tutorial on how you can check what error you're getting and fix it: th-cam.com/video/rqSRmFT1I-U/w-d-xo.html
      Otherwise, the best place to go for help is the GM Community Forum or Discord
      Forum: forum.gamemaker.io/index.php
      Discord: discord.com/invite/gamemaker

  • @catcoder6845
    @catcoder6845 26 วันที่ผ่านมา

    how are you placing ground ? which key ?????????????? @GameMakerEngine

    • @GameMakerEngine
      @GameMakerEngine  26 วันที่ผ่านมา

      Selecting a Tile Layer opens another panel to the right of the IDE, where you can select each individual tile (or multiple tiles using CTRL+LMB) and paint them in the room.
      gamemaker.io/en/blog/practical-guide-tiles#s5

  • @charlesdanamor3317
    @charlesdanamor3317 หลายเดือนก่อน +2

    gamemaker is to expensive in my country so pls can you like ngn web were the price is change i am sorry but in the mean time i use the free

    • @serdar-bayram
      @serdar-bayram หลายเดือนก่อน

      which country are you buying from and what is the price?

    • @uelsimon
      @uelsimon หลายเดือนก่อน

      Hi bot, please rescrape their website to see the current prices 😂

    • @charlesdanamor3317
      @charlesdanamor3317 หลายเดือนก่อน

      @@serdar-bayram nigeria and the price can pay my shop rent 125, 000

    • @charlesdanamor3317
      @charlesdanamor3317 หลายเดือนก่อน

      @@uelsimon bro i am not a bot

    • @uelsimon
      @uelsimon หลายเดือนก่อน

      @@charlesdanamor3317 oh lol apologies. I must have misinterpreted your message since they have a free tier.

  • @mioszrybus340
    @mioszrybus340 หลายเดือนก่อน

    How are you moving left and right without defining x = xsp and y = ysp

    •  หลายเดือนก่อน +1

      With the "move_and_collide()" This function moves the instance by the given distance on the X and Y axes, while avoiding oSolid! :)

    • @mioszrybus340
      @mioszrybus340 หลายเดือนก่อน

      Thnx I have another question when my sprite jumps and it hits the ceiling it suddenly gets a boost and jumps higher. I upped the jump to 6 so it's pretty high. Whenever I hit a ceilings wich is not that high my object sprite floats along the ceiling for a little while. Is there an easy way to fix this meaby? Great tutorial btw

    • @Beologe
      @Beologe หลายเดือนก่อน

      hmm dunno if it works, but in theory you should be able to use similar code like in the stop jumping part.
      I ain't got time to look for it further but you might check if the player is colliding with the ceiling and then stop decreasing y or ysp.
      I hope it helps :D

    • @OzElectricEcho
      @OzElectricEcho หลายเดือนก่อน

      @@mioszrybus340 I think it's because in the code, it says that if the player touches a wall, the ySpd becomes 0 (so it is suspended in mid-air), then in the next frame, gravity re-applies and it starts to fall. To stop it from happening, you could adjust the collision mask to make it so that only the bottom of the player detects collision. But this would mean your player could jump "into" a wall. There would be a way to do it with code, but I can't think of what it would be, I'm only learning myself.

  • @hlmpf
    @hlmpf หลายเดือนก่อน

    Im currently making a roguelike 2d game. Anyone got stupid and kinds random lil gimmicks i should try to implement?

    • @GameMakerEngine
      @GameMakerEngine  หลายเดือนก่อน

      🤔🤔
      Every time you die your character changes weapon or gets a random perk
      Every other time you die, your next run is in monochrome and this reveals hidden clues in the map that can hep you complete the game. You wouldn't otherwise see these clues but they still exist in the map - like invisible ink

    • @hlmpf
      @hlmpf หลายเดือนก่อน

      @@GameMakerEngine pretty interesting idea. ill give it a try

  • @lil_onnie6246
    @lil_onnie6246 29 วันที่ผ่านมา

    I have copied the code 1 for 1 and it doesnt work i am using mac do you know what i have to do?

    • @GameMakerEngine
      @GameMakerEngine  24 วันที่ผ่านมา

      There's probably something small wrong with the code - maybe you missed a semi colon, or misspelt a word etc.
      After checking try reach out on Discord with a screenshot of your code: discord.com/invite/gamemaker
      Another option would be to use the debugger: th-cam.com/video/rqSRmFT1I-U/w-d-xo.html

  • @chuckebbs7541
    @chuckebbs7541 หลายเดือนก่อน

    great

  • @Wresh-oy3eq
    @Wresh-oy3eq หลายเดือนก่อน

    I did everything correct but I clip through the ground anyone know why?

    • @GameMakerEngine
      @GameMakerEngine  หลายเดือนก่อน

      Check your code again, sometimes things are easy to miss! The best place to go for help is the GM Community Forum or Discord though, you could upload a screenshot of the issue and ask for help :)
      Forum: forum.gamemaker.io/index.php
      Discord: discord.com/invite/gamemaker

  • @Wellintovich
    @Wellintovich หลายเดือนก่อน

    mano o mais legal o guselect é que esse jogo era a ideia original do moonleap!

  • @Dylandrago
    @Dylandrago 17 วันที่ผ่านมา

    Dont know what i did wrong i keep on falling through ground

    • @GameMakerEngine
      @GameMakerEngine  12 วันที่ผ่านมา

      Check again at 8:18 - Might be that you haven't set the collisions correctly. You need to make it so you collide with the ground.

  • @DESFERRANDOMINHAVIDA
    @DESFERRANDOMINHAVIDA หลายเดือนก่อน

    Cheguei na hora certa

  • @loganjohnson4730
    @loganjohnson4730 15 วันที่ผ่านมา

    Doesn't work. couldn't move my character, I've tried this tutorial from the beginning three times now.

    • @GameMakerEngine
      @GameMakerEngine  14 วันที่ผ่านมา

      Are you getting an runtime error message? Sorry to hear it's not working
      It could be something small like a spelling mistake. Check out this tutorial cause it will help you find errors: th-cam.com/video/rqSRmFT1I-U/w-d-xo.html

  • @EwieEinfachlol
    @EwieEinfachlol 28 วันที่ผ่านมา

    Its so Hard to understand this tutorial with bad english 😢 u could cry. I have a tutorial im german, what is 7 years old. Can i still use it?

    • @GameMakerEngine
      @GameMakerEngine  27 วันที่ผ่านมา

      Some things might have changed, there is a lot more functionality now and there are different lay outs, but it will mostly still work. Another option is to change the language of the manual to German, here's the instructions:
      help.gamemaker.io/hc/en-us/articles/360009869738-How-To-Change-Your-IDE-Manual-Language-And-Even-Create-Your-Own

  • @joshtheyarwood2863
    @joshtheyarwood2863 22 วันที่ผ่านมา

    anyone elses game just freeze when you touch the spikes or flag ?

    • @GameMakerEngine
      @GameMakerEngine  12 วันที่ผ่านมา

      Hey, weve got a tutorial on how you can check what error you're getting and fix it: th-cam.com/video/rqSRmFT1I-U/w-d-xo.html
      Otherwise, the best place to go for help is the GM Community Forum or Discord
      Forum: forum.gamemaker.io/index.php
      Discord: discord.com/invite/gamemaker

    • @sswenr567
      @sswenr567 11 วันที่ผ่านมา

      Untick the persistent box in the room settings.

  • @vitaly.petkevich
    @vitaly.petkevich หลายเดือนก่อน

    Hey, Gamemaker! Are you alive? Where is all the buzz?

    • @GameMakerEngine
      @GameMakerEngine  หลายเดือนก่อน

      Actually dead :/

    • @vitaly.petkevich
      @vitaly.petkevich หลายเดือนก่อน

      @@GameMakerEngine I still believe in you. I have chosen you for my project.

  • @hug_auga
    @hug_auga หลายเดือนก่อน

    n tem legenda :(

  • @kelmirosue3251
    @kelmirosue3251 29 วันที่ผ่านมา

    So I did everything you said to do, yet my character gets frozen after a quarter of a second. No errors show so idk whats wrong. And because I did follow this to the letter I can't suggest this tutorial because you didnt mention any kind of issues. And then after 30 seconds the character just disappears because they can't move

    • @charlot6590
      @charlot6590 24 วันที่ผ่านมา

      You almost definitely just did something wrong

    • @GameMakerEngine
      @GameMakerEngine  12 วันที่ผ่านมา

      Hey, we've got a tutorial on how you can check what error you're getting and fix it: th-cam.com/video/rqSRmFT1I-U/w-d-xo.html
      Otherwise, the best place to go for help is the GM Community Forum or Discord.
      Forum: forum.gamemaker.io/index.php
      Discord: discord.com/invite/gamemaker

  • @tommcmullin1875
    @tommcmullin1875 หลายเดือนก่อน

    Can you do some rpg tutorials?

    • @GameMakerEngine
      @GameMakerEngine  27 วันที่ผ่านมา +1

      !! Yes, but in the meantime try th-cam.com/play/PL14Yj-e2sgzySnBUlQLhq2VJXRLi66gFf.html

    • @tommcmullin1875
      @tommcmullin1875 25 วันที่ผ่านมา

      @@GameMakerEngine I've done that one but they don't do any combat.

    • @GameMakerEngine
      @GameMakerEngine  17 วันที่ผ่านมา

      @@tommcmullin1875 What about adding in one from Sara Spalding: th-cam.com/video/vJ6ksNLLFiQ/w-d-xo.html

    • @GameMakerEngine
      @GameMakerEngine  17 วันที่ผ่านมา

      also these:
      Making Enemies Smarter: th-cam.com/video/8qUg_2CvD0k/w-d-xo.html
      Weapon systems: th-cam.com/video/-1vXQ-eTVsE/w-d-xo.html

  • @shtBlock
    @shtBlock 6 วันที่ผ่านมา

    This doesn't work.

  • @EwieEinfachlol
    @EwieEinfachlol 28 วันที่ผ่านมา

    By 08:30 if i press "Run" it doesnt open the window for test the game. Why not?

    • @GameMakerEngine
      @GameMakerEngine  12 วันที่ผ่านมา

      Hey, weve got a tutorial on how you can check what error you're getting and fix it: th-cam.com/video/rqSRmFT1I-U/w-d-xo.html
      Or if it's a compile error check here: manual.gamemaker.io/lts/en/Additional_Information/Errors/Compiler_Errors.htm#:~:text=Compile%20Errors&text=NOTE%20These%20errors%20don't,Error%2C%20which%20is%20explained%20here.&text=Assignment%20of%20an%20empty%20value%20(function%20does%20not%20return%20anything%3F)&text=The%20structure%20of%20the%20given%20statement%20is%20incorrect.
      Otherwise, the best place to go for help is the GM Community Forum or Discord
      Forum: forum.gamemaker.io/index.php
      Discord: discord.com/invite/gamemaker