Node

What nodes are and how they can be used is covered in Nodes section. This page will cover how Cocos Studio can be used to create nodes. The following section covers importing the node into Cocos using code http://cocos.sonarlearning.co.uk/v1.0/docs/importing-a-scene-into-cocos.

Nodes in Cocos Studio are great as it allows you to create your own objects containing other objects that can easily be reused. Any modifications made to the Node including it's objects will affect all instances of the Node.

Creating A Node

Go to File/New File

434

Note: *You can also right click in the Resources section and click New File*

Select Node

Name your node and click New

462

Note: Don't worry about the size at this point as you can't change it, it will be dependent on the objects placed inside the node

Node Location In Cocos Studio

The node can be accessed from the Resources section.

256

Modifying The Node

Double click to open the Node if it isn't open. The node will appear in the middle canvas, this canvas can be used to construct your node by dragging on objects from the Objects section.

1322