Starter Code
The example code in the starter repo is pretty extensive and heavily commented. I will be adding documentation here as well, but encourage you to use the different example scenes as your main source of inspiration. You can run the different example scenes by commenting out a different scene selection in SceneSelection.tsx:
let SceneSelection:Scenes = Scenes.Main; // This example is an empty scene. Room to fill with your hopes and dreams...
// let SceneSelection:Scenes = Scenes.Example1; // Articulated spiky shapes. Cool.
// let SceneSelection:Scenes = Scenes.Example2; // Lab Cat wants to help!
// let SceneSelection:Scenes = Scenes.Example3; // Potentially good starting point for a pyramid animation type scene...
// let SceneSelection:Scenes = Scenes.Catamari; // Catamari updated to work with control panel and NodeTransform2D class
Main Scene
This is an empty scene for you to fill with your imagination...
Catamari
The new repo contains a completed version of the Catamari game updated to use NodeTransform2D
's to represent transformations.
Example 1
Articulated object and procedural spiky geometry.
Example 2
Lab Cat wants to help you implement particle systems and show you how to use keyboard and mouse controls. And how to texture geometry; in this case, with Lab Cat's face...
Example 3
Potentially good pyramid starger. Also shows an example of a custom graphics element, and specifying triangle geometry (rather than polygon).