Publish

After editing resources in Cocos Studio, you need to publish them if you want to use them in Cocos 2d-x. In Cocos Studio, project files are stored in .xml format. After publishing, some unnecessary data will be removed from the project file and at the same time.xml file is transferred into FlatBuffers and JSON, which are faster and memory efficient.

To publish resources, do the following:

1 Open HelloCcocos, click the publish button image, and the resources are published.

2 Click Publish and Package, a dialog box will pop up.

image

image

3 Publish resources

4 Select a Publish Type, and then click Setting, you can see the following window for project settings.

image

image

5 Publish