farhan Posted August 22, 2018 Share Posted August 22, 2018 Hi, I hope someone can help me. Does phaser 2 support data uri? Can it load data uri? I hope someone can give some sample codes on how to load data uri for images, audio and video and how to add or use it in game using Phaser 2. If there are tutorial samples somewhere, feel free to point that out. I am using Phaser CE v2.11.0 | Pixi.js | WebGL | WebAudio http://phaser.io ♥♥♥ Thanks. Link to comment Share on other sites More sharing options...
samme Posted August 22, 2018 Share Posted August 22, 2018 I think so. Just pass the URI to the load methods. Link to comment Share on other sites More sharing options...
farhan Posted August 23, 2018 Author Share Posted August 23, 2018 Oh wow, it works! I didn't know why it wasn't working the first time I tried, maybe I pass in a wrong data. But now everything works fine! Audio, Video, Images works great. Link to comment Share on other sites More sharing options...
Recommended Posts