(outdated - watch my new series!) Making a Platformer in GameMaker - Part 1

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ •

  • @InkedSpectre
    @InkedSpectre 10 місяців тому +2

    haven't touched GameMaker in years s this series is a nice refresher so thank you. For anyone struggling to understand the collision system it may be worth looking at the manual about the move_and_collide function that was added after this series was made. it simplifies things a lot.

  • @alexnelson1276
    @alexnelson1276 Рік тому +3

    By far the best tutorial on youtube. Easy to follow along, tells you exactly what everything does, and the code is clear and concise. 10/10!

  • @hotcoco2413
    @hotcoco2413 5 місяців тому +1

    at 4:32pm earlier today i settled on using game maker because i was trying to get back into game development, and your playlist popped up, i just finished the 1st video and i cant wait to do the rest soon, thank you for the tutorial :3
    .
    [ Sat 3:38am 7/6/2024 ]

  • @redpasha77
    @redpasha77 Рік тому +3

    Thank you for this tutorial. I am learning so much. So far halfway through the first video

  • @bluecritter
    @bluecritter Рік тому +1

    One of the best tutorials for Gamemaker here on YT - thanks :-))

  • @GloriousNPC
    @GloriousNPC 7 місяців тому

    love your tutorials!! easy to follow and i can always go back and reference the codes in this tutorial if i ever need it because of all the documentations thank you so much!! will make doing comments on my code a habit from now on!!

  • @_mattbailey
    @_mattbailey 8 місяців тому

    What a fantastic tutorial, really easy to follow, nice clean commented code, thanks so much for sharing it!

  • @Oozer_
    @Oozer_ 9 місяців тому

    best tutorial ever 10/10 highly reccomend for begginers

  • @MrPur3d
    @MrPur3d 10 місяців тому +1

    very well explained and easy to follow. thank yu!

  • @worditsbirdgaming7557
    @worditsbirdgaming7557 Рік тому +1

    this is really helping a lot im doing my first game jam

  • @kaioSilva_dev
    @kaioSilva_dev Рік тому +2

    Hello, I'm from Brazil and I really like your videos

  • @radtaiga
    @radtaiga Рік тому +1

    Great tutorial! I haven't finished the complete tutorial so forgive me if this gets mentioned in a future episode, but I personally wanted to use tilemaps for collision. Luckily the solution is fairly simple.
    declare these variables in your player create event
    layerID = layer_get_id("THE NAME OF YOUR TILEMAP LAYER IN THE ROOM");
    tiles = layer_tilemap_get_id(layerID);
    then, you just replace any oBlock or collision object in the code with the tiles variable. Seems to work fairly well from my testing.

    • @filipondrek868
      @filipondrek868 Рік тому

      Hello, I can see your comment is the latest one. I am absolute beginner would you kindly to write what is the best thing to do to start learning also practicing and more ? Thank you for your help.

  • @progamerf1039
    @progamerf1039 6 місяців тому

    im your 600th sub looking forward to watching your videos

  • @AndyCrowe
    @AndyCrowe Рік тому

    Yoooo! Thanks for this, I nearly gave up on GameMaker 😅 But you saved it for me. I did all the coding and got my kids to playtest. We made a precision platformer level with some tricky jumps based on the buffer settings. Also setup a google sheet so that they can draw a level for us to play.

  • @dallen2403
    @dallen2403 9 місяців тому

    I've been really struggling learning to use code and this one spot right here 6:47 is a great example of why it's been so difficult. It's not a dig at the quality of the tutorial, but just how one thing can be so so different. Setting up a var statement for the keyright-keyleft and then using it in the next line below. I know it seems like a minor thing, but unless that var statement is used over and over again, why do that? That's the kind of details that are just throwing me for a huge loop, the way so many set up variables and name everything so different just to achieve the same thing makes it really hard to learn and understand what's going on. I do really enjoy your videos and have learned a lot, but it's very fascinating to me and makes learning very difficult

  • @coxylaptop1869
    @coxylaptop1869 9 місяців тому

    I stepped away from GMS for a while after the moved to GMS2 (I thought, I'd give it chance to grow) And WoW it has !! Anyway just found your Ch and love the detailed explanation of everything.. I not watched the rest of this series - but wonder if you could do a video on ways to make,handle and explain how to generate big levels etc.. maybe have a save and load for levels that could be added to a game at a later date etc -DLC. I've never seen a GMS tutorial doing it... Many thanks !

  • @СергійАртюхов
    @СергійАртюхов 2 місяці тому

    Hello, I really liked the Lessons, it would be nice if you wrote additional lessons, Interested in throwing an apple, Climbing the stairs, squatting, clinging to the corner of the wall when jumping, springboard, doors and keys, Teleportation at the level of teleportation between levels, Connect a non-generous joystick from Ps5, backlighting from the torch, and at least five different types of enemies, enemies who chase the main character and attack, shoot, fly, kamikaze for more variety switching between cameras from far to closer in levels with bosses and several variants of bosses, Interested in the Uproof weapons and skills I'm writing 2D Platformer on Game Maker Studio 2 LTS game about knights, dragons, goblins and so on and very little good information, liked the lessons of 2023 where it is written without abbreviations,Thanks!

  • @markkane3739
    @markkane3739 9 місяців тому

    That was really well put together! Thank you so much!!

  • @solekickergaming5081
    @solekickergaming5081 Рік тому +1

    Object: MainPlayer Event: Step at line 21 : got '' expected '}' i added a curly at the end of the code as written by the end of (time stamp 13:00) and the character only moves slightly after the key is unpressed , so( press key = no movement )(unpress key = movement of one space )

  • @NoMouthNoScream
    @NoMouthNoScream Місяць тому

    I'm glad I found this gold

  • @Random-Legend
    @Random-Legend 5 місяців тому

    when it came to " vsp = clamp(vsp,-max_vsp,max_vsp); " it gave me an error and i couldnt find what it wants me to do

  • @gaborhegedus218
    @gaborhegedus218 8 місяців тому

    Instructions unclear:at line 14 (hsp += _dir*accel) i get a runtime error called: "variable not set before reading it". And i don't know how to fix it,also a nother problem at line 55 (var _onepixel = sign(vsp). It's a warning that "_onepixel" is already declared,how do i fix the 2 problems?

  • @Squash72
    @Squash72 Рік тому +2

    I'm at 12:20 and I ran the code, but the "max_hsp = 5;" code only applied when I stopped pressing the arrow keys. Can somebody suggest a fix?
    Edit: I was also coding the collision, and the game just crashed when I touch the walls. Again, can somebody suggest a fix?

    • @BlenduhGuy
      @BlenduhGuy Рік тому +1

      I fixed this, you have to put a ; at the end of 2 lines but yeah. Hope this helps

    • @Squash72
      @Squash72 Рік тому

      Thanks, bruvna.@@BlenduhGuy

    • @Kronk144
      @Kronk144 Рік тому

      @@BlenduhGuy I also have the crash problem, but where exactly do I need to put a ;?

    • @BlenduhGuy
      @BlenduhGuy Рік тому

      In front of the decal in create@@Kronk144

  • @MultiRanga12345
    @MultiRanga12345 7 місяців тому

    you need to hit 100k or more than

  • @domenicopentangelo4549
    @domenicopentangelo4549 5 місяців тому

    thank you for your tutorial!
    I followed your tutorial and my player goes half pixel in the floor, could you please help with this? thank you so much

    • @SkyLaRell
      @SkyLaRell  5 місяців тому +1

      Yes! I recommend waiting a few days when I upload the first video of my "updated" platformer tutorial (2024 version).

  • @myrlonmycelious8639
    @myrlonmycelious8639 7 місяців тому

    are you the notch of 2D?...not mad tbh..good job explaining✌🏻

  • @Jsemjusky
    @Jsemjusky Рік тому

    Thank you for this tutorial

  • @patrickramos-fs9gb
    @patrickramos-fs9gb Рік тому

    after applying the run and jump animation, my sprite getting stuck on a wall when moving to left where my sprite is really close to it
    nvm, fixed by changing origin values of sprite

    • @ozaiassanttos8211
      @ozaiassanttos8211 9 місяців тому

      how? como? im learning too. same issue.

    • @patrickramos-fs9gb
      @patrickramos-fs9gb 9 місяців тому

      @@ozaiassanttos8211 @4:05, the origin should be centered, you'll need to adjust manually based on your sprite

  • @gctest23
    @gctest23 11 місяців тому

    very good!

  • @taftafcool
    @taftafcool 7 місяців тому

    How Do You have 500 subs bro You Deserve More

    • @SkyLaRell
      @SkyLaRell  7 місяців тому

      Thanks! It is because I only upload once per year (in the summer) when I update my tutorials.

    • @taftafcool
      @taftafcool 7 місяців тому

      @@SkyLaRell You definitely should upload more! , because the way you explain stuff is literally out of he box.

  • @-Kakazu
    @-Kakazu Рік тому

    OMG THANK YOU!!!

  • @smokinjoe9415
    @smokinjoe9415 7 місяців тому +2

    nice to see some good tutorials that don't involve a sick person in a dress.

    • @SkyLaRell
      @SkyLaRell  7 місяців тому

      No idea what this means. I occasionally wear dresses!! They are comfortable, fashionable, and fun!

  • @reccerj
    @reccerj Рік тому

    I had an issue with:
    "if (hsp != 0) image_xscale = sigh(hsp);"
    Which (If not moving) will detect if hsp is negative or positive and give back a 1 or -1
    This made my sprite sqash down to half of it's x value
    I guessed this was since my sprite was 64 x 64 and not 32 x 32 and was right
    to fix this i wrote:
    "if (hsp != 0) {
    if (hsp > 0) image_xscale = 2;
    if (hsp < 0) image_xscale = -2;
    } else {
    image_xscale = image_xscale
    }"
    if anyone else had this issue let me know
    or if theres a better way to fix this
    or if this helped

  • @Beau-t7r
    @Beau-t7r 10 місяців тому

    If you would rather use A and D to walk and Space to jump here you go!
    key_left = keyboard_check(ord("A"));
    key_right = keyboard_check(ord("D"));
    key_jump = keyboard_check_pressed(vk_space);
    key_jump_held = keyboard_check(vk_space);

  • @Ewumd68CreatorGuy
    @Ewumd68CreatorGuy 11 місяців тому

    27:40

  • @dmoney14ful
    @dmoney14ful 7 місяців тому

    6:58

  • @EROSNERdesign
    @EROSNERdesign 11 місяців тому +1

    I find your comments insulting about people who want to use the VS as "losers". Some people just don't enjoy coding and don't have that type of mind., your art "sucks" but that doesn't stop you from using it... I find it sad that you feel "syntax coding " is a big boy skill. ... Thanks for the bs comments.

    • @SkyLaRell
      @SkyLaRell  11 місяців тому +1

      Yeah, I think you are right! Thanks for bringing this up. I'll definitely remember that all tools are just that: tools. Your comment is very kindly worded and clear.

    • @EROSNERdesign
      @EROSNERdesign 11 місяців тому

      Thanks. I certainly appreciate you taking the time to even make this course, I just mention this because I struggle to grasp the concepts of coding but really want to learn it. Again, thanks for making this course.

  • @zupremo9141
    @zupremo9141 Рік тому +2

    you look and sound a bit like Adam Sandler

  • @lettersviastars
    @lettersviastars 8 місяців тому

    ok so this appears
    ERROR in
    action number 1
    of Step Event0
    for object obj_roxy_idle:
    Collision test being called with handle that isn't a tilemap, instance or object 16777217
    at gml_Object_obj_roxy_idle_Step_0 (line 23) - if (place_meeting(x+hsp,y,spr_o_Block)) {
    ############################################################################################
    gml_Object_obj_roxy_idle_Step_0 (line 23)
    im at doing the player object thingy help