Brothersoft.comWindows|Mac|Mobile|Games

|Message

Solve software problem quickly Share experience to help others Improve the ability of solving problem
How to Make Objects Jump in "GameMaker 8"?

10/27/2011 09:39 by SallyPainting

First answer posted by JavyTechGuy at 10/27/2011 09:39
Add Your Answer
10~1000 characters in length CAPTCHA:
9 Answers
  • JavyTechGuy
    1. Add the step event to the object you want to make jump.

    2. Add the Check Empty action located in the Control tab to the step event. Set Y to 1 and check the relative box.

    3. Add the Set Gravity action from the move tab to the step function. Set the direction to 270 and the gravity to .5. This will apply gravity whenever the object is not on top of a solid surface.

    4. Add the Key Press Up event to your object.

    5. Add the Check empty action from the Control tab into your new event. Set Y to 1 and check the relative box.

    6. Add the Set the Vertical Speed action from the Control Tab to your event and set the speed as -10. This will make your character jump into the air as soon as the up key is pressed. The gravity will quickly bring the object back down to the ground completing the jump.

  • Was this answer helpful? 00 · 10/27/2011 09:39
  • Anonymous user
  • my character keeps falling through the floor after i start the game, even before i jump. what should i do?
  • Was this answer helpful? 00 · 01/23/2012 18:20
  • Anonymous user
  • I can double jump! how do i make it so that i can only jump once?

  • Was this answer helpful? 00 · 09/19/2012 05:33
  • Anonymous user
  • i also have that problem with my sprite falling though the floor is there anyone who know what i should do
  • Was this answer helpful? 00 · 08/04/2014 13:27
  • Anonymous user
  • fuck u kill urself
  • Was this answer helpful? 00 · 04/16/2016 14:12
  • Anonymous user
  • answer is b
  • Was this answer helpful? 00 · 06/08/2016 20:58
  • Anonymous user
  • First, make an object that can be the player.

    Add the 'Step' event to it and execute the following code:

    gravity_direction=270

    if place_free(x,y+1)

    {gravity=.5}

    else

    {gravity=0}

    if not place_free(x,y+1)

    {vspeed=-8}

  • Was this answer helpful? 00 · 10/04/2016 21:29
  • Anonymous user
  • llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
  • Was this answer helpful? 00 · 05/10/2017 01:33
  • Anonymous user
  • my player keeps jumping continuosly
  • Was this answer helpful? 00 · 07/05/2017 10:42
Add Your Answer
10~1000 characters in length CAPTCHA:

0 people are following

Ask a question now
Write a title for your question

TV on PC Pro

Simple software that allows you to watch satellite TV channels on your computer
Latest version:2.3
License:Demo
OS:Windows 2003/XP/2000/98/NT
Total downloads:78,283
Rank:5 in Hobbies
Download It

Share with friends

New features is coming

  • 1. Providing high-quality answers to be a verified Q&A expert
  • 2. Ask and answer questions to get Brothersoft credits

Added Successfully!

×

Are you sure to delete your answer?

NoYes

×

Are you sure to choose it as the best answer?

NoYes

×

Voted Successfully!

×

You can't vote for yourself

×

You can't choose your own answer

×