Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Reply
 
Thread Tools Display Modes
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 06-12-2010, 07:56 PM

yes? Are you asking, many helicopters doing the same thing? yes you can with lists


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
noahx23
Senior Member
 
noahx23's Avatar
 
Status: Offline
Posts: 81
Join Date: Nov 2009
Location: outside of the box
Default 06-12-2010, 08:00 PM

what i mean is many helicopters doing a the AI but each moving in a different direction

everyone that has posted so far on this thread is currenty logged on, wierd
   
Reply With Quote
Old
room14
Senior Member
 
room14's Avatar
 
Status: Offline
Posts: 549
Join Date: Nov 2009
Location: Auckland New Zealand
Default 06-12-2010, 08:01 PM

here's the better one
Attached Files
File Type: a2w AI.a2w (251.1 KB, 5 views)


:D
   
Reply With Quote
Old
zonedabone
Senior Member
 
zonedabone's Avatar
 
Status: Offline
Posts: 577
Join Date: Nov 2008
Location: In the interwebs
Default 06-17-2010, 11:23 AM

Have some multitasking!
Attached Files
File Type: a2w AI.a2w (287.3 KB, 5 views)


'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
Old
noahx23
Senior Member
 
noahx23's Avatar
 
Status: Offline
Posts: 81
Join Date: Nov 2009
Location: outside of the box
Default 07-20-2010, 02:51 PM

ok i know you guys thought that the waiting to turnwas bad . i know but here is why. I don't want the helicopters running into buildings. Anyways someone that know what to do with lists, please help me on this, i need it so that the helicopter(s) check if they are on one of the multiple boxes then check what direction they are from the car then change direction accordingly

anyway haven't been on for a while did this over a month ago but forgot about...
Attached Files
File Type: a2w AI game.a2w (956.3 KB, 8 views)
   
Reply With Quote
Old
Doctor Who
Guest
 
Status:
Posts: n/a
Default 08-24-2010, 01:29 PM

I made an improved version of your original game with a building, smoother AI, and a much simpler code.
Attached Files
File Type: a2w AI v.2.0.a2w (226.6 KB, 3 views)
   
Reply With Quote
Old
noahx23
Senior Member
 
noahx23's Avatar
 
Status: Offline
Posts: 81
Join Date: Nov 2009
Location: outside of the box
Default 08-24-2010, 05:33 PM

But im not trying to make it point at the car im trying to make it go around buildings and not straight threw them. other wise i would have done exactly as you did
   
Reply With Quote
Old
room14
Senior Member
 
room14's Avatar
 
Status: Offline
Posts: 549
Join Date: Nov 2009
Location: Auckland New Zealand
Default 04-24-2011, 01:02 AM

Here's the way I would do it:
Loop inf.
If helicopter is 2 meters away from dot,
If car distance in front of helicopter is < X,
If car is to the left of the helicopter,
turn left 0.25
Else
turn right.
Else
nothing
Else
nothing.
Attached Images
File Type: jpg Ai plan.jpg (21.9 KB, 8 views)
   
Reply With Quote
Reply


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.