Yuka | A JavaScript library for developing Game AI

game-dev

#1

I’d like to inform this great community about a new Open-Source project. Yuka is a JavaScript library for developing Game AI for web-based applications. Myself and a colleague are working on Yuka the last few months and we would like to share a first pre-release. Check out the official examples to get an impression of the project.

Some important facts about Yuka:

  • Yuka is a standalone AI engine and independent of a particular 3D engine. You can use it with three.js but it’s also possible to combine it with any other 3D library like BabylonJS.
  • The idea is to implement the actual game logic with Yuka and the visual representation with your preferred JavaScript 3D library. Of course we use three.js in all examples and showcases :wink:.
  • Everything is work in progress :innocent:. If you find a bug or have a suggestion, please report it at the issue section on gihub. Your contribution is welcome.
  • Yuka is MIT licensed :raised_hands: .

Features:

  • Game Entity concept
  • Autonomous Agent Design (State- and Goal-Driven Agent Design)
  • Steering Behaviors and a Locomotion Model
  • Navigation (Graphs and Navigation Meshes)
  • Perception (Vision and Memory)
  • Triggers

Links:

Roadmap:

  • We plan to implement a more advanced showcase (a First-Person Shooter) at the beginning of next year which demonstrates the usage of Yuka in a more complex and performance-critical scenario. The code will be open source.
  • Apart from that, we are going to enhance the examples section, improve/optimize the core functionality and try to add some tutorials.

#2

Great project!
Storm of applause :clap:


#3

@prisoner849 Thanks! The project really makes a lot of fun :grin:


#4

Man, where do you find the time to do so much! :sweat_smile:

Great work, looking forward to playing the FPS.