Computer Science Canada

Need Help With Collision Recogniton

Author:  DatHighSchoolStudent [ 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>

Author:  Insectoid [ 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.

Author:  DatHighSchoolStudent [ 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

Author:  Insectoid [ 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.


: