How can i make a movie clip randomly spawn somewhere and head to a location? or head towards nearest exit.
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.