Show differencesHistory of post edits
#ActualGameGeazer
Posted 30 July 2012 - 08:13 PM
For the 2D-top-down game I'm writing(in Java) I've written pathfinder using A* and simple AI around that(if player is in line of sight move towards player, if close enough to player attack player). However I'm looking to make more intricate AI as well as different AI for each of my enemies.I have the logic for my AIs mapped out, but am unsure of how to implement anything too complicated elegantly. What is the best way of writing AI, should I be reading lua scripts, hard coding it in java?
#3GameGeazer
Posted 30 July 2012 - 08:12 PM
For the 2D-top-down game I'm writing(in Java) I've written pathfinder using A* and simple AI around that(if player is in line of sight move towards player, if close enough to player attack player). However I'm looking to make more intricate AI as well as different AI for each of my enemies.I have the logic for my AIs mapped out, but am unsure of how to implement anything too complicated elegantly. What is the best way of writing AI, should I be reading lua scripts, hard coding it in java?
#2GameGeazer
Posted 30 July 2012 - 08:11 PM
For the 2D-top-down game I'm writing(in Java) I've written pathfinder using A* and simple AI around that(if player is in line of sight move towards player, if close enough to player attack player). However I'm looking to make more intricate AI as well as different AI for each of my enemies.I have the logic for my AIs mapped out, but am unsure of how to implement anything too complicated elegantly, what is the best way of writing AI, should I be reading lua scripts, hard coding it in java?
#1GameGeazer
Posted 30 July 2012 - 08:09 PM
For the game I've written(in Java) I've written pathfinder using A* and simple AI around that(if player is in line of sight move towards player, if close enough to player attack player). However I'm looking to make more intricate AI as well as different AI for each of my enemies.I have the logic for my AIs mapped out, but am unsure of how to implement anything too complicated elegantly, what is the best way of writing AI, should I be reading lua scripts, hard coding it in java?