ForumsProgramming ForumUrgent Help! not to complicated >:(

10 4584
Dannydaninja
offline
Dannydaninja
948 posts
Nomad

This is probably the Major Problem that i've come into with making my game, Help would be very much appericated!!


JUST 2 QUESTIONS:

* How do i make a MovieClip/Object move in a random direction?

* Then with that MovieClip, how do i make it bounce of certain objects such as walls ( Think like, a top-down Gta 1 + 2 game )

  • 10 Replies
rjbman
offline
rjbman
215 posts
Nomad

or do something similar with a hittest if its not right there

Dannydaninja
offline
Dannydaninja
948 posts
Nomad

BUMP.

gluesy
offline
gluesy
65 posts
Nomad

This is a good tutorial and it might be useful in helping you get what you want. However It also deals with ball on ball collision which you might not want to bother with.

http://www.emanueleferonato.com/2008/06/07/managing-multiple-balls-collisions-with-flash-as3-version/

PixelSmash
offline
PixelSmash
566 posts
Nomad

Kurt... I believe he's using AS2

jafersmash
offline
jafersmash
2 posts
Nomad

Move in random direction; do you mean shakes all over the screen, or something that makes it move in a line at randomized angles.

You should put what version of actionscript you are using(AS/AS2/AS3) in your comment.

Darkroot
offline
Darkroot
2,763 posts
Peasant

When you want something you really do have to explain yourself more. Is it moving in one direction or both? Does the velocity change or does it teleport? etc...

Drace
offline
Drace
3,880 posts
Nomad

I suggest signing up here cuz u will get much more help then you will here.

http://www.actionscript.org/forums/index.php3

Showing 1-7 of 10