Josh Engebretson 10 gadi atpakaļ
vecāks
revīzija
b1df4affb7
61 mainītis faili ar 703 papildinājumiem un 0 dzēšanām
  1. 1 0
      Chickens/.gitignore
  2. 0 0
      Chickens/Chickens.atomic
  3. 5 0
      Chickens/Resources.asset
  4. 5 0
      Chickens/Resources/Components.asset
  5. 73 0
      Chickens/Resources/Components/Input.js
  6. 7 0
      Chickens/Resources/Components/Input.js.asset
  7. 48 0
      Chickens/Resources/Components/Player.js
  8. 7 0
      Chickens/Resources/Components/Player.js.asset
  9. 16 0
      Chickens/Resources/Components/Spinner.js
  10. 7 0
      Chickens/Resources/Components/Spinner.js.asset
  11. 5 0
      Chickens/Resources/Models.asset
  12. BIN
      Chickens/Resources/Models/Ground.fbx
  13. 9 0
      Chickens/Resources/Models/Ground.fbx.asset
  14. 5 0
      Chickens/Resources/Models/Materials.asset
  15. 16 0
      Chickens/Resources/Models/Materials/Chicken.material
  16. 5 0
      Chickens/Resources/Models/Materials/Chicken.material.asset
  17. 16 0
      Chickens/Resources/Models/Materials/Comb.material
  18. 5 0
      Chickens/Resources/Models/Materials/Comb.material.asset
  19. 15 0
      Chickens/Resources/Models/Materials/DefaultMaterial.material
  20. 5 0
      Chickens/Resources/Models/Materials/DefaultMaterial.material.asset
  21. 8 0
      Chickens/Resources/Models/Materials/Material.001.material
  22. 5 0
      Chickens/Resources/Models/Materials/Material.001.material.asset
  23. 5 0
      Chickens/Resources/Models/Materials/Skybox.material
  24. 5 0
      Chickens/Resources/Models/Materials/Skybox.material.asset
  25. BIN
      Chickens/Resources/Models/chickenV2.fbx
  26. 15 0
      Chickens/Resources/Models/chickenV2.fbx.asset
  27. 5 0
      Chickens/Resources/Prefabs.asset
  28. 67 0
      Chickens/Resources/Prefabs/Chicken.prefab
  29. 5 0
      Chickens/Resources/Prefabs/Chicken.prefab.asset
  30. 5 0
      Chickens/Resources/Scenes.asset
  31. 227 0
      Chickens/Resources/Scenes/Scene.scene
  32. 5 0
      Chickens/Resources/Scenes/Scene.scene.asset
  33. 5 0
      Chickens/Resources/Scripts.asset
  34. 10 0
      Chickens/Resources/Scripts/main.js
  35. 7 0
      Chickens/Resources/Scripts/main.js.asset
  36. 5 0
      Chickens/Resources/Sound.asset
  37. BIN
      Chickens/Resources/Sound/chicken.wav
  38. 5 0
      Chickens/Resources/Sound/chicken.wav.asset
  39. 5 0
      Chickens/Resources/Textures.asset
  40. BIN
      Chickens/Resources/Textures/ChickenDiffuseMap.png
  41. 5 0
      Chickens/Resources/Textures/ChickenDiffuseMap.png.asset
  42. BIN
      Chickens/Resources/Textures/ChickenNormalMap.png
  43. 5 0
      Chickens/Resources/Textures/ChickenNormalMap.png.asset
  44. 5 0
      Chickens/Resources/Textures/Skybox.asset
  45. 9 0
      Chickens/Resources/Textures/Skybox/Skybox.xml
  46. BIN
      Chickens/Resources/Textures/Skybox/negx.jpg
  47. 5 0
      Chickens/Resources/Textures/Skybox/negx.jpg.asset
  48. BIN
      Chickens/Resources/Textures/Skybox/negy.jpg
  49. 5 0
      Chickens/Resources/Textures/Skybox/negy.jpg.asset
  50. BIN
      Chickens/Resources/Textures/Skybox/negz.jpg
  51. 5 0
      Chickens/Resources/Textures/Skybox/negz.jpg.asset
  52. BIN
      Chickens/Resources/Textures/Skybox/posx.jpg
  53. 5 0
      Chickens/Resources/Textures/Skybox/posx.jpg.asset
  54. BIN
      Chickens/Resources/Textures/Skybox/posy.jpg
  55. 5 0
      Chickens/Resources/Textures/Skybox/posy.jpg.asset
  56. BIN
      Chickens/Resources/Textures/Skybox/posz.jpg
  57. 5 0
      Chickens/Resources/Textures/Skybox/posz.jpg.asset
  58. BIN
      Chickens/Resources/Textures/dry_grass.png
  59. 5 0
      Chickens/Resources/Textures/dry_grass.png.asset
  60. BIN
      Chickens/Resources/Textures/grass_mossy.png
  61. 5 0
      Chickens/Resources/Textures/grass_mossy.png.asset

