Hello,
I have been going over the sdk as of late ( not the first time) and feel there is a lot of information missing.
For example, in a plugin or behavior you could include code in tick2 or pretick or even posttick. When are those called? Do I need to use posttickme or pretickme? or do they run automatically? Do I need to un tick them some how when they are destroyed?
You won't find that in the sdk. You have to figure it out yourself. And there is alot more. Did you know, for example, that in preview.js there are explicit references to certain behaviors (such as solid and shadowcaster). This means that if you want to write attributes like "solid" and have them work with a behavior like platform, then you have to edit the core engine running your game.
I haven't yet fully read through the relevant code (I would be happy if someone has and can shed some light on this) but it seems to me the way behaviors works is sort of messed up if I need to edit preview.js to really get things working. Every time there is an update I would have to edit it again. Is this really the case????
I know this isn't a fair comparison, but it took like two days to learn how to code for unity, whereas construct is a pain to code for... I feel like I need to make an auto coder to just add get and set actions, conditions, and expressions for variables... Anyway, I'm off topic...
The point is that I find the lack of documentation on the sdk somewhat annoying... especially compared to the main manual, which is very comprehensive.
/rant