Alice Community  

Go Back   Alice Community > Alice 2 > Share Objects

Reply
 
Thread Tools Display Modes
Simple moving car and obstacles.
Old
calmart
Guest
 
Status:
Posts: n/a
Default Simple moving car and obstacles. - 09-26-2010, 09:00 PM

Ya know, its a little intimidating here given some of the work I see put out! But theres always room for simple bits of code. I'm using 2.0 (gives me less trouble) so I hope they work for everyone.

carAdvanced is the simple car with built in movement methods. They can be tied to keys, object controls, etc. The forward-reverse motion has a slight accleration/deceleration to it.

biplaneObstacle were made for the car to avoid. There are three preset flight patterns. 1 is to circle a target while rolling. 2 makes a sort of clover motion. 3 makes a cross shaped pattern but 20% of the time will fly straight at a target (you!). I think I have all the parameters and such in place. All three patterns work out to the same timeframe in case there are multiple planes at once.

Made for a game over on shared worlds

Driving is fun (I ran out of time but was going to add a slight roll to the turn, maybe some smoke when you take off), but I think I'd rather try a space flight sim net (old x-wing/tie fighter fan!) as I don't have to worry so much about my planes accidentaly plunging into the ground.

Thanks!
CS
Attached Files
File Type: a2c carAdvanced.a2c (31.8 KB, 47 views)
File Type: a2c biplaneObstacle.a2c (69.9 KB, 30 views)

Last edited by calmart; 09-26-2010 at 09:05 PM. Reason: Forgot attachments!
   
Reply With Quote
Reply

Tags
car, model, plane

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.