I'm working on my first game, and want to know how to create new layer / scene files in Xcode. I know I have to go to File>>New File, but what do I select?
Thanks for the help!
A fast, easy to use, free, and community supported 2D game engine
I'm working on my first game, and want to know how to create new layer / scene files in Xcode. I know I have to go to File>>New File, but what do I select?
Thanks for the help!
Select cocos2d, then CCNode subclass, then inside where it says:
@interface YOURCLASSNAME : CCNode
change CCNode to CCLayer. Then you can copy the contents of the default template class if you don't want to do the .m manually.
Gray
Thanks for the help!
You must log in to post.