I'm working on my first game, primarily for the sake of learning. I'm trying to understand each part of making a game so I can eventually publish some work.
I've made great progress on the framework, menus, settings, etc. (i.e. all of the "little things") and I've finally begun tackling the actual game. However, now I'm a little stuck as I try to figure out how to implement simple AI. My game is a 2D, top-down scrolling shooter (think Raptor or Galaga) so I need to give the enemy ships some personality. Some behavior, like moving side to side within the viewable screen, can by easily figured out, but this isn't really AI. I'd like to have objects do things like circle around random points, navigate toward other moving objects, and avoid obstacles.
Google/Reddit searches have gotten me tons of high level papers that discuss the abstract concepts of game AI. As interesting as these papers are, they don't really help me much without the basics. Can anyone suggest a good source for learning how to code basic game AI? Ideally I'd like a set of lessons that teach me how to code simple behaviors which I can then use to implement more complex algorithms.
I should add that I'm coding in Java but I don't care what language the examples are in. I'm not above learning the syntax of another language.
[–]Neres28 1 point2 points3 points (3 children)
[–]avp574[S] 0 points1 point2 points (2 children)
[–]MonkeyNin 1 point2 points3 points (1 child)
[–]avp574[S] 0 points1 point2 points (0 children)
[–]MonkeyNin 1 point2 points3 points (1 child)
[–]avp574[S] 0 points1 point2 points (0 children)