Computer Science Canada ISP whatdotcolor problem DESPERATE HELP NEEDED |
Author: | chunt [ Thu Jan 20, 2005 3:44 pm ] |
Post subject: | ISP whatdotcolor problem DESPERATE HELP NEEDED |
k need desperate help! (AND QUICK....please) trying to get the whatdotcolor command to work with a game for my ISP. its a remake of the original atari centipede arade game. ive got the player to move and shoot and the centipede to move and go down the screen. however i'm trying to get it that when u shoot it something happens. at this moment i'm just trying to get to exit the loop and put anything so i know its working. however its not! i'm tying to do it so that when whatdotolor (gunsx,gunsy) = 120 then it will do w/e however it is not working!! gunsx and gunsy are the location of the moving lazer. plz help and soon! |
Author: | cycro1234 [ Thu Jan 20, 2005 3:59 pm ] |
Post subject: | |
How do u shoot? And could u be more specific as to what ur problem is? |
Author: | cool dude [ Thu Jan 20, 2005 4:14 pm ] |
Post subject: | |
cycro1234 wrote: How do u shoot? And could u be more specific as to what ur problem is?
u shoot by pressing the z key but i really don't understand your problem |
Author: | Cervantes [ Thu Jan 20, 2005 4:53 pm ] |
Post subject: | |
Don't use processes. They are evil. As for whatdotcolour detection: don't check at (gunsx, gunsy). You want to check at (gunsx, gunsy + 1). That is, check just above the gun. If that doesn't do it, perhaps it's got something to do with the fact that you're using processes. |
Author: | person [ Thu Jan 20, 2005 5:16 pm ] |
Post subject: | |
j**h, this is even more screwed up compared to the one i helped u at, but why cant u just say that once the x, y of the bullet equals one body part of the centipede, then watever? |