|
-
Feb 15th, 2004, 10:26 AM
#1
Thread Starter
Addicted Member
Border?
Okay i know this is simple but i started making my very own snake game. It is basically finished exept i dont know how to make the food (the little dot that the snake has to eat) just show up in a certain area. What happens is that ill eat the dot and the next dot will be somewhere to the side that i cant see.
So how do i form a border around my picture box so the snake and the dot dont go outside of it?
thanks!
James
(btw im using VB.Net '02
 Originally Posted by randem
You think you are confused? Try reading what you wrote...
-
Feb 16th, 2004, 10:00 AM
#2
Sleep mode
Use Random Class to generate randomized number that will be used to draw (x,y) dots . Then you'll need collision detection function to detect when the snake is eating a dot . Well , a lot of calculations need to be done . Get any snake game example (I've seen a lot but for VB6) and just apply the same concept in VB.NET .
-
Feb 16th, 2004, 11:32 AM
#3
Thread Starter
Addicted Member
ok ill try that out. thanks
 Originally Posted by randem
You think you are confused? Try reading what you wrote...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|