Choose your own cache.manifest
I love the HTML5 cache manifest functionality more than the internet itself. It lets me carry my crazy proof-of-concepts around in my pocket - offline - to test out on the train to-and-fro the...
View ArticleiOS 4.3 Geolocation in web apps
Update: problem solved(ish)! See below... Not again you Apple monsters! Last time it was multi touch that you decided to take from us, this time it's geolocation. Upgrading my iPhone 3GS to iOS4.3...
View ArticleCanvas and Inputs aren’t friends
Here are some cursory notes on a peculiar issue involving plummeting frame-rates when drawing input elements in DIVs that overlap canvas elements in fullscreen web apps. That's the kind of market I'm...
View ArticleDOMTimeStamp fun
Here's today's fun-with-mobiles tidbit of pain. The extremely entertaining Geolocation API (entertaining to use, not to read) provides the current timestamp in DOMTimeStamp format along with...
View ArticleMr Speaker as a test case
"Code so good, you'll base your unit tests on it - that's my promise to you!". At least that's how I'm going to look at it. I was hunting up some info on QtWebKit (the Qt port of WebKit, obviously) and...
View ArticleSemantic game making
HTML5 means one thing, and one thing only: games! Okay, that's not true at all. Not even close, but heck - we are seeing stacks of fantastic games emerge, and the buzz that surrounds even the more...
View ArticleCode like you’re Notch
Rich Jones learned stuff from watching Notch code. I learnt some stuff too. Six hundred games: invented, designed, and coded - in 2 days. That was the Lundum Dare game competition #21, held from the...
View ArticleNavigate the web with your gamepad
How crap is the mouse, right? Yeah, I know! So I made a greasemonkey script to do my websurfin' using my NES-style USB gamepad. For those of you too excited to read on, take your gamepad-enabled build...
View ArticleColourising sprites in Canvas – part 2
And we're back! In part one we looked at setting up a tinted palette for drawing our 8-bit masterpieces to canvas. Here's what we're going for today: rendering colourised sprites and tiles. We'll be...
View ArticleWeird EventSource problems? Watch your content-length!
Super short version: If you're using Server Sent Events, and it doesn't work in Firefox because "Firefox can't establish a connection to the server at..." and it's not a CORS problem... make sure...
View ArticleNicer random colours, with HSL
As many of you may know from my complaining, I've currently embarked on a new writing mission: a CoffeeScript book for SitePoint. The example project that runs throughout is an HTML5 game using Canvas....
View ArticleOculus Rift Reddit Internet Explorer
Recently both Firefox and Chrome released VR-enabled version of their browsers. Just as Lawnmower Man predicted. I decided to test them out with the Rift, by hacking together "Mr Speaker's Internet...
View Article
More Pages to Explore .....