Jumps and Jumps
Forum » The Community / Game Maker Help » Jumps and Jumps
started by: Felix CulpaFelix Culpa
on: 1258498005|%e %b %Y, %H:%M %Z|agohover
number of posts: 6
rss icon RSS: new posts
summary:
I need help with the jumping.
Jumps and Jumps
Felix CulpaFelix Culpa 1258498005|%e %b %Y, %H:%M %Z|agohover

I am creating a Platformer and need some help with the jumping. For all the different codes I try, I come up with nothing. Can anyone help?

unfold Jumps and Jumps by Felix CulpaFelix Culpa, 1258498005|%e %b %Y, %H:%M %Z|agohover
Re: Jumps and Jumps
joedavisjoedavis 1258517812|%e %b %Y, %H:%M %Z|agohover

Have you checked this out? platform-game

unfold Re: Jumps and Jumps by joedavisjoedavis, 1258517812|%e %b %Y, %H:%M %Z|agohover
Re: Jumps and Jumps
louiskeplerlouiskepler 1258586970|%e %b %Y, %H:%M %Z|agohover

Yeah and if you want a double jump effect you can use a variable to an effect of:

In the create event:
jumps = however many jumps you want to be able to do
jumpable = jumps

In the jump event:

if jumpable < jumps +1
-do the code for jump-
jumpable -=1

In the collision with ground event:

jumpable = jumps

I used this in a couple of games each with a different means of jumping but in all of them I was able to limit the number of jumps until the player hit the floor.
Be wary, though you have to make the ground object different from say a wall or ceiling. other wise you will have to find out which side of it you are hitting and that can take awhile, I find.

unfold Re: Jumps and Jumps by louiskeplerlouiskepler, 1258586970|%e %b %Y, %H:%M %Z|agohover
Re: Jumps and Jumps
DaedricLordDaedricLord 1258703666|%e %b %Y, %H:%M %Z|agohover

What exactly are you trying to accomplish? Just a simple jump? double jumps? Are you having problems making the character jump or is it having them come down or is it stopping when the character hits the ground?

unfold Re: Jumps and Jumps by DaedricLordDaedricLord, 1258703666|%e %b %Y, %H:%M %Z|agohover
Re: Jumps and Jumps
Felix CulpaFelix Culpa 1258930558|%e %b %Y, %H:%M %Z|agohover

I'm trying to get a single jump, but the game isn't letting me…

I have it to when you press up, it sets the vertical speed to -3, which worked before, but now, there is no limit to the jumps I can do, which I am trying to limit to 1

last edited on 1258931293|%e %b %Y, %H:%M %Z|agohover by Felix Culpa + show more
unfold Re: Jumps and Jumps by Felix CulpaFelix Culpa, 1258930558|%e %b %Y, %H:%M %Z|agohover
Re: Jumps and Jumps
joedavisjoedavis 1259021224|%e %b %Y, %H:%M %Z|agohover

Have you read the yoyo game tutorial for platform games? This is covered quite well in the tutorial and there is of course an example of how to jump in the first section of the tutorial.

last edited on 1259021285|%e %b %Y, %H:%M %Z|agohover by joedavis + show more
unfold Re: Jumps and Jumps by joedavisjoedavis, 1259021224|%e %b %Y, %H:%M %Z|agohover
new post