cocos2d with Mac support

Posts: 21
Joined: 2008.06
Post: #1

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.
Quote this message in a reply
Posts: 916
Joined: 2002.10
Post: #2
<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
Quote this message in a reply
Post Reply