Redefined how scenes work. The function that is passed to the create() method is now only fired once when the scene is created. This function has to add objects to the scene by using this.add(obj). When a scene is then loaded all added objects are drawn to the canvas. When unloading a scene all added objects are removed from the canvas.
Redefined how scenes work. The function that is passed to the create() method is now only fired once when the scene is created. This function has to add objects to the scene by using this.add(obj). When a scene is then loaded all added objects are drawn to the canvas. When unloading a scene all added objects are removed from the canvas.

koggdal/ocanvas,1up-lab/ocanvas