MZ Is it possible to implement "Yuka Game AI" in MZ ?

Recently i found A JavaScript library for developing Game AI which Standalone AI Engine https://mugen87.github.io/yuka/

with this library you can design your own game AI like : (Link : https://mugen87.github.io/yuka/examples/)
- Autonomous Agent Design
- Fuzzy Logic
- Graphs and Navigation
- Perception
- etc

is it possible to implement such thing in MZ ? i think this library would be very useful for my project 🙂
theoretically anything is possible, because RMMZ has an open engine.

but in this case I think you completely misunderstood the intention of that yuka engine.

first, a good part of what it implements already exists in the RPG-Makers, like switches and so on.
second, many of the other parts are either optimized for or require a 3D-map to function, like the navigation and perception parts. And such a 3D-map/mesh does not exist in the RPG-Makers, they use a 2D grid-based map.

third - it is a library to help development of an AI, it is not an AI library itself. As such it requires you to know at least the basics on how an AI works before you can use it.


Basically that engine is intended to create something like the RM's event system for engines that do not have such a system as a default. The only difference that I can see with a quick overview is that where the RM's event system is toned down for easier use by new users, the yuka engine is toned up for helping with more complex programming of automated events.
But other than that it does nothing but create a variant of an event system with added options that are focused on 3D-maps.
theoretically anything is possible, because RMMZ has an open engine.

but in this case I think you completely misunderstood the intention of that yuka engine.

first, a good part of what it implements already exists in the RPG-Makers, like switches and so on.
second, many of the other parts are either optimized for or require a 3D-map to function, like the navigation and perception parts. And such a 3D-map/mesh does not exist in the RPG-Makers, they use a 2D grid-based map.

third - it is a library to help development of an AI, it is not an AI library itself. As such it requires you to know at least the basics on how an AI works before you can use it.


Basically that engine is intended to create something like the RM's event system for engines that do not have such a system as a default. The only difference that I can see with a quick overview is that where the RM's event system is toned down for easier use by new users, the yuka engine is toned up for helping with more complex programming of automated events.
But other than that it does nothing but create a variant of an event system with added options that are focused on 3D-maps.
well from what i understand you can copying over coordinates from yuka to mesh in a separate function. With that approach you could use yuka even with canvas2D.

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-implement-yuka-game-ai-in-mz.148944/