Page 1 of 1
Gravity for actor
![Post Post](styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Jan 18, 2006 4:32 pm
by Troodon
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 :wink:](http://game-editor.com/forum/images/smilies/icon_wink.gif)
I don't speak very well english.)
![Post Post](styles/prosilver/imageset/icon_post_target.gif)
Posted:
Wed Jan 18, 2006 8:33 pm
by Game A Gogo
yeah, whit the yvelocity and xvelocity var in the script editor.
![Post Post](styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Jan 19, 2006 2:58 pm
by Troodon
I tried. How?
![Post Post](styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Jan 19, 2006 10:49 pm
by Joshua Worth
Can u give an example of what you are doing?
![Post Post](styles/prosilver/imageset/icon_post_target.gif)
Posted:
Fri Jan 20, 2006 1:49 pm
by Troodon
This is my actor :
This is my "gravity actor":
When the game begins,
![Mad :x](http://game-editor.com/forum/images/smilies/icon_mad.gif)
"falls" towards
![Idea :idea:](http://game-editor.com/forum/images/smilies/icon_idea.gif)
.
When
![Idea :idea:](http://game-editor.com/forum/images/smilies/icon_idea.gif)
moves,
![Mad :x](http://game-editor.com/forum/images/smilies/icon_mad.gif)
still falls towards
![Idea :idea:](http://game-editor.com/forum/images/smilies/icon_idea.gif)
![Post Post](styles/prosilver/imageset/icon_post_target.gif)
Posted:
Fri Jan 20, 2006 1:50 pm
by Troodon
...I can do it also with <move to> event.
Sorry
![Post Post](styles/prosilver/imageset/icon_post_target.gif)
Posted:
Thu Feb 02, 2006 1:10 pm
by duracel92
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..