Creates bullets by rules
Good afternoon, will support for script modules be added?
I'll need to read the docs about script modules, do you have a link to that?
I found only this: construct.net/en/tutorials/upgrading-projects-classic-2652
Hi people, just made a small update in the behavior. It fixes the window is not defined error.
Thank you for the update. I am very happy that you support the plugin, thank you. We are waiting for new features.
I can't get it to work, I get the following error
Uncaught (in promise) ReferenceError: window is not defined
at new jj_WeaponInstance (c8601d8d-2afd-4b36-8f7d-b160d165174b:78)
at Function.C3.New (jsutil.js:1)
at C3.BehaviorInstance._CreateSdkInstance (behaviorInstance.js:1)
at C3.Instance._CreateSdkInstance (instance.js:1)
at C3.Runtime.CreateInstanceFromData (runtime.js:1)
at C3.Layer.CreateInitialInstances (layer.js:1)
at C3.Layout._CreateInitialInstances (layout.js:1)
at C3.Layout._StartRunning (layout.js:1)
at C3.Runtime.Start (runtime.js:1)
at async C3.Runtime.Init (runtime.js:1)
Sorry for the late response, construct is not notifying me about comments... and it's been a busy week for me also.
I can see where's the error, I'm relying on the global **window** object to listen to keyboard events, it should work perfectly on most browsers, but I guess that's not guaranteed.
I haven't been able to find a recommended way to handle input in C3 (C2 relies on jQuery). I need some help that, if anyone knows of an open-source addon that uses keyboard to take as an example, I'd thank you.
Hello,
I can't set the weapon image point from an event sheet. how to do it please?
How can I add to ammo stock when I pick up ammo?
Hi, can not add this addon to Construct 3. Why ?
Ok, thanks to the clues provided by ibiz, I managed to fix the advanced minification issue.
Hi, here's another small update, it just changes the addon format to the latest version (as stated in this post: construct.net/en/forum/construct-3/plugin-sdk-10/third-party-addon-changes-156802).
Sadly I was unable to add GetDebuggerProperties implementation since, for some F**ing reason it creates a new table in the debugger EVERY FRAME instead of updating the existing one, no idea why. So, for now, no debugger support :(
Good afternoon, are you planning to finalize the plugin to support advanced minification? At the moment, the plugin gives this error:
/str/c3runtime.js:44219:4: ERROR - [JSC_UNDEFINED_VARIABLE] variable C3 is undeclared
44219| C3.Behaviors.JeyDotC_jj_Weapon = class jj_WeaponBehavior extends C3.SDKBehaviorBase
^^
/str/c3runtime.js:44999:33: ERROR - [JSC_UNDEFINED_VARIABLE] variable key is undeclared
44999| this.shoot_keycode = key;
^^^
2 error(s), 0 warning(s)
Can you give me some steps to reproduce the issue? Seriously, I don't know what you mean by "advanced minification" there are plenty of minifying solutions out there and I really don't know what you mean in this case.
If you gave me a few steps to reproduce the problem, I could track it down and fix it.
When exporting to android, there is an advanced minification feature. Here is more information:
construct.net/en/make-games/manuals/construct-3/scripting/guides/advanced-minification