View Full Version : Randomly Spawning... Need help for VB
[mx5]Kris
05-11-2005, 05:28 PM
: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
Ed Mack
05-11-2005, 11:32 PM
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
05-12-2005, 05:19 PM
the random co-ordinates are no problem its just the whole creation...
vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.