Open LiamKarlMitchell opened 10 years ago
Use a Finite State Machine like http://machina-js.org/
http://code.dougneiner.com/presentations/machina/
Or
Scripts with coroutines
Or this, behavior trees, this one has a visual editor :) http://behavior3js.guineashots.com/
Maybe we can use promises pattern of some sort? Have more advanced AI types after basic is done. Agro monsters etc.