mdhdev Posted August 26, 2016 Share Posted August 26, 2016 Is it possible to take an image from the cache and use it to set a css background? I am currently setting the background of the page depending on the current level but there is a slight delay whilst the image loads up. If I can use the Phaser cache for this, that would be perfect. Link to comment Share on other sites More sharing options...
samme Posted August 29, 2016 Share Posted August 29, 2016 Any images in Phaser's cache have been downloaded by the browser so usually they should be in the browser's cache too. Look in the "Network" pane of your browser's dev tools and you should be able to compare the 2 requests. Link to comment Share on other sites More sharing options...
Recommended Posts