Chadori's Forum Posts

  • Hi Ashley, I've noticed that Functions can be called even if not included in the current event sheet.

    Does this mean all functions are global, and checked every tick?

    Tagged:

  • FWIW, containers are pretty straightforward: because they always create and destroy together, all instances have the same IID (i.e. the same index in the instance lists), so you should already be able to figure out the container instances fairly easily.

    Oh right, I never thought about that, that's a great tip.

    Thank you!

  • Hi lucid, I've finished adding the scripting interface for Spriter, with complete documentation.

    Kindly review it, thank you!

    I also posted a small suggestion in the repository, kindly also check, thanks!

  • Hi Stweve,

    I haven't tried, but according to the Android and iOS documentation, it should allow it. I'll try to test when I get the chance.

    However, have you tried using the Audio object's Run in background property? It should work the same.

  • Hi Ashley,

    Will there be a Scripting API for containers, to be able to reference them? A sample use-case is setting all containers with an instance variable of the uid of the parent object, upon creation.

    Also, other interactions as well.

    I've tried picking the objects by manual name search (runtime.objects["name"]), however it seems that the container objects are only later created after the "instancecreate" event. So, it's not possible to reference them on creation, unlike events.

    Thanks.

  • Hey lucid, it's @Chadori. Thanks!

  • Hi lucid,

    Is the plugin available on GitHub?

    Is it alright to make a pull request? I would like to add an IScriptInterface for JavaScript users in Construct 3.

    I could update the addon directly, but I think it is better that the additional code is reviewable, to make sure it is up to your standards.

    This feature is important to us mobile developers using Construct 3, since it reduces a lot of event sheet cycling, saving us performance, especially with projects that already have lots of events in the project.

    I hope you could consider it.

    Thank you!

  • That was my first assumption and I always got undefined. But now, I tried again, it worked perfectly, not sure what I did wrong before though.

    Thank you very much!

  • Hi Ashley

    Could we request a way to add methods inside the IBehaviorInstance that isn't a getter or setter. I need it to make an interface of actions that includes multiple parameters, and support a return value as well.

    I tried doing it like the Physics behavior, but it responds undefined.

    Kindly advise. Thank you.

  • Hi everyone, the Mobile Toast addon will be deprecated soon, due to Android 11's deprecation of the feature.

    I plan to write a web alternative for it, in the future. However, in the meantime, please remove it from your projects.

    Thank you.

  • Hi frayt,

    For non-mobile applications, the PlayFab Master Collection should be enough.

    However, for mobile applications, it is recommended to get the mobile authentication modules as well, including the Mobile Facebook, Mobile Google SignIn and Mobile Info, these are in the Mobile Master Collection.

    For mobile development, I recommend the Construct Collection to get most of the features. However, for other types of development, the PlayFab Collection is enough.

  • Hi, I don't understand how a Hex editor is relevant here. Construct 3 uses a simple JSON project structure, which is readable.

    You can simply insert, remove and append the objects. Or, replace the actual .json files.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Release 12.1 - Patch Update

    This is a continuation update of yesterday's Release 12.0, fixing some minor file issues.

    Check out the website for more information.

    Thank you!

  • Release 12.0 - Major Stable Update

    New stability update, focused in fixing a lot of bugs, and additional compliance with the new Construct 3 requirements, including the new modules and advanced closure compiler. There are also SDK updates and maintenance with the mobile and IronSource addons, new features, and a new mobile addon.

    Check out the website for more information.

    Thank you!

  • Hi lucid, thanks for the new update. For some reason, I've got a significant performance boost from your new update.

    Since you're probably busy with Spriter 2, I've updated the plugin's latest version for compliance with the new advanced closure compiler requirements. I've listed here the ones that I've slightly appended.

    Also since the new closure compiler has a debugger for undefined references, I've changed a few typos as well. Kindly review them if it's to your standards.

    1. objInfo > objInf
    2. speedRatio > this.speedRatio

    Here's the updated plugin.

    Thank you.