| 12345678910111213141516171819202122 |
- // This script is the main entry point of the game
- // called at the start of play
- function Start() {
- var game = Atomic.game;
- // create a 2D scene
- game.createScene3D();
- // create the game component
- var node = game.scene.createChild("TheScene");
- node.createJSComponent("Scene");
- }
- // called per frame
- function Update(timeStep) {
- }
|