Jumping Problem

Non-platform specific questions.

Jumping Problem

Postby LucasA33 » Thu Apr 16, 2009 12:25 am

How do you make it so you can only jump twice.
LucasA33
 
Posts: 79
Joined: Mon Jul 21, 2008 12:17 am
Location: Science, Technology, Computers, Programming, and Robotics.
Score: 1 Give a positive score

Re: Jumping Problem

Postby jimmynewguy » Thu Apr 16, 2009 12:37 am

make a variable jump
collision on top side of ground>jump = 2;
key down on w/e
if(jump >= 1)
{
jump --;
yvelocity -= 10;//or so
}
there is plenty of stuff on jumping search before you ask next time please and thank you, we don't want to make mak lose space on the forum :)
Working on a probably too ambitious project! Wild-west-adventure-RPG-shooter-thing.
User avatar
jimmynewguy
 
Posts: 1137
Joined: Sat Mar 31, 2007 6:27 pm
Score: 89 Give a positive score

Re: Jumping Problem

Postby LucasA33 » Fri Apr 17, 2009 12:36 am

jimmynewguy wrote:make a variable jump
collision on top side of ground>jump = 2;
key down on w/e
if(jump >= 1)
{
jump --;
yvelocity -= 10;//or so
}
there is plenty of stuff on jumping search before you ask next time please and thank you, we don't want to make mak lose space on the forum :)

Really makes no sence.
LucasA33
 
Posts: 79
Joined: Mon Jul 21, 2008 12:17 am
Location: Science, Technology, Computers, Programming, and Robotics.
Score: 1 Give a positive score

Re: Jumping Problem

Postby DST » Fri Apr 17, 2009 2:52 am

LucasA33 wrote:
jimmynewguy wrote:there is plenty of stuff on jumping search

Really makes no sence.



That part does make sense.
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score

Re: Jumping Problem

Postby Kalladdolf » Sat Apr 18, 2009 12:27 pm

See this demo.
See this demo.
See this demo.

Now it makes even more sense.
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score

Re: Jumping Problem

Postby LucasA33 » Sun Apr 19, 2009 9:32 pm

I found out... I actually... Didn;t need the help thanks to camper's jumping tut. But. Thanks for the feed back!
LucasA33
 
Posts: 79
Joined: Mon Jul 21, 2008 12:17 am
Location: Science, Technology, Computers, Programming, and Robotics.
Score: 1 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron