Jump to content


Randomly Spawning... Need help for VB


  • You cannot reply to this topic
2 replies to this topic

#1 -mx5-Kris

    Member

  • Members
  • PipPip
  • 55 posts

Posted 11 May 2005 - 11: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

#2 Ed Mack

    Senior Member

  • Members
  • PipPipPipPip
  • 1239 posts

Posted 12 May 2005 - 05:32 AM

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.

#3 -mx5-Kris

    Member

  • Members
  • PipPip
  • 55 posts

Posted 12 May 2005 - 11:19 PM

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users