Search

Compare Yourself

What version of GameMaker are you using?

Loading ... Loading ...

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)


21 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!

  • MsTex97

    Did he work woth GM8?

  • MsTex97

    scuse, with game maker 8 PRO?

  • it’s realy fun but also boaring

  • coby

    thx that was soooooooooo helpful

  • Prof.Firgonistan

    this is helpfull with me this is amazing video :D

  • IndonesianGamerzz

    Thx For Video But Im Sory Im Newbie So i no can make this video :’(

  • rayman

    it doesn’t work when i try to put the gravity higher

  • [...] 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 ) GameMaker Platform Game (Part 1) | GameMaker Video Tutorial [...]

  • me

    won’t work :( i did it the same as video and this is the result – fall good
    wont jump in mid air good
    hits block good
    can’t move left or right on block or jump bad (however it is trying as my spr changes from player_Right to player_left and vise versa.

    if you can help thanx

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>