Aekiro's Forum Posts

  • I'm making a tiled world plugin, and I need the user to be able to specify the horizontal and vertical wrap just like the built-in tiledBackground plugin.

    I took a look at the source of the tiled background to see how it's done, I found out that an exportData value is passed to SDKTypeBase :

    class TiledBgType extends C3.SDKTypeBase {

    constructor(objectClass, exportData) {

    super(objectClass);

    this._wrapX = "repeat";

    this._wrapY = "repeat";

    if (exportData) {

    this._wrapX = WrapModeToStr(exportData[0]);

    this._wrapY = WrapModeToStr(exportData[1])

    }

    }}

    How can I put values in this exportData for my own plugin. I'm assuming filling the exportData is done in ITypeBase class which is not documented. Can you document it please ?

    Thanks.

  • What asset is this for, and is the issue still there?

    For my add-on "pro ui".

    I try to set discount of 20%, starting now, for 4 days.

    I get this :

    Unexpected Error

    Whoopsie daisy! Something went wrong with your request. Don't worry, this isn't your fault and the error has been recorded on our systems. An engineer will look at the report soon.

  • Every attempt ends up in an error page.

    Thanks.

  • Aekiro please download the latest version to aekiro.itch.io/proui

    Done.

  • hello GridView is important for heavy ui,but if i had 1000list of GridView, IT will create 1000Sprite, can you dynamic create obj only in GridView?

    No, use pagination.

  • LukeW Yes that was the case before, but the latest version of ProUI support modules.

  • Can you share a screenshot of the console log ?

    Also, reach me on discord, it's much faster to communicate.

    username = Aekiro#1066

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • miguelromm

    You need to initialize ProUI before waiting 0.1s

  • I'm facing an error at runtime on Android 5.1. The project works fine on Android 7 and upward.

    here's the part of the code triggering the error, it's from an external JS file :

    ------------------------------------------

    self._Group = function () {

    ........

    };

    self._Group.prototype = {

    ......

    };

    console.log(self._Group); // this works

    self.TWEEN = new self._Group();

    console.log(self.TWEEN); // undefined

    ------------------------------------------

    If self.group is defined, why is new self._Group(); undefined ?

  • You do not have permission to view this post

  • Hello,

    I'm testing multiple dialogs on the same layout and I'm seing some wierd behaviours. Parent layer is unchecked and NO modal.

    Right now when I close a dialog (via event sheet or button) all dialogs on the layout get closed.

    Just wondering if this is a bug or the intended behaviour is for us to have a single dialog per layout.

    You can have multiple dialogs in a layout as long as each one is on a dedicated layer.

    Also, check if each close button has a unique name (gameobject behavior).

  • Aekiro

    My project is failing with to run as an HTML export if I use simple or advanced minification.

    To perform a test I created a simple project that didn't have anything in it other than PROUI v 1.7.7.5. I added a start on layout event to initialize it and that's it.

    It will work on export with no minification, but if I use simple or advanced it fails when you try to run the site.

    I was hoping you could take a look into this when you have time.

    Thank you

    Thanks for reporting the bug.

    Export with advanced minif is functional again Please update to latest version.

    !! Also, the addon "RemoteSprite" doesn't support Workers. So if you are using it please deactivate workers.

    Thank you.

  • RoosterDota

    The bug has been fixed. Please update all the addons.

    Let me know if you still encounter any issues.

  • Aekiro

    There is a definitely an issue with the plugins revolving around the new modules mode of C3. If you have a project using classic js file loading it all works, but if you switch to import mode it fails when you export it. This can be seen I believe in all the exports, but you can see it in the HTML one pretty easily.

    I am using the latest C3 R32 and 1.772 of Pro UI.

    The error in the console is shown below.

    Uncaught TypeError: Cannot read property 'Plugins' of undefined

    at c3runtime.js:2563

    c3runtime.js:2322 Uncaught (in promise) TypeError: self.C3_GetObjectRefTable is not a function

    at C3Runtime._LoadDataJson (c3runtime.js:2322)

    at C3Runtime.Init (c3runtime.js:2316)

    at async RuntimeInterface._InitDOM (main.js:39)

    at async RuntimeInterface._Init (main.js:27)

    Ah ok, thanks for clearing things out. The complain was that the preview did not work, but apparently it's the export. I'll fix it asap.

  • > > fix your plugin please, I cant preview my project, I tried to create new blank project and add your plugin, nothing change. Fix that please.

    >

    > what do you mean ?

    > I preview the demo project just fine.

    > Are you talking about the export ?

    > Which version of Construct are you using ?

    Hi, thank you for replying me, I use r232, when I preview project, everthing is black.

    Ok. Are you using the latest version of ProUI ? If not please download it from itch.

    Is ProUI initialized on every layout ?