I’m having a problem with downloading textures from a remote server. Actually it can be broken into two issues:
My images URLs ends with …mydomain.com/getImage?path=remote/images/duck.png - Play Canvas code treats “.com/getImage” as a file extension (unknown file extension) and doesn’t let me use this file as a texture.
That would be fine if I could, as an alternative, just use the standard base64-encoded pngs. But I cannot make this work ;). I tried this.app.assets.loadFromUrl, tried pc.Asset constructor with ‘url’ param - both didn’t work.
Is there any proper way to create/initialize a Texture/Asset using base64-encoded png file?