i need help on something, please answer fast =/

Game Editor comments and discussion.

i need help on something, please answer fast =/

Postby SnowFear » Sat Feb 17, 2007 6:41 am

i started making a game and i need to make an event,
when i press to one of the sides (right, left, up, down)
it will start with velocity of 20 and grow to 10 velocity,
can someone help me please?
Meow...
User avatar
SnowFear
 
Posts: 54
Joined: Thu Feb 15, 2007 4:29 pm
Score: 3 Give a positive score

bleh...

Postby SnowFear » Sat Feb 17, 2007 4:49 pm

bleh... =.=
am i trying too complicated things?
Meow...
User avatar
SnowFear
 
Posts: 54
Joined: Thu Feb 15, 2007 4:29 pm
Score: 3 Give a positive score

Postby makslane » Sat Feb 17, 2007 9:30 pm

In you first event put:

Code: Select all
xvelocity = 20;


In a Draw Actor event:

Code: Select all
if(xvelocity > 10) xvelocity -= 1;
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

omg...

Postby SnowFear » Sun Feb 18, 2007 5:47 pm

oh my... I'm more stupid than i can imagine...
how didn't i thought of that? -.-'

sorry to bother you makslane
Meow...
User avatar
SnowFear
 
Posts: 54
Joined: Thu Feb 15, 2007 4:29 pm
Score: 3 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron