Building a Platform Game

  Right click and save this picture as green ball.

  Right click this picture and save it as block.

  Right click and save the picture as sky.

  Right click and save the picture as platform.

Create the two sprites.

Create two objects.

  This will become object platform.

  This will become object person.

Program object person for moving.

Add an event for keyboard left.
   Add the action .
   Set the (X,Y) like this. 

   Add the action   Set the X,Y to this. 
   Click the relative box.

Add an event for keyboard right.

   Add the action .
   Set the (X,Y) like this. 
   Add the action   Set the X,Y to this 
   Click the relative box.

 

Make Object Person Jump

Add an even for keyboard up.
   Add the action
   Set the (X,Y) like this. 
   Add the action and set the speed at -10. 

Setting up gravity in the game.

Add a step event. 

   Bring this action over. 
   Set the Gravity. 
      When you set the gravity you have to use these numbers. 
   Bring the Else action over. 
   Bring Set the Gravity over again. 
      This time use these numbers. 
   Drag a variable over. 
      Use the words and numbers in the variable box. 
   Bring a Vertical speed over. 
      Set the speed as 12. 

If you have added everything it should look like this:

 

Adding the platform collision.

Add a collision event with the platform. 
   Add the action
      Type in the values you see in this picture. 
   Drag over the set vertical speed button. 

Design a Room

   Create a room.

   Place objects in your room to jump to and from.

   Here is what I created.