delete topic plz

Talk about making games.

delete topic plz

Postby stevenp » Sat Jan 05, 2008 2:18 pm

delete topic plz
Last edited by stevenp on Wed Feb 20, 2008 11:48 pm, edited 1 time in total.
User avatar
stevenp
 
Posts: 403
Joined: Sat Dec 22, 2007 12:49 pm
Location: canada, ontario
Score: 16 Give a positive score

Re: reduce moving speed question

Postby Bee-Ant » Sat Jan 05, 2008 2:28 pm

Use a timer
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: reduce moving speed question

Postby stevenp » Sat Jan 05, 2008 10:58 pm

i dont think that will work, pressing "A" moves him left at a velocity of 2, "when something happens" i want his "A' button to reduce his speed to a velocity of 1
User avatar
stevenp
 
Posts: 403
Joined: Sat Dec 22, 2007 12:49 pm
Location: canada, ontario
Score: 16 Give a positive score

Re: reduce moving speed question

Postby stevenp » Sat Jan 05, 2008 11:47 pm

ok soi got it working, i just changed directional velocity from -2 to -1 but this creates motion blur cuz its pushing my char when the event takes place
User avatar
stevenp
 
Posts: 403
Joined: Sat Dec 22, 2007 12:49 pm
Location: canada, ontario
Score: 16 Give a positive score

Re: reduce moving speed question

Postby DarkParadox » Sun Jan 06, 2008 12:16 am

easyest way:
Code: Select all
Directional_Velocity = Directional_Velocity - 1;
User avatar
DarkParadox
 
Posts: 457
Joined: Mon Jan 08, 2007 11:32 pm
Location: USA, Florida.
Score: 84 Give a positive score

Re: reduce moving speed question

Postby Bee-Ant » Sun Jan 06, 2008 7:18 am

WRONG CODE!!!diormeh!!!
It should...
Code: Select all
directional_velocity=directional_velocity-1;
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: reduce moving speed question

Postby DarkParadox » Tue Jan 08, 2008 10:40 pm

sorry :oops:
i thought there was capitals.
i wasn't using GE at the time.
User avatar
DarkParadox
 
Posts: 457
Joined: Mon Jan 08, 2007 11:32 pm
Location: USA, Florida.
Score: 84 Give a positive score

Re: reduce moving speed question

Postby Bee-Ant » Wed Jan 09, 2008 3:10 am

OK :wink:
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron