The Daily Click ::. Forums ::. Klik Coding Help ::. I need a GOOD way to get a double jump
 

Post Reply  Post Oekaki 
 

Posted By Message

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  374

VIP MemberCardboard BoxThe Cake is a Lie
11th December, 2008 at 00:59:35 -

I've searched some articles and alot of them are no help at all. WHAT is a good way for a simple and clean double jump?

 
An old and washed up once-kid

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4075

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
11th December, 2008 at 01:10:57 -

Use an alterable value to count the number of jumps. When the player is on a platform, reset the value.

 
-

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
11th December, 2008 at 01:24:17 -

Seems pretty silly imo, to use an alterable value for double jump, if you're only going to need to track 2 values. On and off. I'd recommend flags.

 
http://www.facebook.com/truediamondgame

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4075

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
11th December, 2008 at 01:35:54 -

but this way, he can make it triple jump if he wants

 
-

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
11th December, 2008 at 02:15:24 -

could you explain what part you're finding difficult?

 
.

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  374

VIP MemberCardboard BoxThe Cake is a Lie
11th December, 2008 at 02:28:36 -

Well, What part I can't seem to pick up is: How do you make the second jump? The first jump is bliss.

Ricky:I might use values cause of the triple jump. I've only seen it happen once in Heli attack 3. S'Good game man, s'good game.

Edited by W3R3W00F

 
An old and washed up once-kid

chrilley

Insane Beaver

Registered
  05/01/2002
Points
  704

Game of the Week WinnerVIP Member360 Owner
12th December, 2008 at 06:35:05 -

Are you using a custom made movement?

 
Image

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  374

VIP MemberCardboard BoxThe Cake is a Lie
12th December, 2008 at 16:31:19 -


No, just the regular Platform movement exstension.

 
An old and washed up once-kid

traugott.simon



Registered
  23/08/2008
Points
  91
13th December, 2008 at 11:29:04 -

Well, just make sure a value is at 0.

val. = 0
+ pressing SPACE
+ jump-animation played (mayby falling anim. shouldnt be played)
----> jump again
----> set val. to 1


if you want triple jump:
val. = 1
+ pressing SPACE
+ jump-animation played (mayby falling anim. shouldnt be played)
----> jump again
----> set val. to 2

touching the floor
----> set val. to 0

Thats it!




 
n/a

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  374

VIP MemberCardboard BoxThe Cake is a Lie
13th December, 2008 at 18:03:43 -

Jump again? I haven't heard of that action before. Where is it?

 
An old and washed up once-kid

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
13th December, 2008 at 18:34:48 -


Originally Posted by Ricky
but this way, he can make it triple jump if he wants



You're right.

 
http://www.facebook.com/truediamondgame

-Nick-

Possibly Insane

Registered
  24/11/2002
Points
  2468

VIP Member
13th December, 2008 at 18:36:45 -

Just use the same technique you use to jump in the first place, but activate it when the player is in mid air and presses jump for a second time.

 
Project: Roller Coaster is on it's way!
http://www.projectrollercoaster.co.uk/
http://www.craftsncreatures.com

W3R3W00F

Drum and Bass Fueled Psycho

Registered
  08/11/2008
Points
  374

VIP MemberCardboard BoxThe Cake is a Lie
13th December, 2008 at 20:06:19 -

Call me hard-to-teach, but I still don't fully understand the concept. Could you give an mfa example?

 
An old and washed up once-kid

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
13th December, 2008 at 20:34:09 -

http://arcanetale.sitesled.com/DoubleJump.mfa
Fully commented, enjoy.

 
http://www.facebook.com/truediamondgame

chrilley

Insane Beaver

Registered
  05/01/2002
Points
  704

Game of the Week WinnerVIP Member360 Owner
14th December, 2008 at 04:49:41 -

And here's a tutorial file for a full custom movement by DavidN (it also include double jump):
http://www.clickteam.com/eng/resources/fastloop_plattutorial.zip

 
Image

-J-



Registered
  05/10/2008
Points
  228

VIP MemberThe Cake is a Lie
14th December, 2008 at 05:25:23 -

I use David's custom platform movement a lot. I think it's easier to modify during runtime than the PMO, and you can add/take away different features like double jumps with ease.

 
n/a ...
   

Post Reply



 



Advertisement

Worth A Click