iDevGames Forums
cocos2d with Mac support - Printable Version

+- iDevGames Forums (
+-- Forum: Community Zone (/forum-4.html)
+--- Forum: Announcements (/forum-17.html)
+--- Thread: cocos2d with Mac support (/thread-8058.html)

cocos2d with Mac support - ricardoquesada - Sep 1, 2010 01:18 PM


I happy to announce that cocos2d, since v0.99.5-beta2, supports Mac as a target platform.

If you are developing an iPhone/iPad game with cocos2d/CocosDenshion, then you can support the Mac platform too with minimal changes.

How to support Mac:
  • You need to initialize the Director / OpenGL view in a different way
  • You need to support mouse and/or keyboard events instead of touches/accelerometer events

...the rest of the source code should be the same.

The cocos2d-mac project includes several tests that shows how to use it.

For further info about cocos2d for Mac, please see this post. Thanks.

RE: cocos2d with Mac support - skyhawk - Sep 2, 2010 12:15 AM

<3 riq

I've been waiting for this so long. =)

After I'm done with my current game for iPad, I might have to look into porting my old ones to cocos2d for mac