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

Username:   Password: 
 RegisterRegister   
 Need Help With Collision Recogniton
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
DatHighSchoolStudent




PostPosted: Wed Oct 31, 2012 7:39 pm   Post subject: Need Help With Collision Recogniton

What is it you are trying to achieve?
<Get Collision Recognition. I decide to start working on a side project aside from my gr10 class to see if I can try and see how this works. Also, I would like to know how to form the background around the police officer, so there isn't a wierd cut in the ground>


What is the problem you are having?
<Its not working>


Describe what you have tried to solve this problem
<Various forums>


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
<See attached>

Turing:


<Add your code here>



Please specify what version of Turing you are using
<4.1.1>



Jail Break.rar
 Description:

Download
 Filename:  Jail Break.rar
 Filesize:  139.82 KB
 Downloaded:  76 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Wed Oct 31, 2012 7:49 pm   Post subject: RE:Need Help With Collision Recogniton

Check the Turing Walkthrough for collision detection. Loop up Pic.Merge in the Turing Documentation.
DatHighSchoolStudent




PostPosted: Wed Oct 31, 2012 8:11 pm   Post subject: Re: Need Help With Collision Recogniton

I fixed it, but it just exits end for and reloops, not exit end loop


Jail Break.rar
 Description:

Download
 Filename:  Jail Break.rar
 Filesize:  139.82 KB
 Downloaded:  122 Time(s)

Insectoid




PostPosted: Thu Nov 01, 2012 4:34 am   Post subject: RE:Need Help With Collision Recogniton

code:
exit when x1 > x2 and x1 < x2 and y1+20 > 0 and y1 < 40


Take a good long look at this line and you will find your mistake.
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  [ 4 Posts ]
Jump to:   


Style:  
Search: