Jump to content

Odd bug in iOS5 Safari accelerometer?


tyson
 Share

Recommended Posts

Hi all, working on a accelerometer-based game and have come across a strange bug.

 

On iOS6 it works perfectly, but on iOS5 it has a mysterious error that I can't seem to debug at all.

 

I'm using Cocos2d-html5.

 

Can anyone shed some light on this? Any major quicks in iOS5 Safari that were fixed in iOS6?

 

Demo shows some accelerometer values and some sprites and tilemap.

 

http://www.tysonross.com/temp/flying_game/index.html

 

Cheers.

Link to comment
Share on other sites

One of those mysterious "TypeError:’undefined’ is not an object" errors.

 

Desktop debugging didn't show an error, remote debugging in iOS6 didn't show an error, Firebug Lite and other remote js debuggers didn't show anything.

 

Hoping its a Cocos2D bug but first time I've run into an error that seems to be iOS5 Safari specific!

 

Cheers.

 

Tyson

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...