Computer Science Canada Locating where my sprite is on the screen?? |
Author: | silentxxnight [ Sun May 13, 2007 11:17 pm ] |
Post subject: | Locating where my sprite is on the screen?? |
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???? 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. |
Author: | Clayton [ 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. |