View Single Post
Old May 18th, 2006, 5:25 PM   #4
Eric the Red
Hobbyist Programmer
 
Eric the Red's Avatar
 
Join Date: Feb 2006
Posts: 214
Rep Power: 0 Eric the Red is an unknown quantity at this point
Quote:
Originally Posted by Rath72
thanks a lot Eric. I have it working now, except for the part where I'm having trouble setting boundaries. How can I get the character to stop moving up (while I continue to push the up button) when it reaches the edge of the road? Is there a way to disable the button?
Well.. in the code I gave you it includes collision detection. So you shouldn't have any problems if you bothered to read the code.
__________________
Death smiles at us all. All a man can do is smile back.
Eric the Red is offline   Reply With Quote