Question regarding Creator's Graphics API

I want to use Creator’s Graphics API to draw some circles, lines, semi-circles etc. My main concern for now is performance and not disk space, so I would like to know how slow or fast does a node that uses graphics API renders in comparison to a normal sprite created from a file.

Is Graphics API compatible with WebGL? How about a classic DrawNode?

In terms of performance which is better to use? Classic Sprites, Graphics API or DrawNodes? Thank you!

Good question. Let me ask our engineering team to provide advice. I can see doing it both ways. Sprites might be better because they are auto-batched where as DrawNodes are not without some thinking about how you structure them i.e they are not auto-batched.

Hi, Graphics API is better to use. It supports WebGL.