Search the Community
Showing results for tags 'cdn'.
-
Hi guys, I am using phaser to dev a game, currently I got a problem that, I want to deploy my assets resource on a cdn, so I need to make a resource loader for these assets. the basic logic is that firstly I will start fetch the resource from cdn, after serval seconds, if I can not get the resource, I will switch the way to get the assets from local. for the phaser, I do not know how to check if game.load.image/ game.load.atlasJSONHash can get the corresponding resource. so is there anyone have idea how should I handle this, thx.
-
Hi, I'm a bit a new to Panda.JS. is there a way to load up image assets stored on a CDN? e.g Amazon In Phaser it's something like this: Remove the next 2 lines if running locally this.load.baseURL = 'http://files.phaser.io.s3.amazonaws.com/codingtips/issue008/'; this.load.crossOrigin = 'anonymous'; this.load.image('alien', 'assets/ufo.png');Is there a similar way to achieve this with Panda.js? Thanks
-
Trying to use this: https://cdnjs.cloudflare.com/ajax/libs/phaser/2.0.1/phaser.min.js results in an nginx 404