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

Non-platform specific questions.

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

Postby again » Sun Jan 23, 2011 5:50 am

Ok this is an enemy jumping over a bullet on his own AI
Attachments
Untitled 3.zip
(1.28 KiB) Downloaded 68 times
Free windows mobile games like doodle jump and super mario bros
http://krenisis.freeforums.org/
again
 
Posts: 258
Joined: Wed Jan 19, 2011 7:06 pm
Score: 33 Give a positive score

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

Postby Lacotemale » Sun Jan 23, 2011 8:35 pm

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. :?
User avatar
Lacotemale
 
Posts: 285
Joined: Wed Dec 08, 2010 7:47 pm
Location: /home
Score: 7 Give a positive score

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

Postby sonicfire » Sun Jan 23, 2011 9:52 pm

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 ?!
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

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

Postby sonicfire » Sun Jan 23, 2011 10:10 pm

i improved it a little, it now just checks the distance instead of a collision with a sensor :)
Attachments
enemy jumps on his ownDL.ged
(3.35 KiB) Downloaded 63 times
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score

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

Postby Lacotemale » Tue Jan 25, 2011 10:19 am

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. :)
User avatar
Lacotemale
 
Posts: 285
Joined: Wed Dec 08, 2010 7:47 pm
Location: /home
Score: 7 Give a positive score

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

Postby again » Tue Jan 25, 2011 1:43 pm

Thanks sonicfire point given!!! I like when we share secrets on how to program better.
Free windows mobile games like doodle jump and super mario bros
http://krenisis.freeforums.org/
again
 
Posts: 258
Joined: Wed Jan 19, 2011 7:06 pm
Score: 33 Give a positive score

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

Postby Lacotemale » Tue Jan 25, 2011 2:41 pm

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
User avatar
Lacotemale
 
Posts: 285
Joined: Wed Dec 08, 2010 7:47 pm
Location: /home
Score: 7 Give a positive score

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

Postby sonicfire » Wed Jan 26, 2011 12:09 am

thanks guys!! glad i could contribute something :D
sonicfire
 
Posts: 425
Joined: Wed Nov 01, 2006 9:34 pm
Location: berlin germany
Score: 16 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest