View Single Post
Old
TauTrumpsPi
Senior Member
 
TauTrumpsPi's Avatar
 
Status: Offline
Posts: 399
Join Date: Mar 2011
Location: The diamond layer
Default 03-04-2012, 11:34 AM

Quote:
Originally Posted by esmith261 View Post
My project is to create a racing game with animals, so I chose turtle v. rabbit. The goal is to be able to control the movements of the turtle with the keyboard (up, left, right, down arrows) and the rabbit is to be controlled by the computer. I was wondering what the easiest way to go about this was.. Any suggestions on how to do this?
Well, the easiest way to go about it would be to say "let the arrow keys move object", but you can also use the when a key is pressed right click change to while a key is pressed.

For the computer controlled, you just need a bunch of organized move commands that will get it through the course.


--------------------------------------------------------------------------------------------------------------------------
I have plenty of common sense. I just choose to ignore it.
-Calvin and Hobbes

Wondering about my Avatar?
http://en.wikipedia.org/wiki/Tardigrade

Wondering about my username?
http://www.youtube.com/watch?v=jG7vhMMXagQ
   
Reply With Quote