开发者

Any idea about an iPhone Accelerometer Library?

开发者 https://www.devze.com 2022-12-28 14:58 出处:网络
Have looked so long for a library specialized in dealing with iPhone Accelerometer but couldn\'t find anything.

Have looked so long for a library specialized in dealing with iPhone Accelerometer but couldn't find anything.

I have made some few sample apps, but none reaches a level of accuracy as in Labyrinth games for example, so any idea about a library for that? Or maybe an open source app开发者_StackOverflow中文版?

Would be better if it's integrated in a Physics library

UPDATE: I didn't mention it, but i don't want to use game engines. Specially now, that their future is still unknown. ObjC libraries or tutorials would be better.


I highly recommend looking at tweejump. It's basically an open source version of games like Doodle Jump. It really helped me learn how to use the accelerometer to control an object on the screen.

Although you said you didn't want any game engines, this is powered by the Cocos2D library. However, Cocos2D is written in Objective-C, so there shouldn't be any issue getting anything powered by Cocos2D passed Apple.

Best of luck!


It seems that it may just be easier for you to use a game engine that works with iPhone if you are looking to make a game. Here are 2 engines that export to iPhone GameSalad or Unity 3D

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号