Animated game for web and iPhone - how?
I would like to create arcade game (cartoon style). I need framework/technology to create one c开发者_如何转开发ode and use it on website and iPhone in same way. Is it possible?
Two possibilities:
- Unity 3D (needs a plugin on the web)
- HTML5 + Canvas (via mobile Safari on the iPhone)
The very popular cocos2d framework is now available in a JavaScript/HTML flavor. The press release has more specific information:
The first joint release of the cocos2d family
cocos2d is free and heavily used. There are numerous tutorials on the iPhone variant that are somewhat adaptable to the -x variant. One, very popular iOS tutorial site Ray Wenderlich, has lots of great information to get started.
There is active discussion and work being done with cocos2d to make one codebase work across iOS, Android, Windows Phone, Blackberry, and HTML.
精彩评论