Interesting!
I guess that , the this.inst had not been created at behavior's on create function. I had this problem before, too.
Update
Since rex_function had been deprecated, user need to replace rex_function to official function object.
Or run the code step by step by adding
debugger;[/code:3b6xhh67] before the call, to see if the action has been called or not.
Develop games in your browser. Powerful, performant & highly capable.
TrickyWidget
It is possible to call an action from a behavior. Even call an action/expression/condition from other plugin/behavior.
Ubivis
It is correct. The sample capx is try to train the ANN to be a "XOR gate". The output messages are log at console of browser.
Joannesalfa
It's just save the space of data saved in webstorage.
spongehammer
I found a way to compress string. User might use it with this XOR Encryption, like this sample capx.
( Well, the result of string compression might be a kind of encryption. )
Document , plugin and sample capx included.
Reference - Lz string compression
megatronx
I though it could be used at AI, but I had not used for that yet. Just port the library into C2 plugin.
Yes, it could. Here is a sample capx.
Update:
Now user could add comma to split pattern.
Member since 4 Apr, 2011