+ 1 - 0
Chickens/.gitignore

@@ -0,0 +1 @@
+Cache/*

+ 0 - 0
Chickens/Chickens.atomic


+ 5 - 0
Chickens/Resources.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "99083cbf13981b94522d80e862d49ea4",
+	"FolderImporter": {}
+}

+ 5 - 0
Chickens/Resources/Components.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "26e1519fd4c0aeb66710ffc11d4801da",
+	"FolderImporter": {}
+}

+ 73 - 0
Chickens/Resources/Components/Input.js

@@ -0,0 +1,73 @@
+"atomic component";
+
+var component = function(self) {
+
+    var yaw = 0;
+    var pitch = 0;
+    var node = self.node;
+
+    // Movement speed as world units per second
+    var MOVE_SPEED = 20.0;
+    // Mouse sensitivity as degrees per pixel
+    var MOUSE_SENSITIVITY = 0.1;
+
+
+    self.start = function() {
+    
+        Atomic.audio.listener = node.getComponent("SoundListener");
+
+    }
+
+    self.update = function(timeStep) {
+
+        // Use this frame's mouse motion to adjust camera node yaw and pitch. Clamp the pitch between -90 and 90 degrees
+        var mouseMove = Atomic.input.mouseMove;
+
+        yaw += MOUSE_SENSITIVITY * mouseMove[0];
+        pitch += MOUSE_SENSITIVITY * mouseMove[1];
+
+        if (pitch < -90)
+            pitch = 90;
+        if (pitch > 90)
+            pitch = 90;
+
+        // Construct new orientation for the camera scene node from yaw and pitch. Roll is fixed to zero
+
+        node.rotation = QuatFromEuler(pitch, yaw, 0.0);
+
+        // Read WASD keys and move the camera scene node to the corresponding direction if they are pressed
+        if (Atomic.input.getKeyDown(Atomic.KEY_W))
+            node.translate([0, 0, MOVE_SPEED * timeStep]);
+        if (Atomic.input.getKeyDown(Atomic.KEY_S))
+            node.translate([0, 0, -MOVE_SPEED * timeStep]);
+        if (Atomic.input.getKeyDown(Atomic.KEY_D))
+            node.translate([MOVE_SPEED * timeStep, 0, 0]);            
+        if (Atomic.input.getKeyDown(Atomic.KEY_A))
+            node.translate([-MOVE_SPEED * timeStep, 0, 0]);
+
+
+    }
+
+}
+
+function QuatFromEuler(x, y, z) {
+    var M_PI = 3.14159265358979323846264338327950288;
+    var q = [0, 0, 0, 0];
+    x *= (M_PI / 360);
+    y *= (M_PI / 360);
+    z *= (M_PI / 360);
+    var sinX = Math.sin(x);
+    var cosX = Math.cos(x);
+    var sinY = Math.sin(y);
+    var cosY = Math.cos(y);
+    var sinZ = Math.sin(z);
+    var cosZ = Math.cos(z);
+    q[0] = cosY * cosX * cosZ + sinY * sinX * sinZ;
+    q[1] = cosY * sinX * cosZ + sinY * cosX * sinZ;
+    q[2] = sinY * cosX * cosZ - cosY * sinX * sinZ;
+    q[3] = cosY * cosX * sinZ - sinY * sinX * cosZ;
+    return q;
+}
+
+
+exports.component = component;

+ 7 - 0
Chickens/Resources/Components/Input.js.asset

@@ -0,0 +1,7 @@
+{
+	"version": 1,
+	"guid": "e354e05cf4984c1055656d978ab15e31",
+	"JavascriptImporter": {
+		"IsComponentFile": true
+	}
+}

+ 48 - 0
Chickens/Resources/Components/Player.js

@@ -0,0 +1,48 @@
+"atomic component";
+
+var MODEL_MOVE_SPEED = .75;
+var MODEL_ROTATE_SPEED = 100.0;
+
+var component = function(self) {
+
+
+    var node = self.node;
+    var cluckDelta = Math.random() * 30;
+
+    var animationController = node.getComponent("AnimationController");
+    var soundSource = node.getComponent("SoundSource3D");
+
+    animationController.playExclusive("Walk", 0, true);
+    animationController.setTime("Walk", Math.random() * 2);
+    
+
+    self.start = function() {
+              
+    }
+
+    self.update = function(timeStep) {
+    
+        if (cluckDelta > 0.0) {
+        
+            cluckDelta -= timeStep;
+        
+        } else {
+        
+            soundSource.play(soundSource.sound);
+            cluckDelta = Math.random() * 30 + 2;
+                    
+        }
+       
+
+        node.translate([0, 0, -MODEL_MOVE_SPEED * timeStep]);
+
+        var pos = node.position;
+
+        if (pos[0] < -20 || pos[0] > 20 || pos[2] < -20 || pos[2] > 20)
+            node.yaw(MODEL_ROTATE_SPEED * timeStep);
+
+    }
+
+}
+
+exports.component = component;

+ 7 - 0
Chickens/Resources/Components/Player.js.asset

@@ -0,0 +1,7 @@
+{
+	"version": 1,
+	"guid": "55c67248c4019c14412109e204cced35",
+	"JavascriptImporter": {
+		"IsComponentFile": true
+	}
+}

+ 16 - 0
Chickens/Resources/Components/Spinner.js

@@ -0,0 +1,16 @@
+
+"atomic component";
+
+var inspectorFields = {
+  speed: 1.0
+}
+
+exports.component = function(self) {
+
+  self.update = function(timeStep) {
+
+    self.node.yaw(timeStep * 75 * self.speed);
+
+  }
+
+}

+ 7 - 0
Chickens/Resources/Components/Spinner.js.asset

@@ -0,0 +1,7 @@
+{
+	"version": 1,
+	"guid": "0e0092043026fefe26a773982e4ac9dc",
+	"JavascriptImporter": {
+		"IsComponentFile": true
+	}
+}

+ 5 - 0
Chickens/Resources/Models.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "633257b6bf0a32aac435a64e5c2a6f00",
+	"FolderImporter": {}
+}

BIN
Chickens/Resources/Models/Ground.fbx


+ 9 - 0
Chickens/Resources/Models/Ground.fbx.asset

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

+ 5 - 0
Chickens/Resources/Models/Materials.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "87f344d15bea397a915e8a4e8e85ea69",
+	"FolderImporter": {}
+}

+ 16 - 0
Chickens/Resources/Models/Materials/Chicken.material

@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/DiffNormal.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/ChickenDiffuseMap.png" />
+	<texture unit="normal" name="Textures/ChickenNormalMap.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0 1" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0.1 0.1 0.1 9.60784" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<fill value="solid" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 5 - 0
Chickens/Resources/Models/Materials/Chicken.material.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "4ce5adad7e5f481adca46ff74f7c0223",
+	"MaterialImporter": {}
+}

+ 16 - 0
Chickens/Resources/Models/Materials/Comb.material

@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/DiffAlphaMask.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/ChickenDiffuseMap.png" />
+	<texture unit="normal" name="Textures/ChickenNormalMap.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="0.64 0.64 0.64 0" />
+	<parameter name="MatEmissiveColor" value="0 0 0 1" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 9.60784" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<fill value="solid" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 5 - 0
Chickens/Resources/Models/Materials/Comb.material.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "402c8e7db31936012314e7b91f23aaa9",
+	"MaterialImporter": {}
+}

+ 15 - 0
Chickens/Resources/Models/Materials/DefaultMaterial.material

@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/grass_mossy.png" />
+	<parameter name="UOffset" value="32 0 0 0" />
+	<parameter name="VOffset" value="0 32 0 0" />
+	<parameter name="MatDiffColor" value="0.8 0.8 0.8 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0 1" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0.5 0.5 0.5 16" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<fill value="solid" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 5 - 0
Chickens/Resources/Models/Materials/DefaultMaterial.material.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "ac785e58e5170b51913b2139f9c046ba",
+	"MaterialImporter": {}
+}

+ 8 - 0
Chickens/Resources/Models/Materials/Material.001.material

@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" />
+	<texture unit="diffuse" name="Textures/UV-Texture.png" />
+	<parameter name="MatDiffColor" value="0.64 0.64 0.64 1" />
+	<parameter name="MatSpecColor" value="0.321429 0.321429 0.321429 26.6667" />
+	<parameter name="MatEmissiveColor" value="0 0 0 1" />
+</material>

+ 5 - 0
Chickens/Resources/Models/Materials/Material.001.material.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "5d9e602276dda8e87a12807fa75f54c5",
+	"MaterialImporter": {}
+}

+ 5 - 0
Chickens/Resources/Models/Materials/Skybox.material

@@ -0,0 +1,5 @@
+<material>
+    <technique name="Techniques/DiffSkybox.xml" />
+    <texture unit="diffuse" name="Textures/Skybox/Skybox.xml" />
+    <cull value="none" />
+</material>

+ 5 - 0
Chickens/Resources/Models/Materials/Skybox.material.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "d37d88a465d02dacb4d3b30110af2649",
+	"MaterialImporter": {}
+}

BIN
Chickens/Resources/Models/chickenV2.fbx


+ 15 - 0
Chickens/Resources/Models/chickenV2.fbx.asset

@@ -0,0 +1,15 @@
+{
+	"version": 1,
+	"guid": "ec7c3962ae69596f19c6fe3047bd92d0",
+	"ModelImporter": {
+		"scale": 0.2,
+		"importAnimations": true,
+		"animInfo": [
+			{
+				"name": "Walk",
+				"startTime": 0,
+				"endTime": 50
+			}
+		]
+	}
+}

+ 5 - 0
Chickens/Resources/Prefabs.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "86db6eb8dbc7224c81829d7e9d448466",
+	"FolderImporter": {}
+}

+ 67 - 0
Chickens/Resources/Prefabs/Chicken.prefab

@@ -0,0 +1,67 @@
+<?xml version="1.0"?>
+<node id="378">
+	<attribute name="Is Enabled" value="true" />
+	<attribute name="Name" value="Chicken" />
+	<attribute name="Position" value="0 0 0" />
+	<attribute name="Rotation" value="1 0 0 0" />
+	<attribute name="Scale" value="1 1 1" />
+	<attribute name="Variables" />
+	<component type="AnimatedModel" id="2280">
+		<attribute name="Model" value="Model;Cache/ec7c3962ae69596f19c6fe3047bd92d0.mdl" />
+		<attribute name="Material" value="Material;Models/Materials/Chicken.material;Models/Materials/Comb.material;Models/Materials/Chicken.material" />
+		<attribute name="Cast Shadows" value="true" />
+		<attribute name="Bone Animation Enabled">
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+			<variant type="Bool" value="true" />
+		</attribute>
+		<attribute name="Animation States">
+			<variant type="Int" value="0" />
+		</attribute>
+	</component>
+	<component type="AnimationController" id="2281">
+		<attribute name="Node Animation States">
+			<variant type="Int" value="0" />
+		</attribute>
+	</component>
+	<component type="JSComponent" id="2282">
+		<attribute name="ComponentFile" value="JSComponentFile;Components/Player.js" />
+	</component>
+	<component type="SoundSource3D" id="2283">
+		<attribute name="Sound" value="Sound;Sound/chicken.wav" />
+		<attribute name="Far Distance" value="20" />
+	</component>
+</node>

+ 5 - 0
Chickens/Resources/Prefabs/Chicken.prefab.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "4dc014bcaecb63761419ac8ca6d65954",
+	"PrefabImporter": {}
+}

+ 5 - 0
Chickens/Resources/Scenes.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "4eac38968a7b520e3d185490c495f8e4",
+	"FolderImporter": {}
+}

+ 227 - 0
Chickens/Resources/Scenes/Scene.scene

@@ -0,0 +1,227 @@
+<?xml version="1.0"?>
+<scene id="1">
+	<attribute name="Name" value="" />
+	<attribute name="Time Scale" value="1" />
+	<attribute name="Smoothing Constant" value="50" />
+	<attribute name="Snap Threshold" value="5" />
+	<attribute name="Elapsed Time" value="0" />
+	<attribute name="Next Replicated Node ID" value="384" />
+	<attribute name="Next Replicated Component ID" value="2344" />
+	<attribute name="Next Local Node ID" value="16778496" />
+	<attribute name="Next Local Component ID" value="16777216" />
+	<attribute name="Variables" />
+	<attribute name="Variable Names" value="" />
+	<component type="PhysicsWorld" id="1" />
+	<component type="Octree" id="2" />
+	<component type="DebugRenderer" id="3" />
+	<node id="2">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Zone" />
+		<attribute name="Position" value="0 0 0" />
+		<attribute name="Rotation" value="1 0 0 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="Zone" id="4">
+			<attribute name="Bounding Box Min" value="-10000 -10000 -10000" />
+			<attribute name="Bounding Box Max" value="10000 10000 10000" />
+			<attribute name="Ambient Color" value="0.4 0.4 0.4 1" />
+		</component>
+	</node>
+	<node id="3">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="GlobalLight" />
+		<attribute name="Position" value="0 0 0" />
+		<attribute name="Rotation" value="0.888074 0.325058 -0.325058 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="Light" id="5">
+			<attribute name="Light Type" value="Directional" />
+			<attribute name="Cast Shadows" value="true" />
+			<attribute name="CSM Splits" value="10 20 50 0" />
+			<attribute name="View Size Quantize" value="1" />
+			<attribute name="View Size Minimum" value="5" />
+			<attribute name="Depth Constant Bias" value="1e-05" />
+			<attribute name="Depth Slope Bias" value="0.001" />
+		</component>
+	</node>
+	<node id="361">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Camera" />
+		<attribute name="Position" value="-1.13 7.12 -10.78" />
+		<attribute name="Rotation" value="0.903821 0.42791 0 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="Camera" id="1973" />
+		<component type="JSComponent" id="2028">
+			<attribute name="ComponentFile" value="JSComponentFile;Components/Input.js" />
+		</component>
+		<component type="SoundListener" id="2102" />
+	</node>
+	<node id="366">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Ground" />
+		<attribute name="Position" value="0 0 0" />
+		<attribute name="Rotation" value="1 0 0 0" />
+		<attribute name="Scale" value="50 1 50" />
+		<attribute name="Variables" />
+		<component type="StaticModel" id="1981">
+			<attribute name="Model" value="Model;Cache/fea6551833c1584347b4a6bee5d05565.mdl" />
+			<attribute name="Material" value="Material;Models/Materials/DefaultMaterial.material" />
+		</component>
+	</node>
+	<node id="367">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Skybox" />
+		<attribute name="Position" value="0 0 0" />
+		<attribute name="Rotation" value="1 0 0 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="Skybox" id="1982">
+			<attribute name="Model" value="Model;Cache/fea6551833c1584347b4a6bee5d05565.mdl" />
+			<attribute name="Material" value="Material;Models/Materials/Skybox.material" />
+		</component>
+	</node>
+	<node id="369">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="-0.31 0.52 6.34" />
+		<attribute name="Rotation" value="0.952023 0 0.306028 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="1984">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+	<node id="370">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="1.25 0.52 6.34" />
+		<attribute name="Rotation" value="0.93464 0 -0.355596 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="1985">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+	<node id="371">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="1.25 0.52 1.08" />
+		<attribute name="Rotation" value="0.932891 0 -0.36016 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="1989">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+	<node id="372">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="-4.05 0.52 1.13" />
+		<attribute name="Rotation" value="0.952023 0 0.306028 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="1993">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+	<node id="373">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="2.79 0.52 -3.78" />
+		<attribute name="Rotation" value="0.952023 0 0.306028 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="1997">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+	<node id="374">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="0.09 0.52 -7.54" />
+		<attribute name="Rotation" value="0.8348 0 -0.550554 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="2001">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+	<node id="375">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="-11.15 0.52 3.39" />
+		<attribute name="Rotation" value="0.342266 0 0.939603 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="2005">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+	<node id="377">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="-4.4 0.52 -6.93" />
+		<attribute name="Rotation" value="0.659018 0 0.752127 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="2029">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+	<node id="378">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="14.05 0.52 -5.74" />
+		<attribute name="Rotation" value="0.0699306 0 0.997552 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="2033">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+	<node id="379">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="9.99 0.52 -11.4" />
+		<attribute name="Rotation" value="0.994916 0 -0.100709 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="2037">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+	<node id="380">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="14.54 0.52 -14.65" />
+		<attribute name="Rotation" value="0.763402 0 -0.645924 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="2041">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+	<node id="381">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="17.45 0.52 -10.59" />
+		<attribute name="Rotation" value="0.189882 0 -0.981807 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="2045">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+	<node id="382">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Chicken" />
+		<attribute name="Position" value="8.1 0.52 -3.88" />
+		<attribute name="Rotation" value="0.952023 0 0.306028 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="PrefabComponent" id="2049">
+			<attribute name="PrefabGUID" value="4dc014bcaecb63761419ac8ca6d65954" />
+		</component>
+	</node>
+</scene>

+ 5 - 0
Chickens/Resources/Scenes/Scene.scene.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "75a9acb16f78ecea92ef88eb69bd7a9b",
+	"SceneImporter": {}
+}

+ 5 - 0
Chickens/Resources/Scripts.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "e1e9513647326abbf0465874fc828b02",
+	"FolderImporter": {}
+}

+ 10 - 0
Chickens/Resources/Scripts/main.js

@@ -0,0 +1,10 @@
+// This script is the main entry point of the game
+
+var scene = Atomic.player.loadScene("Scenes/Scene.scene");
+
+// called per frame, optional
+function update(timeStep) {
+
+}
+
+exports.update = update;

+ 7 - 0
Chickens/Resources/Scripts/main.js.asset

@@ -0,0 +1,7 @@
+{
+	"version": 1,
+	"guid": "75645e48cad6e3aa57be4f109844138b",
+	"JavascriptImporter": {
+		"IsComponentFile": false
+	}
+}

+ 5 - 0
Chickens/Resources/Sound.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "2c7d31a02082ec34753d7f8a36453235",
+	"FolderImporter": {}
+}

BIN
Chickens/Resources/Sound/chicken.wav


+ 5 - 0
Chickens/Resources/Sound/chicken.wav.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "83a1fc1aaa5f17110d7529b4ce7da7f1",
+	"AudioImporter": {}
+}

+ 5 - 0
Chickens/Resources/Textures.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "d00b5cf28882664a7cdd103c1f6fdf5c",
+	"FolderImporter": {}
+}

BIN
Chickens/Resources/Textures/ChickenDiffuseMap.png


+ 5 - 0
Chickens/Resources/Textures/ChickenDiffuseMap.png.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "4aefd2e462da0b05d1d60e4165d12b43",
+	"TextureImporter": {}
+}

BIN
Chickens/Resources/Textures/ChickenNormalMap.png


+ 5 - 0
Chickens/Resources/Textures/ChickenNormalMap.png.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "3fc838aa21dfa27a4f0b235c6ccb0b78",
+	"TextureImporter": {}
+}

+ 5 - 0
Chickens/Resources/Textures/Skybox.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "29e508fcadac5cd3312b99fae75d120f",
+	"FolderImporter": {}
+}

+ 9 - 0
Chickens/Resources/Textures/Skybox/Skybox.xml

@@ -0,0 +1,9 @@
+<cubemap>
+    <face name="posx.jpg" />
+    <face name="negx.jpg" />
+    <face name="posy.jpg" />
+    <face name="negy.jpg" />
+    <face name="posz.jpg" />
+    <face name="negz.jpg" />
+    <quality low="0" />
+</cubemap>

BIN
Chickens/Resources/Textures/Skybox/negx.jpg


+ 5 - 0
Chickens/Resources/Textures/Skybox/negx.jpg.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "9ebd86a64629a6fbd482a76e6447a3db",
+	"TextureImporter": {}
+}

BIN
Chickens/Resources/Textures/Skybox/negy.jpg


+ 5 - 0
Chickens/Resources/Textures/Skybox/negy.jpg.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "df52cea9f1bb200ff21731bb3153e5dd",
+	"TextureImporter": {}
+}

BIN
Chickens/Resources/Textures/Skybox/negz.jpg


+ 5 - 0
Chickens/Resources/Textures/Skybox/negz.jpg.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "38c9c0b9227de2cfcfb59802a6408db2",
+	"TextureImporter": {}
+}

BIN
Chickens/Resources/Textures/Skybox/posx.jpg


+ 5 - 0
Chickens/Resources/Textures/Skybox/posx.jpg.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "2a48361fe657c2833e1d86c7b0b24bf5",
+	"TextureImporter": {}
+}

BIN
Chickens/Resources/Textures/Skybox/posy.jpg


+ 5 - 0
Chickens/Resources/Textures/Skybox/posy.jpg.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "8d287da3ab749e09c450e7d64d8c9c27",
+	"TextureImporter": {}
+}

BIN
Chickens/Resources/Textures/Skybox/posz.jpg


+ 5 - 0
Chickens/Resources/Textures/Skybox/posz.jpg.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "c5f1a3c6c844149e91ff0689af2a3988",
+	"TextureImporter": {}
+}

BIN
Chickens/Resources/Textures/dry_grass.png


+ 5 - 0
Chickens/Resources/Textures/dry_grass.png.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "40ac4d27a8fd50f66c4dc9d15108e670",
+	"TextureImporter": {}
+}

BIN
Chickens/Resources/Textures/grass_mossy.png


+ 5 - 0
Chickens/Resources/Textures/grass_mossy.png.asset

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "05bc9acbd3dd46b01a19437b4febfd0f",
+	"TextureImporter": {}
+}