Forum Libraries, Components, and Plugins

What are the different types of nodes?

Is there any documentation that describes the different types of CCNodes that are available? For example, what is the difference between CCGeometryNode and CCDrawNode?

Also, if I wanted to draw a red square in a scene, can I just use a base CCNode and set the position and size and color? I tried that but nothing rendered. I then tried CCDrawNode and that worked, but I was surprised to see that CCDrawNode required coordinates of the rectangle instead of using the node's position and size. I seem to be missing some basic overview of how CocosSharp works.

Any links to basic documentation avaiable?

Best Answers

Answers

  • ShawnCastrianniShawnCastrianni USBeta ✭✭✭

    Thanks, but what if I need more detail? Are there performance ramifications when trying to draw a colored rectangle with CCDrawNode versus CCSprite?

Sign In or Register to comment.