The Daily Click ::. Forums ::. Digital Works ::. TUTORIAL Buzzing Bee AI
 

Post Reply  Post Oekaki 
 

Posted By Message

s-m-r

Slow-Motion Riot

Registered
  04/06/2006
Points
  1078

Candle
14th July, 2013 at 14/07/2013 23:10:46 -

I attempted to post this as a Download, but it wasn't working for some reason.


TUTORIAL: "Buzzing Bee" AI
A tutorial for novices. Uses no extensions.

This MFA will show you four different ways to go about developing an AI that will move from one numbered position to the next in sequence. Although "buzzing bee" is the first thing that came to mind when I thought of it, I also think it could be modified for a race-car AI or something similar.

All frames and Events are explained and commented in plain English. Feel free to learn from this and use it in your own projects.

You can see the MFA in action as a web page here:

http://www.let-off.com/software/examples/bee-ai/bee-ai.html

Hope this is useful! ENJOY!



DOWNLOAD THE MFA (right-click and choose "Save Target As..." or whatever) : http://www.let-off.com/software/examples/bee-ai/bee-ai.mfa

Image


 
n/a

nim



Registered
  17/05/2002
Points
  7233
15th July, 2013 at 15/07/2013 13:07:27 -

Nice work, thanks for posting it! The comments are good too, so I'm sure they'll help people.

I don't know if this is just a tutorial you made or it's what you would normally do to move an object from one place to another, but I suggest checking out Dines' article on beziers http://create-games.com/article.asp?id=1866 . Even the basic linear path formula is extremely useful for this kind of A -> B movement.

 
//

s-m-r

Slow-Motion Riot

Registered
  04/06/2006
Points
  1078

Candle
15th July, 2013 at 15/07/2013 19:31:35 -

Whew...His article is ingenious. I ought to make another example file using his formulae, but once I'm at my home computer I'll check and see if Deadman's example still works.

I was tinkering away with some possible AI movements, and this came out. I figured I could share it with others who are looking for some interesting ways to make enemies or AI opponents move around. Bezier curves are graceful and definitely cool, though. Thanks for the heads-up!

 
n/a

markjasol



Registered
  22/10/2013 09:46:05
Points
  3
22nd October, 2013 at 22/10/2013 09:48:06 -

for a race-car AI or something similar.






________________________________________________
http://www.fifautc.com/

 
jasol mark
   

Post Reply



 



Advertisement

Worth A Click