Randomly Spawning... Need help for VB

_mx5_Kris 101 May 11, 2005 at 23:28

:wacko: I’m bamboozled at the moment with one problem… I am trying to figure out how to randomly spawn 2d image enemies in Visual Basic. The only idea is having invisible enemies but even then it wont work as well as i would like as there is always going to be an enemy coming from “that” direction…

Any help would be much appreciated… Thanks, Kris

2 Replies

Please log in or register to post a reply.

Ed_Mack 101 May 12, 2005 at 05:32

I’m guessing that you can get random coordinates ok, and place images there ok, but your problem is in putting it together as a game?

I personally don’t like enemies just randomly popping up. You could have the computer place them in a room before the user went to it prehaps, or have the computer randomly place them as long as they are not within 40px of the user.

_mx5_Kris 101 May 12, 2005 at 23:19

the random co-ordinates are no problem its just the whole creation…