API Docs for: 0.1.0
Show:

CG.CanvasRenderer Class

Extends CG.Class
Module: CG

A CanvasRenderer with WebGL and Canvas 2D fallback would be really nice ;o) How to implement all the different classes....?

Or make it like Phaser and implement pixi.js?

Item Index

Methods

Methods

draw

(
  • renderObject
)

central draw method for all objects that draws to the canvas

Parameters:

  • renderObject Object

    the object to render

init

()

Returns:

: