tyson Posted February 22, 2013 Share Posted February 22, 2013 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. Quote Link to comment Share on other sites More sharing options...
rich Posted February 22, 2013 Share Posted February 22, 2013 What's the error? Not that I've ever used Cocos2d but I am curious to know. I always avoided accelerometer games because you can't stop the browser rotating if you turn just a little bit too far, but love to see that someone is doing it! Quote Link to comment Share on other sites More sharing options...
tyson Posted February 24, 2013 Author Share Posted February 24, 2013 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.