Browse Source

Better empty project, include the crate asset file for scale

Josh Engebretson 10 years ago
parent
commit
0702182555

+ 0 - 1
Data/AtomicEditor/ProjectTemplates/.gitignore

@@ -1,2 +1 @@
-*.asset
 */Cache/*

+ 3 - 11
Data/AtomicEditor/ProjectTemplates/EmptyProject/Resources/Scripts/main.js

@@ -1,17 +1,9 @@
 
 // This script is the main entry point of the game
-require("AtomicGame");
 
-Atomic.game.init(start, update);
-
-// called at the start of play
-function start() {
-
-	var game = Atomic.game;
-}
-
-// called per frame
+// called per frame, optional
 function update(timeStep) {
 
-
 }
+
+exports.update = update;

+ 9 - 0
Data/AtomicEditor/ProjectTemplates/Project3D/Resources/Models/Chest.fbx.asset

@@ -0,0 +1,9 @@
+{
+	"version": 1,
+	"guid": "2788364e8ff6f81f4b566a9d58e3fb5b",
+	"ModelImporter": {
+		"scale": 0.01,
+		"importAnimations": false,
+		"animInfo": []
+	}
+}