Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 ISP whatdotcolor problem DESPERATE HELP NEEDED
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
chunt




PostPosted: 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!



centipede.t
 Description:
helP!

Download
 Filename:  centipede.t
 Filesize:  5.74 KB
 Downloaded:  128 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
cycro1234




PostPosted: Thu Jan 20, 2005 3:59 pm   Post subject: (No subject)

How do u shoot? And could u be more specific as to what ur problem is?
cool dude




PostPosted: Thu Jan 20, 2005 4:14 pm   Post subject: (No 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
Cervantes




PostPosted: Thu Jan 20, 2005 4:53 pm   Post subject: (No 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.
person




PostPosted: Thu Jan 20, 2005 5:16 pm   Post subject: (No 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?
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: