Description

Creates bullets by rules

Version History

Version Size Downloads Released
1.0.1.2 (Current)
Stable
12.82 KB 2 Download
1.0.1.1
Beta
12.82 KB 2 Download
1.0.1
Beta
12.44 KB 23 Download
1.0-prealpha
Beta
11.85 KB 454 Download

Share

Download

1.0.1.2 Stable (12.82 KB)

Info

Statistics

  • Download count481 total downloads
  • Latest download count 2 downloads of latest version
  • Average download count2 downloads per day average

Owners

  • 20 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • 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.

  • 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)

  • 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.

  • Good afternoon, will support for script modules be added?

  • hello there, can you update the addon to the new c3 module? ty

  • Good day JJ_Weapon does not support advanced minification. Can you fix it?

  • Just wanted to let you know that the Github project for this plugin is ready, you can submit issues and fork the addon here: github.com/JeyDotC/construct3-jj_weapon