Alice Community  

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

Reply
 
Thread Tools Display Modes
How does a car collide?
Old
twopointohaliceuser
Guest
 
Status:
Posts: n/a
Default How does a car collide? - 11-07-2008, 04:58 PM

I am new to Alice, and I am creating a game. How does a programmed car collide with another object and has damage done to it?
   
Reply With Quote
Old
Fiskejohn
Guest
 
Status:
Posts: n/a
Default 11-11-2008, 10:21 AM

For the coliding cars, i think the answer would be to use a "if/else loop"

I am new myself, so i really don't know how to explain it. But i think you have to use hte "if/else loop"
   
Reply With Quote
Proximity
Old
zonedabone
Senior Member
 
zonedabone's Avatar
 
Status: Offline
Posts: 577
Join Date: Nov 2008
Location: In the interwebs
Default Proximity - 11-11-2008, 07:13 PM

If your making a driving game, I'd reccomend making an "if statement". Make it so that if [car] is within .1 meters of [wall]
change hp = hp-car speed

get the picture?


'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.
   
Reply With Quote
Resolved
Old
twopointohaliceuser
Guest
 
Status:
Posts: n/a
Smile Resolved - 11-22-2008, 07:20 PM

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