Predefined Paths for enemies

Okay, I’ve been thinking about making a top-down shoot-em-up where you shoot enemies (obviously). But what I want to do is have the enemies move around on predefined paths throughout the map. How could I do this?

Any help would be great. :thumb:

Thanks for the help, everyone.

Dude u have to remember people are here from all around the world. And waiting around for a reply from people in different time zones is sumthing that is not smart.

Post ur question and come back at the end of the day or even the next day and im sure ur question will be answered.

Ummmmm, saying stuff like that can make people not want to help you ( unless you mean it in a thanking way ). As Skribble said: “Post ur question and come back at the end of the day or even the next day and im sure ur question will be answered.”

-elPooter

What about just drawing in motion guides for the enemies, and having them either advance or stop depending on a random variable. Simple .fla attached, with two examples (one flipped horizontally) of the same MC, but with random timing. You could create different paths/MCs for each enemies and control their patterns that way.

make it in flash mx format, i dun have mx 2004

I don’t have MX 2004 either, that’s regular MX, but I’ve converted to Flash 5 and I’m attaching that.

If you make the game using tiles, you should be able to make some sort of “movement que” where you give some class of enemies predefined coordintes to go to. You could also make it so stepping on certain tiles could trigger different movement patterns or something like that.