Content

vikingsmackdown.com Brilliant Simple Idea

Wednesday 9 July 2008 - Filed under iphone

Developing iPhone stuff with Cocoa, Objective-C and xCode? Take a look at www.vikingsmackdown.com. If you don’t have an iPhone, you can view the video in this article from TechChurch.

I thought it was built with the accelerometer and stuff but it was just JavaScript! It listens to a Safari browser event, “onorientationchange”. So technically, it’s not motion sensing. It’s a very old JavaScript event “onresize”. All other phones with a rotatable browser can also implement this diea.

More information of developing JavaScript based applications or games can be found at Apple Web Apps DevCenter.

Tagged:

2008-07-09  »  5566

Share your thoughts

Re: vikingsmackdown.com Brilliant Simple Idea







Tags you can use (optional):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

For spam filtering purposes, please copy the number 3976 to the field below: