Does any one have any good idea on how to make a good enemy ai?
I am making a pixel art game like Zelda but I cant make any good ai for the enemies, i want them to move to the player and avoid obstacules on the way, and when they overlap with the player i want them to jump back and the move to the player again, until he punches back! I have made a similar demo template but the ai is not working perfectly.. So if any one have a good idea on how to fix it please share!
![:D :D](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/grin.png)
Best Answers
-
The_Gamesalad_Guru Posts: 9,922
-
The_Gamesalad_Guru Posts: 9,922
As I said it is a basic AI although most Abrams use a tanks heat source as it's signature so that sensor would be 360 degrees. I have more advanced AI built for RP and I's new game but haven't done a video yet and it can move around obstacles on it's own. It actually a merger of a couple well know GS methods. Doing this kind of stuff is more like alchemy, all the ideas are there already you just have to experiment mixing them together. Too many people just copy and paste or just do what the video said instead of really learning what each technique does and how it really works. You'll never get advanced in GS until you set out to understand why things work and how. If you just copy and paste you'll never do stuff not taught.
I also have an auto lock targeting system template on gsguide. But to restrict it from shooting behind just limit the aiming area to the vector it is facing. All AI is, is a clever way of making the predictable look random kinda like slight of hand magic. This can be done in GS is just requires clever thinking.
Answers
Shadows Peak is an atmospheric psychological horror that explores the dark side of a player.