Closed nonunknown closed 2 years ago
Idea to create callbacks to game event is very interesting. We had some brief discussion of that here: https://github.com/cleolibrary/CLEO-Redux/discussions/1
I think it could be nice to have such a feature.
As for using external classes, can you elaborate what do you mean? Call game functions or import code from external files/libraries ?
Thanks for the response!
I saw the discussion, and will be cool to have a place were we modders, could place which events are more used, necessary, so people can upvote and downvote, not sure, but this will be really useful.
About external classes, I'm not sure but maybe I can be saying shit, but its possible to integrate with like nodejs? I mean, it will be like C++ coding, you can integrate any external library to your code, and nodejs let us do that!
We have a discord channel, link in the readme
See #27 and #28
Could be Event-driven stuff be added to Javascript version of cleo?
Like, instead of having a while loop as the main code, we could have something like:
Also a lot of events, so we can have less expensive code!
There's a way to use external Classes from Javascript?
For example the class WebScoket