Jump to content

How do I refresh Phaser's cache?


Recommended Posts



I've encountered this before, I just don't remember what the command was. Maybe someone here can remind me of it. I'm trying to do:



create: function () {


  game.load.image('newimage', 'url');


  game.cache.refresh();  // I need the command like the one below that will update the game cache with the loaded image data and let me access (adding to stage etc..) the newimage key above:



Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...