Custom Plugin: Missing size&position

0 favourites
  • 2 posts
From the Asset Store
Game with complete Source-Code (Construct 3 / .c3p) + HTML5 Exported.
  • Hi,

    I have downloaded the plugin sdk from the construct site. i have installed the button example and found out that i have missing attributes compared to "built in" properties.

    For example: i dont have the section Size & Position when i add an event on my custom plugin.

    if i put an iframe for example and than add an event and select the iframe i get the Size & Position.

    What is the issue ?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can add some of the default aces by adding the following in plugin.js:

    It depends on your object/plugin if they will all work as you expect to or not:

    this._info.SetIsResizable(true);			// a
    this._info.SetIsRotatable(true);			// a
    this._info.SetHasImage(true);
    this._info.SetSupportsEffects(true);		// a
    this._info.AddCommonAppearanceACEs();
    this._info.AddCommonZOrderACEs();
    this._info.AddCommonPositionACEs();
    this._info.AddCommonAngleACEs();
    this._info.AddCommonSizeACEs();
    
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)