Alice Community  

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

Reply
 
Thread Tools Display Modes
How To Decide If Collison Or Not?
Old
bking0
Guest
 
Status:
Posts: n/a
Default How To Decide If Collison Or Not? - 09-22-2008, 10:51 AM

Im trying to make a game and i dont know how to make collison in alice work?
The game is about done, all i need is to fiqure out how to make collision work!
The game is where you can get in a vehicle and drive around.

TotalDestructionV1.1.a2w

controls are-
w=move up
s=move down
a=move left
d=move right
e=get in/out of vehcile

/you must be at least five meter by the vehcile to get in it!
   
Reply With Quote
Old
Gillette Fusion
Guest
 
Status:
Posts: n/a
Default 09-27-2008, 05:48 PM

You have the right idea, you have to be at least (what ever meters) from (what ever object) for something to happen. I assume by looking at the program that you want to stop your guy from walking in the tank.

You need to have at least two collision codes, one for entering the tank (you got that one down), and one to push you away from tank if you get two close.

As you can see from my craptastic illustration:

   
Reply With Quote
Reply

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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.