Changes

Jump to: navigation, search

Platform/AreWeFunYet

2,127 bytes added, 22:26, 15 March 2012
Local file storage
* [https://developer.mozilla.org/en/DOM/event/UIEvent/KeyEvent#Constants MDC documentation on key codes]
= Local Asset Management = [https://games.etherpad.mozilla.org/19 Feedback from Games Work Week] From a game developer: ''"A robust resource/asset loading/unloading/streaming system - The browser is capable of doing a whole lot on this end, particularly streaming and fetching from remote sources. However, a game developer's problem isn't just obtaining and loading the assets, it's managing them from a memory and "readyness" point of view. This is especially key in mobile spaces where you are severely constrained by memory and the traditional mindset of "load all of a level's assets at start and play" begins to break down."'' Gladius is actually working on code for this, and our current theory is that we expect to split it out into a standalone library before too long. == IndexedDB == IndexedDB is a database specification with a bad name. It allows storing large amounts of data client side. It's currently a W3C working draft and in various levels of support in Firefox, Chrome and IE 10. The Firefox 11 implementation is basically feature complete and we expect the IE10 version to be very close to complete once IE10 launches. Chrome is lagging behind currently, but still supports a large part of the specification. IndexedDB supports storing a large set of data types directly in the database. This includes JSON objects, binary ArrayBuffers, ArrayBufferViews and Blobs/Files. IndexedDB will write separate Blobs as separate files in the OS file system which means that database operations won't be slowed down even if you store very large Blobs directly in IndexedDB. However we don't know if the OS file storage system too slow? Especially when scaling up to lots of files in a single OS directory. How big are these files usually. We've been talking about making the IndexedDB back-end collapse small files into a big OS-file. This would reduce reliance of OS large-directory handling. == DeviceStorage API =We're planning on implementing the the [[WebAPI/DeviceStorageAPI|DeviceStorage API]] which will give pages access to the system's "Pictures" and "Documents" folders. This can be useful for things like saving screenshots etc.
== Current state ==
Confirm
716
edits

Navigation menu