Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
controls for racing game
Old
esmith261
Junior Member
 
Status: Offline
Posts: 3
Join Date: Mar 2012
Default controls for racing game - 03-04-2012, 09:43 AM

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?
   
Reply With Quote
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
Reply

Tags
controls, directions, help me, racing game, steering

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.