View previous topic :: View next topic |
Author |
Message |
. . , Master Cheater Reputation: 3
Joined: 05 Nov 2009 Posts: 337
|
Posted: Wed Jun 09, 2010 9:15 am Post subject: [VB08] If PictureBox1 Goes on Form then it goes to start |
|
|
Hey, I'm designing a game. Been searching the web for 2 days and I found nathing. Basic information...
Ok so I got this PictureBox1 as a player, you use arrow keys to rotate directions etc. That works 100% fine. But this is the part that I can't seem to find:
I use panels as paths, If you go off the panels and land on nathing, AKA Blank (Form) then you go back to the start. Please help!
|
|
Back to top |
|
|
Untouchable Grandmaster Cheater Supreme Reputation: 6
Joined: 21 Jun 2008 Posts: 1710
|
Posted: Thu Jun 10, 2010 8:16 pm Post subject: |
|
|
Although that is very simple, if you can't do something like that maybe you should follow tutorials rather than making a game. Basically you could make an array of panels, and loop through to see if the picturebox is within bounds of the panels, then return true if it is; and after the loop return false.
|
|
Back to top |
|
|
. . , Master Cheater Reputation: 3
Joined: 05 Nov 2009 Posts: 337
|
Posted: Mon Jun 14, 2010 1:21 pm Post subject: |
|
|
Untouchable wrote: | Although that is very simple, if you can't do something like that maybe you should follow tutorials rather than making a game. Basically you could make an array of panels, and loop through to see if the picturebox is within bounds of the panels, then return true if it is; and after the loop return false. |
Doesn't help. I done research on arrays and loops still nathing.
|
|
Back to top |
|
|
AtheistCrusader Grandmaster Cheater Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Mon Jun 14, 2010 1:33 pm Post subject: |
|
|
you're a fucking retard, ok so, you researched arrays and loops, and they didn't help.. How about posting your code?
|
|
Back to top |
|
|
. . , Master Cheater Reputation: 3
Joined: 05 Nov 2009 Posts: 337
|
Posted: Mon Jun 14, 2010 1:42 pm Post subject: |
|
|
nutsack wrote: | you're a fucking retard, ok so, you researched arrays and loops, and they didn't help.. How about posting your code? |
It's no wonder you have 2 warnings. Attitude like that surprised your mummy gave you a computer
Whats the point? If you could give me the code would be 100% more easier. The code I might supply you with to have a look at might be the completely wrong one.
|
|
Back to top |
|
|
AtheistCrusader Grandmaster Cheater Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Mon Jun 14, 2010 2:43 pm Post subject: |
|
|
MeGaFoRcE300 wrote: | nutsack wrote: | you're a fucking retard, ok so, you researched arrays and loops, and they didn't help.. How about posting your code? |
It's no wonder you have 2 warnings. Attitude like that surprised your mummy gave you a computer
Whats the point? If you could give me the code would be 100% more easier. The code I might supply you with to have a look at might be the completely wrong one. |
Problem is, I don't understand the fuck you're saying, so you posting the code might make more sense.
|
|
Back to top |
|
|
SwaggaJackin' Master Cheater Reputation: 2
Joined: 06 Nov 2009 Posts: 304
|
Posted: Tue Jun 15, 2010 5:48 am Post subject: |
|
|
You can't expect anyone to help you with your code if you don't post it. We're not psychic and we can't see what you are doing wrong unless you post it.
You may be close to your goal and just have a stupid mistake, but we'll never know because you wanna sit and argue rather than get productive with what you want to do.
|
|
Back to top |
|
|
Jorg hi I post too much Reputation: 7
Joined: 24 Dec 2007 Posts: 2276 Location: Minnesota
|
Posted: Sat Jun 19, 2010 8:05 pm Post subject: |
|
|
I agree with the guy above. If you don't post it whats the point of asking? Nobody is going to make a game for you.
_________________
CEF will always stay alive. |
|
Back to top |
|
|
|