Javascript SDK template - r141 update

0 favourites
  • 4 posts
From the Asset Store
Fruit Slicer Template & Quality fruit and slice graphics (capx,c3p,png,illustrator files)
  • Hi all,

    The Javascript SDK has been updated for r141. It includes new functions to let your plugins and behaviors take advantage of the debugger. Download it here:

    <font size="5">Changes</font>

    • Fixed a typo in the behavior SDK that stopped it working out of the box
    • Code between a /**BEGIN-PREVIEWONLY**/ comment and /**END-PREVIEWONLY**/ comment on their own lines is now removed entirely on export. This is used to ensure code relating to the debugger does not get exported.
    • Plugin and behavior templates now include the functions getDebuggerValues(propsections) and onDebugValueEdited(header, name, value). By implementing these functions you can get your plugin or behavior to display custom data in the debugger, and also handle edits when the user enters new values for them. See the template comments and example to get going with this.
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Is there any way to change the visibility of actions/conditions in the c2 IDE? For example, if I had a true/false property in a plugin could I set some actions invisible?

    If my property = true set my action visible true

    Else set my action invisible?

    That sort of thing

    I am looking to just clean up the options in a plugin so only actions a user wants are visible for choosing.

    Thanks for your help,


  • No, that's not possible at the moment. You should just document (or use the action descriptions) that a certain mode is necessary to use them.

  • <font size="5">Changes</font>

    - Fixed a typo in the behavior SDK that stopped it working out of the box

    THANK YOU! I started working on my first plugin and couldn't figure out if I had messed something up or whether it was a bug in the SDK template haha.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)