[Resolved] Noob question about HTML5 rendering

[Resolved] Noob question about HTML5 rendering
0.0 0



Im new on HTML 5, so i don’t if im asking something really dumb.

But, cocos2d-x HTML5 render the graphics using Webkit in the background? Or not, just pure JavaScript?



Cocos2d-X relies on the Canvas tag. You can learn about it here: http://www.w3schools.com/html5/html5_canvas.asp

Basically, this HTML tag allows you to manipulate how it is drawn through JavaScript code.

For your particular question, you use only JavaScript to tell the browser how to draw everything. It handles the rest.

Hopefully that’s a decent answer to the question. If not, ask more :slight_smile: