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

Username:   Password: 
 RegisterRegister   
 Locating where my sprite is on the screen??
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
silentxxnight




PostPosted: Sun May 13, 2007 11:17 pm   Post subject: Locating where my sprite is on the screen??

Canada I'm new to turing, and im making a game of Frogger. I'm trying to get the moving cars to reset their location when they reach the end of the screen. How do I keep checking their location???? Confused

Any help at all would be great.

P.S. I would post my code...but like I said, im very new and i doubt that i did anything the right way so far lol. Rolling Eyes
Sponsor
Sponsor
Sponsor
sponsor
Clayton




PostPosted: Mon May 14, 2007 9:54 am   Post subject: RE:Locating where my sprite is on the screen??

Hello, and welcome to CompSci.ca!

I'm assuming that you have some variables to keep track of each car's position? If so, you're winning half the battle and you should take a good long look at the Collision Detection Tutorial in the Turing Walkthrough.

silentxxnight wrote:

P.S. I would post my code...but like I said, im very new and i doubt that i did anything the right way so far lol.


All the more reason to post up your code. The best way to learn sometimes is to find out what you did wrong. Finding out what you did wrong is the first step to doing something right.
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  [ 2 Posts ]
Jump to:   


Style:  
Search: