I integrated LibGDX's Behavior Tree AI module into our roguelite, vaporwave and procedural game, which is made use the jMonkey Engine 3.1.
I then created the following behavior :
Follow enemy
Search the enemy's last recorded position
Return back to initial chase position
Stop the chase after a certain amount of time
Attacking the enemy resets the timer
I'm new to AI programming and still have a lot of work to do for making better behavior trees. I think it's really easy to make spaghetti behaviors. Do you have any tutorials on how to create a "good" behavior tree?