Search the Community
Showing results for tags 'indexeddb'.
Found 3 results
Hello, guys! I'm looking for an answer how it's better to store image data when I use Phaser: via localStorage or via IndexedDB? I have looked through some articles and made a conclusion that IndexedDB suits better, but how can I get images from it via Phaser? Thank you in advance!
1) I was looking to implement indexedDB for my project but quickly realised chrome doesn't support textures yet, however after a bit of searching I found this: http://updates.html5rocks.com/2014/07/Blob-support-for-IndexedDB-landed-on-Chrome-Dev So support is now in the dev version, and looks to be coming to the stable version soon. Does this need any changes to babylon or will it automatically work when chrome gets the updated? I amusing the dev version but can't tell if it's working or not! 2) A lot of my textures are brought in at run-time (not from within a scene), such as with the skybox example. Is there anyway to get these retained in indexedDB? If not is this something that can be added to the roadmap?