Tagged Under: HTML5

IndexedDB

Offline Storage, IndexedDB and the onbeforeunload/unload Problem

October 16th, 2014

Offline storage is one of the best parts about HTML5. No longer do you have to always send client data back to a server where we have to communicate back and forth if we don’t need to. Say we are saving some user preferences for an app, or saving some game data on close/exit. Say you are working on a document and accidentally close or refresh the tab.

Read the Rest... This post currently has no responses.

Nearest-neighbor

State of Nearest-neighbor Interpolation in Canvas

November 8th, 2013

Nearest-neighbor interpolation is the bread and butter of pixel art and a staple for many indie games. It’s what allows us to create crisp and sharp pixelated graphics, responsively without exporting all our graphics upscaled via image editing software.

Read the Rest... This post currently has 7 responses.

Saving and Loading Objects (or Arrays) in localStorage

November 22nd, 2012

Although localStorage is not very popular (due to size browser sizing constraints and lack of consistency), it can still be a great (and fairly cross-browser) way for storing lots of data. About 2.49-4.98MB worth depending on the browser.

Read the Rest... This post currently has 37 responses.

TOP