Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Making a Platformer in GameMaker Tutorial

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
52,255
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Aug 29, 2008

1. Open Gamemaker
2. Right click the sprite folder and create new sprite. Load a sprite for your player , and for a wall.

3. Right click the objects folder and create new object. Name it Wall and make it solid (by clicking the "solid" checkbox). Import the wall sprite you loaded in step2. Press ok.

4. Right click the objects folder and create new object. Name it Player and make it solid. Import the player sprite.

5. (We are still in the Player object)
Click "Add Event" and click other, room start. Now drag the gravity event to the right and drop it in the actions meny.
Direction 270
Gravity 1
Add another event, click Collision and click the wall sprite. Now drag and drop the Speed vertical, Press ok.
Add new event, click keyboard press-up and drag the speed vertical to actions meny.
vert. speed -10
Now your character can do everything (even wall jumping :D) except for move right and left. Just add some keypress events to move and key release events to stop.

6. When you are done with the player right click the room folder and create room. Click the backgrounds tab and click the grey box to change the color to blue. Click Objects tap and click somewhere on the map to add an object and right click to delete.
Watch the video on how to change object player/wall.

8. Congratulations! You just made a working game.

NOTE: To prevent the player from jumping in the air, lurk through the comments. I'm sure atleast one of them has the answer to this. It was years ago i used gamemaker, so blame me for not knowing.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 26 dislikes

Link to this comment:

Share to:
see all

All Comments (286)

Sign In or Sign Up now to post a comment!
  • You use(d) Game Maker? And have Robot Arena 2? And make good Amensia mods/custom stories? Instasub.

  • @harperj106 i already figured it out but thanks for the replie :p i also fixed wall sticking

  • i cant get it to space properly so i will put a # where the line ends

    set=false# if place_free(x,y+1){# set=true# } #else set=false;# if keyboard_check_pressed(vk_up)&­­& set=false{# vspeed=-10;# set=true #} #if keyboard_check_released(vk_up)­#{ #vspeed=0;# }# if place_free(x,y+1){# set=true #} #else set=false;#

  • @saska123321 ok, this kinda annoyed me so here goes. create a new script. paste this into it set=false if place_free(x,y+1){ set=true } else set=false; if keyboard_check_pressed(vk_up)&­& set=false{ vspeed=-10;  set=true } if keyboard_check_released(vk_up)­{ vspeed=0; } if place_free(x,y+1){ set=true } else set=false; now thats done go to your player object, change the press up and release up to run script and make them run this may be abit buggy
  • um it works but i dont want people to be able to fly becuase you can tap up multiple times and they will just keep going up is there a way to fix that

  • @DatenshiZ your in collage? i'm only 13 and i can do most of this stuff

  • thumb me if studying computer science at UMU brought you here!

    niblets

  • i use 8.1

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more