Search

Compare Yourself

Would you pay for GameMaker programming help with your game?

Loading ... Loading ...
Game Genres > Platform Games:

GameMaker Platform Game (Part 1)

In this GameMaker video tutorial you learn how to make a Platform game.

In Part 1 you learn how to make basic movement for the player, jumping, gravity and floor collision. This tutorial also explains how to use masking to correct unwanted collision artifacts.
(Download Video Code .GMK File)


(credit b1naryguy)


12 comments to GameMaker Platform Game (Part 1)

  • Michael S

    This helped loads!! Thanks

  • Kraig

    I agree, very helpful. I could never get the hang of programming a platformer before. Now, it’s that much easier.

  • Yotam

    Wow, thanks!

  • a ron

    cool but i need coding in scripts with gml i know some but not all could u make a video about that?
    thx a ron

  • Federico

    gaming now….
    thanks….

  • Th A

    Thanks thats rly usefull for my car adventure thingy XD

  • no entiendo un pito porque no ablo ingles JAJAJA XD XD XD XD XD

  • Rayn

    just thought you’d like to know, it’s 270 because that is the angle of degrees on to the x axis. so 270 is 270 degrees, pointing down. so 90 degrees would point up.

  • chelle

    Amazing job, would never have done this out without your help, thankyou very much

  • chelle

    When you finish this your character animation jitters sometimes when landing and it locks sometimes when you jump so where he does the wall collision part instead of putting set vertical speed up top; put it at the bottom and put an else statement before it.
    Below is what it should look like..

    Wall Collision//
    ——————————
    If vspeed is larger than 0
    Move to contact in direction
    Change sprite into Player – St
    Else
    Set the vertical speed
    ——————————

    Hope this helps somebody…

  • illusia

    chelle, i had the same problem, but solved it in a different way: in the step event i have only checked the vspeed, so it doesnt go over 12. if the sprite lands on the wall, the gravity and vspeed are nullified and only activated again, when the sprite jumps or moves sideways off the wall.

    thx for the tutorial, it helped me a lot. one tipp from me: the direction of the gravity is expressed in degrees.
    0° –> right.
    90° –> up.
    180° –> left.
    270° (or -90° too) –> down.

  • Boomarang Comet

    Wow, that helped A LOT! Thanks guys!

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>