help in flash please

Associate
Joined
5 Jan 2004
Posts
1,657
i'm new to flash but i'm making a simple game, and part of the game includes bats. Now i know how to create targets entering the screen at random places and moving to the end of the screen while flapping their wings, but i want these bats to go up and down while flying to the other end of the screen. Here lies the problem i have absolutely no idea how to achieve this, any ideas?

I am using this to get them across:

this.speed=random(8)+3;

this._x-=this.speed

,thxs
 
ok a new problem has occured, when you die instead of stopping on the final frame, it waits on the final frame for a sec then it restarts the game itself :(

Any idea?
 
Back
Top Bottom