Wave Based game (Need Help)
Hello guys, I'm kind of stuck on how to get random spawning of characters from one edge of the frame to move across to the other side. Nothing I try works and Ive tried spawning the character at a moving object and have it shoot the character to the other side and Ive also tried randomly spawning the character at a active object and shooting it to the other side of the screen, but the characters just build up on the spot and don't move.
Can any one help me out with a tutorial?
Re: Wave Based game (Need Help)
What you're describing sounds like it should work, but shot objects behave differently from ones that are created normally. Try using "Create an object" at (0, 0) from your moving "spawner", then using Set Direction in the same event. If used after Create Object, it'll only affect that created object.
Re: Wave Based game (Need Help)
Ive got it working now David, but I cant get them to spawn at random times, in between 1 and up seconds and also the set relative to object and set x and y random do not work in the way I have them. Ive linked to the file I have so far:
wave.mfa
Re: Wave Based game (Need Help)
I edited the example file you posted to create the soldiers randomly after one second. I'm not sure what else your trying to do, but I hope this helps.
http://putstuff.putfile.com/59103/8559608
Re: Wave Based game (Need Help)
Thanks for showing me the random timer. The other thing you don't get, is that I don't want the character to spawn halfway off the frame, so you don't see all of him. So I wanted the character to spawn from an active object that was shorter than the frame height so the characters wouldn't overlap the frame.