Gravity for actor

Non-platform specific questions.

Gravity for actor

Postby Troodon » Wed Jan 18, 2006 4:32 pm

Can I make gravity to an actor. I don't mean gravity to x or y axels. I mean gravity to another actor. I hope somebody understand. ( :wink: I don't speak very well english.)
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby Game A Gogo » Wed Jan 18, 2006 8:33 pm

yeah, whit the yvelocity and xvelocity var in the script editor.
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby Troodon » Thu Jan 19, 2006 2:58 pm

I tried. How?
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby Joshua Worth » Thu Jan 19, 2006 10:49 pm

Can u give an example of what you are doing?
Stay sweet
User avatar
Joshua Worth
 
Posts: 515
Joined: Tue Jul 19, 2005 12:00 am
Location: Stralia
Score: 5 Give a positive score

Postby Troodon » Fri Jan 20, 2006 1:49 pm

This is my actor : :x
This is my "gravity actor": :idea:

When the game begins, :x "falls" towards :idea: .

When :idea: moves, :x still falls towards :idea:
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby Troodon » Fri Jan 20, 2006 1:50 pm

...I can do it also with <move to> event. :oops:
Sorry
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Postby duracel92 » Thu Feb 02, 2006 1:10 pm

i suppose you could do it by the buttons you press... IE

(events>keydown>scripteditor>x = x + 5;)
you can change the the x with y (axis) 5 with any other integer (speed) and + can be changed to -, you probably have to do it on both actors..
duracel92
 
Posts: 132
Joined: Sat Jan 21, 2006 10:45 pm
Location: UK
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest