Plugin sdk v2 - Image url in dom sdk

0 favourites
  • 3 posts
From the Asset Store
Easily integrate Telegram Mini Apps SDK into your Construct 3 projects for building interactive apps and games.
  • Hello Ashley

    I was formely using:

    	this._objectClass.GetImageInfo()._url
    

    in a DOM plugin (Map.ly marker as a matter of fact) in sdk V1

    As I am porting it to sdk V2, it seems that:

    	this.objectType.getImageInfo()._url
    

    doesn't exist in ISDKDOMInstanceBase.

    Maybe I haven't look at the right place or it is not provided.

    Could you provide some support/guidance about this please ?

    Tagged:

  • It looks like you were exploiting the lack of proper encapsulation in JavaScript to use undocumented and unsupported APIs. The addon is already at risk of breaking at any time. We had a big red warning in the documentation saying not to do that.

    This is the very problem we're trying to solve with the Addon SDK v2 - you should not have done that, we said we wouldn't support anyone doing that, and that support for such features could be removed at any time.

    You'll need to find a new way to do this in the Addon SDK v2, or submit a feature request.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hummm ok.

    I suspected that.

    Thank you for the answer.

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