Page 1 of 1

enemy jumping over bullets on his own...enemy AI

PostPosted: Sun Jan 23, 2011 5:50 am
by again
Ok this is an enemy jumping over a bullet on his own AI

Re: enemy jumping over bullets on his own...enemy AI

PostPosted: Sun Jan 23, 2011 8:35 pm
by Lacotemale
Thanks! I was curious as to how complicated or simple AI would be... seems pretty simple. I downloaded both your examples but this one is slightly hard to understand.

Are you doing anything with the sensor actor? I can't see it being used in any of the scripts. :?

Re: enemy jumping over bullets on his own...enemy AI

PostPosted: Sun Jan 23, 2011 9:52 pm
by sonicfire
when i first launched it, the left actor didnt jump :lol: second time ... nothing. third time. nothing.
fourth time - jump! now....that´s weird - somehow ?!

Re: enemy jumping over bullets on his own...enemy AI

PostPosted: Sun Jan 23, 2011 10:10 pm
by sonicfire
i improved it a little, it now just checks the distance instead of a collision with a sensor :)

Re: enemy jumping over bullets on his own...enemy AI

PostPosted: Tue Jan 25, 2011 10:19 am
by Lacotemale
Thats some nice work sonicfire! I think I prefer your version... I may actually use this in my own game when I get to the point of doing enemies. :)

Re: enemy jumping over bullets on his own...enemy AI

PostPosted: Tue Jan 25, 2011 1:43 pm
by again
Thanks sonicfire point given!!! I like when we share secrets on how to program better.

Re: enemy jumping over bullets on his own...enemy AI

PostPosted: Tue Jan 25, 2011 2:41 pm
by Lacotemale
I gave you a point too sonicfire! :wink:

Thanks for your valuable contribution... "again" you will get a point as soon as I can give it, for your example. :) I put in quotes to avoid confusion. :D

Re: enemy jumping over bullets on his own...enemy AI

PostPosted: Wed Jan 26, 2011 12:09 am
by sonicfire
thanks guys!! glad i could contribute something :D