How to make an AI FSM

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Newby

I currently have very simple enemies , ones that just walk back and forth and damage the player if they bump into them, i also have a boss but i don’t know how to code in a ai for it can anyone help me with this.

FSM, what’s that? Fixed Simple Machine? or what?

abhaskumarsinha | 2018-02-03 04:07

:bust_in_silhouette: Reply From: kidscancode

This is not at all Godot-specific, so I recommend you read some general information on game AI and finite state machines. Here are a couple to get you started:

The examples won’t be in GDScript, but the concepts would be exactly the same.

are there plugin for FSM

Newby | 2018-02-03 11:17

There are two on the Assetlib, but I haven’t used them myself, so I can’t tell you how good they are.

kidscancode | 2018-02-03 16:06

i have found a godot fsm code but how does the preload script work do i just type something like the walking script and just preload it in the fsm script

Newby | 2018-02-04 01:15

The example shared for this Godot-specific is also recommended by me like

Finite-State Machines: Theory and Implementation | Envato Tuts+

Mobile Game App Development Company | Game App Developers for Hire

Game AI: Finite State Machines - Game Development

The concept is same in it.

susanmicheal2346 | 2018-07-31 17:58

Here are a couple to get you started:

Finite-State Machines: Theory and Implementation | Envato Tuts+
http://www.techirons.com/

susandaigle23 | 2018-09-16 00:45