The Daily Click ::. Forums ::. Klik Coding Help ::. AI Codes required!
 

Post Reply  Post Oekaki 
 

Posted By Message

Heart Break Kid



Registered
  13/05/2003
Points
  1754
13th June, 2006 at 04:24:19 -

ok i want a bunch of AI codes , if any AI experts here can sort it out then that would be great

first of all , how do we make a random path movement code? , you know .. roaming around everywhere aimlessly ( in this case we have enemy spaceship moving in open space )

then secondly , that enemy ships locks our ship as a target and comes moving towards it.

and lastly , enemy ship goes back to random movements.

that would be It!

 
(\__/)
(='.'=This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.

Klik with the kid!

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
13th June, 2006 at 06:48:05 -

Here you go... its not the best example, uses default MMF movement, but it gets the point across.

AI Tutorial:
http://arcanetale.sitesled.com/SpaceAI.zip

Advanced Math Object: (If you don’t have it!)
http://www.cellosoft.com/extensions/view.php?id=11

Requirements:
Multimedia Fusion 1.5 (I dont have TGF installed, lost my key!)
Advanced Math Object

Notes:
--Doesn’t use the path movement you asked for, but it does show you how to detect distances, and create that "random" movement you wanted, using the bounce engine in MMF.
--You can both shoot, just use the left mouse button to shoot. Thought it would be pretty useful to have a decent shooting method, just incase you wanted one.
--Its not a BUNCH of AI codes, but it gets the job done.

Image Edited by the Author.

 
http://www.facebook.com/truediamondgame

Heart Break Kid



Registered
  13/05/2003
Points
  1754
14th June, 2006 at 16:02:09 -

.. You could have still made a .gam example without a registered TGF,if you still had the setup. i don't have a MMF 1.5 right now so can't view that!

 
(\__/)
(='.'=This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.

Klik with the kid!

Werbad



Registered
  18/09/2002
Points
  235
14th June, 2006 at 17:38:32 -

If you use mmf you won't need Advanced math since the most functions are included in MMF

 
n/a
   

Post Reply



 



Advertisement

Worth A Click