Chadori's Forum Posts

  • Here is the Photon JS SDK for context, in case you are curious.

  • Hi Ashley,

    There seem to be some SDKs that do not support worker threads, like Photon Cloud's SDK.

    Here are some sample methods:

    SDK.prototype.isConnected
    SDK.prototype.isInLobby
    SDK.prototype.isJoinedToRoom
    SDK.prototype.isConnectedToGame
    SDK.prototype.availableRooms
    

    These methods are in their SDK.js. The SDK.js is loaded through an external-dom-script dependency. However, there are methods that do not have anything to do with the DOM, which have properties that are only compared or parsed, hence synchronous.

    The issue is that I don't know a way for the domSide.js and instance.js to communicate synchronously. For instance, a condition called Is Connected or an expression called AvailableRooms().

    I could call PostToRuntime() every time the properties inside a method changes and recreate the methods inside the instance.js. However, most of the methods in the SDK are convolutedly hardcoded, there are no specific target where changes can be listened to, it would need an entire rewrite of the SDK, and that's not practical since the SDK will always be rewritten for every new version.

    I managed to workaround some simple SDKs like PlayFab. Although, SDKs or libraries like Photon can't seem to support it.

    Kindly advise. Thank you.

    Tagged:

  • Also, could you confirm if we can use these methods as well?

    this.AddDOMMessageHandlers([[handler, e => callback(e)]]);
    this.AddRuntimeMessageHandlers([[handler, e => callback(e)]]);
    

    Thank you.

  • Hi Ashley,

    Is the PostToRuntime(handler, data) an official SDK method, I can't seem to find it in the SDK and it is the method that best suits my addons. I can only find PostToRuntimeAsync being mentioned. Can you confirm?

    Thank you.

    Tagged:

  • Construct 3 r227.2 now allows the collection addons to work, please update your Construct 3 to the latest version. Until R11 releases, kindly set the Scripts Type property to Classic. Thank you.

  • Announcement

    Hi everyone, some of you might have noticed that the new modules support is causing issues with the collection addons. Until the issues are resolved, please use the stable r225 version for now.

    Due to some technicalities, mostly for support with older Android devices, we are required to implement the worker mode feature beforehand, to be able to overcome the current issues. These changes are also related to the new closure compiler support.

    It is a goal to release R11 soon, which will include the solution to these issues.

    The master collection will also be moved into GitHub for source control, in hopes of hastening the packaging time for each release, to save time for more maintenance and additions in the collection, and most especially for quick delivery of updates.

    Thank you for your time, that's all for now.

  • Yeah, I figured that could also be an issue.

    I understand. Thank you for your time.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Ashley,

    Is it possible we can override to choose the Google Play Services Version in the SDK? Like if some SDKs can only support lower versions, we can override the Cordova export using the Addon SDK, so that Construct 3 will choose the lowest supported version, based on the Plugin Info.

    In this way, we can align the Play Services Version throughout all the Cordova plugins in Construct 3.

    Thank you for your time.

    Tagged:

  • Mobile IronSource Collection : Full SDK Update!

    Hi everyone, I would like to announce that the entire Mobile IronSource Collection has been updated to the latest Android IronSource SDK and iOS IronSource SDK.

    Each mediation ad-network adapter has been updated as well, to their latest Android and iOS SDKs.

    Purpose of update

    1. Fix bugs reported on GitHub.
    2. Fix the new Admob Ads issue on iOS, with IronSource.
    3. Improve ad-revenue by using the latest improvements made by IronSource.
    4. Remove the deprecated ad-network MIntegral.
    5. Complete the iOS 14 support for all ad-networks.
    6. Make a separate plugin for TikTok Ads (China) for apps released in China. And, use the current TikTok Ads addon for apps released outside China.

    Updated Cordova Plugins

    The native files of the following addons below have been updated.

    Primary addons

    1. Mobile IronSource
    2. Mobile IronSource (Debug)

    Mediation ad-networks

    1. AdColony Ads
    2. Admob Ads
    3. Amazon Ads
    4. AppLovin Ads
    5. Chartboost Ads
    6. Facebook Ads (Facebook Audience Network)
    7. Fyber Ads
    8. HyprMX Ads
    9. InMobi Ads
    10. Maio Ads
    11. MIntegral Ads (Deprecated by IronSource)
    12. Pangle Ads (TikTok Ads)
    13. Tapjoy Ads
    14. Unity Ads
    15. Vungle Ads

    New mediation ad-networks

    1. Pangle Ads (TikTok China)

    The following updates were done from the native-side, so the current latest Release 10.6 addons should be compatible.

    An official update will follow soon, which will include the other new updates in the collection.

    Thank you.

  • correct. minified scripts cause issues with the Spriter plugin. It's been years since we discovered this, so I don't remember what specifically what caused the issue.

    Hi lucid, regarding the minifier, there is a new breaking change 3 months ago that requires a few modification to all existing addons to support the new minifier.

  • Thanks! It works now.

  • Hi lucid,

    It seems I cannot load the new version in Construct 3 (r221), due to this error:

    Could you check it out?

    Thank you.

  • Thank you for the awesome release!

  • Apologies, it was a false alarm, I've now edited the previous post. After further tests, the IronSource addons are actually building successfully.

    The Mobile IronSource Collection is doing fine and no issues are found.

    Except, for the gradual deprecation of the ad-network MIntegral. Kindly remove it from your project. Thank you.

  • Thanks!