Computer Science Canada Could someone tell me what to fix for this pong? |
Author: | juniorspank [ Mon Dec 08, 2003 9:33 pm ] | ||
Post subject: | Could someone tell me what to fix for this pong? | ||
I have many problems and need help
If you help, thanks. If you can't, I understand. |
Author: | AsianSensation [ Mon Dec 08, 2003 10:16 pm ] | ||||
Post subject: | |||||
when you say
same thing with this
|
Author: | juniorspank [ Tue Dec 09, 2003 9:06 am ] |
Post subject: | |
I was trying to mess around with a way to make a collision detection, perhaps I could check for this in a tutorial. |
Author: | DanShadow [ Thu Dec 11, 2003 6:23 pm ] | ||
Post subject: | |||
hm
Sorry, g2g, couldnt finish it...use "WhatDotColor" for paddle detection |
Author: | AsianSensation [ Thu Dec 11, 2003 7:24 pm ] |
Post subject: | |
DanShadow wrote: Sorry, g2g, couldnt finish it...use "WhatDotColor" for paddle detection
NO!!!!!!!!!!!!!!!!!! I swear andy, it's all your fault, you have corrupted the minds of our new generation of compsci people. seriously though, don't use whatdotcolor, it's kinda unreliable at times. instead, use math, math is always realiable. |
Author: | DanShadow [ Fri Dec 12, 2003 4:06 pm ] |
Post subject: | |
Well yeah, whatdotcolor is screwy at some times, but in th e instance of a simple game of pong, its ok. (Except that whatdotcolor is only going in one location...) Maybe if you use math, and whatdotcolor, you could make collision detection that wont mess up...just maybe though. |
Author: | Andy [ Fri Dec 12, 2003 5:44 pm ] |
Post subject: | |
WHAT??? whatdotcolor screwy? thats it ur going down... 0 bits for you! jk... but i'm serious... whatdotcolor never fails... and azn, wtf u talking about? these kids should be thanking me for teaching them the sacred art |
Author: | DanShadow [ Sat Dec 13, 2003 4:55 pm ] |
Post subject: | |
I fixed my comment about whatdotcolor being screwy....It is excellent, as long as you have some math there. Like for example, you have a circle, you must use math to check whatdotcolor in a circumference (1 pixel away) around the circle for unstoppable elite whatdotcolor co llision detection. I believe in whatdotcolor, I swear! (...master? heh) |
Author: | Andy [ Sat Dec 13, 2003 4:57 pm ] |
Post subject: | |
just plug the point in the circle formula x^2+y^2=r^2 |