You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been working on playable ads, some platforms require you inline your whole ad in to one single html file, so all assets have to be base64string encoded, now I know you could follow this tutorial: https://supernapie.com/blog/loading-assets-as-data-uri-in-phaser-3/ to find out how to convert json and png files to uri and it explains how to use them, then you could build your project and inline it using inliner the npm package, now, my problem is we would like to use the spine plugin which is in https://github.com/photonstorm/phaser/tree/master/plugins/spine/dist/ , and this requires you use this.load.spine(key,jsonFilePath,atlasFilePath) to load the spine required assets, is there any way we could pass it URIs and make it work ? I would be really grateful for any insight or help, much respect for the wonderful effort everyone has put into this engine.
This discussion was converted from issue #5896 on November 04, 2021 12:06.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have been working on playable ads, some platforms require you inline your whole ad in to one single html file, so all assets have to be base64string encoded, now I know you could follow this tutorial: https://supernapie.com/blog/loading-assets-as-data-uri-in-phaser-3/ to find out how to convert json and png files to uri and it explains how to use them, then you could build your project and inline it using inliner the npm package, now, my problem is we would like to use the spine plugin which is in https://github.com/photonstorm/phaser/tree/master/plugins/spine/dist/ , and this requires you use this.load.spine(key,jsonFilePath,atlasFilePath) to load the spine required assets, is there any way we could pass it URIs and make it work ? I would be really grateful for any insight or help, much respect for the wonderful effort everyone has put into this engine.
Beta Was this translation helpful? Give feedback.
All reactions