[WIP] Enemy AI v3

sdieters

  • Posts: 2068
so i have bin absent lately, but in the mean while i have bin doing some small behaviors =)

the Public Enemy AI v3 is for about 80% done.
it has the following features:

Patrol Region: create and select a region for the enemy to patrol.
Chase Time: once the player hits or bumps into the enemy, it will chase him for a given amount of time which after he returns to his Patrol Region.
Walk speed: no need for explanation i guess =)

current known issues:
the attack animation isn't working properly so i have let that one out for this test game.
currently the enemy doesn't do any damage, it just chases the player =)

Controlls:
left + right arrows = walking
space bar = jump
Z = attack (it doesn't do damage in this game :p)
3 x up arrow = death (MUHAHAHAHA)

https://www.dropbox.com/s/5qe3ppi4wujrgak/AI%20v3.swf
My new profile is TheIndieStation.
When you see a recent post with this name, i'm probably using my phone. So dont mind any typo's =p

legodude2222

  • Posts: 105
This looks really good, and I'm hoping for it to be fully completed soon.
Making games, one error at a time.

sdieters

  • Posts: 2068
Thanks for your intrest.
i have bin asked to create a private behavior for someone based on this one, but if you are interested i can create a new public AI based on tile movement =)
My new profile is TheIndieStation.
When you see a recent post with this name, i'm probably using my phone. So dont mind any typo's =p

legodude2222

  • Posts: 105
I would actually be using it for a platformer game, so in my opinion, the AI seems fine as it is. Although I do hope that you can add in the enemy attacking into the AI as well. Can you PM me when you finish it?
Making games, one error at a time.

phontoms

  • Posts: 1
It was interesting.
I went back not only character of the page