random enemies?
Posted:
Sat Apr 08, 2006 5:34 pm
by The achievement
How can i make just random enemies fall from the screen randomly? i know this is possible. how do i do it? now i thik i use the rand() event
Posted:
Sun Apr 09, 2006 2:45 pm
by makslane
In the 'Create Actor' event of your enemy, put this code:
xscreen = rand(view.width); //random x position
yvelocity = 5; //make the anemy fall
Now, in some other actor, just create the enemies (may be in a timer)