00:00
00:00
Newgrounds Background Image Theme

TarikNakich just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

Random 2006-08-06 04:55:43


How can i make a movie clip randomly spawn somewhere and head to a location? or head towards nearest exit.


BBS Signature

Response to Random 2006-08-06 09:32:21


At 8/6/06 04:57 AM, Ichimanako wrote: Nice to see you here, Eggy.

Anyway go to kirupa.com i've seen somewhere on that site

yeah, that site is pretty awesome full of tuts

Response to Random 2006-08-06 10:34:53


randomly spawn

attachMovie

move towards nearest exit

That's more complicated, you will have to learn about handlers:

mc = attachMovie (something + something, something, something)
mc.destinationX = something;
mc.destinationY = somethingelse;
mc.onEnterFrame=function(){
//move towards destination X and Y, check out AS:Main for some help cause its too much to explain here.
}


Come join music competitions on Chips Compo and hang on our Discord!

Good artists copy. Great artists get banned from the Audio Portal.

BBS Signature