瀏覽代碼

Light2DExample Updated

Josh Engebretson 10 年之前
父節點
當前提交
afaecd40cb
共有 27 個文件被更改,包括 421 次插入125 次删除
  1. 1 0
      Light2DExample/.gitignore
  2. 5 0
      Light2DExample/Resources.asset
  3. 5 0
      Light2DExample/Resources/Backgrounds.asset
  4. 5 0
      Light2DExample/Resources/Backgrounds/background.jpg.asset
  5. 5 0
      Light2DExample/Resources/Components.asset
  6. 13 16
      Light2DExample/Resources/Components/Background.js
  7. 7 0
      Light2DExample/Resources/Components/Background.js.asset
  8. 26 29
      Light2DExample/Resources/Components/Light.js
  9. 7 0
      Light2DExample/Resources/Components/Light.js.asset
  10. 0 14
      Light2DExample/Resources/Components/Physics.js
  11. 35 13
      Light2DExample/Resources/Components/ShadowCaster.js
  12. 7 0
      Light2DExample/Resources/Components/ShadowCaster.js.asset
  13. 5 0
      Light2DExample/Resources/Scenes.asset
  14. 234 0
      Light2DExample/Resources/Scenes/Scene.scene
  15. 5 0
      Light2DExample/Resources/Scenes/Scene.scene.asset
  16. 5 0
      Light2DExample/Resources/Scripts.asset
  17. 4 53
      Light2DExample/Resources/Scripts/main.js
  18. 7 0
      Light2DExample/Resources/Scripts/main.js.asset
  19. 5 0
      Light2DExample/Resources/Sprites.asset
  20. 5 0
      Light2DExample/Resources/Sprites/ball1.png.asset
  21. 5 0
      Light2DExample/Resources/Sprites/ball2.png.asset
  22. 5 0
      Light2DExample/Resources/Sprites/ball3.png.asset
  23. 5 0
      Light2DExample/Resources/Sprites/ball4.png.asset
  24. 5 0
      Light2DExample/Resources/Sprites/ball5.png.asset
  25. 5 0
      Light2DExample/Resources/Sprites/ball6.png.asset
  26. 5 0
      Light2DExample/Resources/Sprites/ball7.png.asset
  27. 5 0
      Light2DExample/Resources/Sprites/ball8.png.asset

+ 1 - 0
Light2DExample/.gitignore

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

+ 5 - 0
Light2DExample/Resources.asset

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

+ 5 - 0
Light2DExample/Resources/Backgrounds.asset

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

+ 5 - 0
Light2DExample/Resources/Backgrounds/background.jpg.asset

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

+ 5 - 0
Light2DExample/Resources/Components.asset

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

+ 13 - 16
Light2DExample/Resources/Components/Background.js

@@ -1,26 +1,23 @@
-var node = self.node;
-var game = Atomic.game;
-var cameraNode = game.cameraNode;
-var camera = game.camera;
+'atomic component';
 
-function start() {
+exports.component = function(self) {
 
-    var sprite2D = node.createComponent("StaticSprite2D");
-    sprite2D.sprite = game.cache.getResource("Sprite2D", "Backgrounds/background.jpg");
-    sprite2D.layer = -100;
+    var node = self.node;
 
-    var width = sprite2D.texture.width;
-    var height = sprite2D.texture.height;
+    var camera = node.scene.getMainCamera();
+    camera.orthoSize = Atomic.graphics.height * Atomic.PIXEL_SIZE;
 
-    var viewWidth = game.graphics.width;
-    var viewHeight = game.graphics.height;
+    var sprite2D = node.getComponent("StaticSprite2D");
 
-    node.scale2D = [viewWidth / width, viewHeight / height];
+    console.log(sprite2D);
+
+    var width = sprite2D.sprite.texture.width;
+    var height = sprite2D.sprite.texture.height;
 
-}
+    var viewWidth = Atomic.graphics.width;
+    var viewHeight = Atomic.graphics.height;
 
+    node.scale2D = [viewWidth / width, viewHeight / height];
 
-// fixme must have an update
-function update(timeStep) {
 
 }

+ 7 - 0
Light2DExample/Resources/Components/Background.js.asset

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

+ 26 - 29
Light2DExample/Resources/Components/Light.js

@@ -1,46 +1,43 @@
-var game = Atomic.game;
-var node = self.node;
+'atomic component';
 
-var light = node.createComponent("PointLight2D");
-light.color = [.1 + Math.random() * .9, .1 + Math.random() * .9, .1 + Math.random() * .9, 1];
-light.radius = 4;
-light.softShadowLength = 4;
-light.castShadows = true;
-light.softShadows = true;
-light.numRays = 512;
+var halfWidth = Atomic.graphics.width * Atomic.PIXEL_SIZE * 0.5;
+var halfHeight = Atomic.graphics.height * Atomic.PIXEL_SIZE * 0.5;
 
+exports.component = function(self) {
 
-Light2DExample.lightGroup.addLight(light);
+    var node = self.node;
+    var light = node.getComponent("PointLight2D");
 
-var x = -Light2DExample.halfWidth + (Light2DExample.halfWidth * 2) * Math.random();
-var y = -Light2DExample.halfHeight + (Light2DExample.halfHeight * 2) * Math.random();
+    light.color = [.1 + Math.random() * .9, .1 + Math.random() * .9, .1 + Math.random() * .9, 1];
 
-node.position2D = [x, y];
+    var x = -halfWidth + (halfWidth * 2) * Math.random();
+    var y = -halfHeight + (halfHeight * 2) * Math.random();
 
-var movex = -2 + (Math.random() * 4);
-var movey = -2 + (Math.random() * 4);
+    node.position2D = [x, y];
 
-function start() {
+    var movex = -2 + (Math.random() * 4);
+    var movey = -2 + (Math.random() * 4);
 
+    // Update
+    self.update = function(timeStep) {
 
-}
+        var prev = node.position2D;
 
-function update(timeStep) {
+        node.translate2D([movex * timeStep, movey * timeStep]);
 
-    var prev = node.position2D;
+        var p = node.position2D;
 
-    node.translate2D([movex * timeStep, movey * timeStep]);
+        if (p[0] < -halfWidth || p[0] > halfWidth) {
+            node.position2D = prev;
+            movex = -movex;
+        }
 
-    var p = node.position2D;
+        if (p[1] < -halfHeight || p[1] > halfHeight) {
+            node.position2D = prev;
+            movey = -movey;
+        }
 
-    if (p[0] < -Light2DExample.halfWidth || p[0] > Light2DExample.halfWidth) {
-        node.position2D = prev;
-        movex = -movex;
     }
 
-    if (p[1] < -Light2DExample.halfHeight || p[1] > Light2DExample.halfHeight) {
-        node.position2D = prev;
-        movey = -movey;
-    }
+}
 
-}

+ 7 - 0
Light2DExample/Resources/Components/Light.js.asset

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

+ 0 - 14
Light2DExample/Resources/Components/Physics.js

@@ -1,14 +0,0 @@
-var game = Atomic.game;
-var scene = game.scene;
-
-
-
-function start() {
-
-	
-}
-
-function update(timeStep) {	
-
-
-}

+ 35 - 13
Light2DExample/Resources/Components/ShadowCaster.js

@@ -1,3 +1,36 @@
+'atomic component';
+
+var halfWidth = Atomic.graphics.width * Atomic.PIXEL_SIZE * 0.5;
+var halfHeight = Atomic.graphics.height * Atomic.PIXEL_SIZE * 0.5;
+
+exports.component = function(self) {
+
+    var node = self.node;
+
+    var body = node.createComponent("RigidBody2D");
+    body.bodyType = Atomic.BT_STATIC;
+    body.castShadows = true;
+
+    var circle = node.createComponent("CollisionCircle2D");
+    circle.radius = .35;
+
+    var sprite2D = Atomic.cache.getResource("Sprite2D", "Sprites/ball" + (Math.round(Math.random() * 7) + 1) + ".png");
+    var sprite = node.createComponent("StaticSprite2D");
+    sprite.setSprite(sprite2D);
+
+    var x = -halfWidth + (halfWidth * 2) * Math.random();
+    var y = -halfHeight + (halfHeight * 2) * Math.random();
+
+    // tolerance towards the middle of screen
+    x *= .7;
+    y *= .7;
+
+    node.position2D = [x, y];
+
+
+}
+
+/*
 var game = Atomic.game;
 var node = self.node;
 
@@ -8,18 +41,6 @@ body.castShadows = true;
 var circle = node.createComponent("CollisionCircle2D");
 circle.radius = .35;
 
-var sprite2D = game.cache.getResource("Sprite2D", "Sprites/ball" + (Math.round(Math.random() * 7) + 1) + ".png");
-var sprite = node.createComponent("StaticSprite2D");
-sprite.setSprite(sprite2D);
-
-var x = -Light2DExample.halfWidth + (Light2DExample.halfWidth * 2) * Math.random();
-var y = -Light2DExample.halfHeight + (Light2DExample.halfHeight * 2) * Math.random();
-
-// tolerance towards the middle of screen
-x *= .7;
-y *= .7;
-
-node.position2D = [x, y];
 
 function start() {
 
@@ -29,4 +50,5 @@ function start() {
 function update(timeStep) {
 
 
-}
+}
+*/

+ 7 - 0
Light2DExample/Resources/Components/ShadowCaster.js.asset

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

+ 5 - 0
Light2DExample/Resources/Scenes.asset

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

+ 234 - 0
Light2DExample/Resources/Scenes/Scene.scene

@@ -0,0 +1,234 @@
+<?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="391" />
+	<attribute name="Next Replicated Component ID" value="2018" />
+	<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="Octree" id="2" />
+	<component type="DebugRenderer" id="3" />
+	<component type="Renderer2D" id="1977" />
+	<component type="Zone" id="2017">
+		<attribute name="Ambient Color" value="0.3 0.3 0.3 1" />
+	</component>
+	<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="361">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Camera" />
+		<attribute name="Position" value="0 0 -5" />
+		<attribute name="Rotation" value="1 0 0 0" />
+		<attribute name="Scale" value="1 1 1" />
+		<attribute name="Variables" />
+		<component type="Camera" id="1973">
+			<attribute name="Near Clip" value="0" />
+			<attribute name="Orthographic" value="true" />
+			<attribute name="Orthographic Size" value="10" />
+		</component>
+	</node>
+	<node id="364">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="background" />
+		<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="StaticSprite2D" id="1976">
+			<attribute name="Layer" value="-100" />
+			<attribute name="Sprite" value="Sprite2D;Backgrounds/background.jpg" />
+		</component>
+		<component type="JSComponent" id="1978">
+			<attribute name="ComponentFile" value="JSComponentFile;Components/Background.js" />
+		</component>
+	</node>
+	<node id="367">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="Lights" />
+		<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" />
+		<node id="374">
+			<attribute name="Is Enabled" value="true" />
+			<attribute name="Name" value="Light" />
+			<attribute name="Position" value="-0.41 0 0" />
+			<attribute name="Rotation" value="1 0 0 0" />
+			<attribute name="Scale" value="1 1 1" />
+			<attribute name="Variables" />
+			<component type="PointLight2D" id="1994">
+				<attribute name="Cast Shadows" value="true" />
+				<attribute name="Num Rays" value="256" />
+				<attribute name="Soft Shadows" value="true" />
+			</component>
+			<component type="JSComponent" id="1995">
+				<attribute name="ComponentFile" value="JSComponentFile;Components/Light.js" />
+			</component>
+		</node>
+		<node id="375">
+			<attribute name="Is Enabled" value="true" />
+			<attribute name="Name" value="Light" />
+			<attribute name="Position" value="-0.41 0 0" />
+			<attribute name="Rotation" value="1 0 0 0" />
+			<attribute name="Scale" value="1 1 1" />
+			<attribute name="Variables" />
+			<component type="PointLight2D" id="1996">
+				<attribute name="Cast Shadows" value="true" />
+				<attribute name="Num Rays" value="256" />
+				<attribute name="Soft Shadows" value="true" />
+			</component>
+			<component type="JSComponent" id="1997">
+				<attribute name="ComponentFile" value="JSComponentFile;Components/Light.js" />
+			</component>
+		</node>
+		<node id="377">
+			<attribute name="Is Enabled" value="true" />
+			<attribute name="Name" value="Light" />
+			<attribute name="Position" value="-0.41 0 0" />
+			<attribute name="Rotation" value="1 0 0 0" />
+			<attribute name="Scale" value="1 1 1" />
+			<attribute name="Variables" />
+			<component type="PointLight2D" id="2000">
+				<attribute name="Cast Shadows" value="true" />
+				<attribute name="Num Rays" value="256" />
+				<attribute name="Soft Shadows" value="true" />
+			</component>
+			<component type="JSComponent" id="2001">
+				<attribute name="ComponentFile" value="JSComponentFile;Components/Light.js" />
+			</component>
+		</node>
+		<node id="379">
+			<attribute name="Is Enabled" value="true" />
+			<attribute name="Name" value="Light" />
+			<attribute name="Position" value="-0.41 0 0" />
+			<attribute name="Rotation" value="1 0 0 0" />
+			<attribute name="Scale" value="1 1 1" />
+			<attribute name="Variables" />
+			<component type="PointLight2D" id="2004">
+				<attribute name="Cast Shadows" value="true" />
+				<attribute name="Num Rays" value="256" />
+				<attribute name="Soft Shadows" value="true" />
+			</component>
+			<component type="JSComponent" id="2005">
+				<attribute name="ComponentFile" value="JSComponentFile;Components/Light.js" />
+			</component>
+		</node>
+		<node id="380">
+			<attribute name="Is Enabled" value="true" />
+			<attribute name="Name" value="Light" />
+			<attribute name="Position" value="-0.41 0 0" />
+			<attribute name="Rotation" value="1 0 0 0" />
+			<attribute name="Scale" value="1 1 1" />
+			<attribute name="Variables" />
+			<component type="PointLight2D" id="2006">
+				<attribute name="Cast Shadows" value="true" />
+				<attribute name="Num Rays" value="256" />
+				<attribute name="Soft Shadows" value="true" />
+			</component>
+			<component type="JSComponent" id="2007">
+				<attribute name="ComponentFile" value="JSComponentFile;Components/Light.js" />
+			</component>
+		</node>
+	</node>
+	<node id="381">
+		<attribute name="Is Enabled" value="true" />
+		<attribute name="Name" value="ShadowCasters" />
+		<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" />
+		<node id="382">
+			<attribute name="Is Enabled" value="true" />
+			<attribute name="Name" value="ShadowCaster" />
+			<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="JSComponent" id="2009">
+				<attribute name="ComponentFile" value="JSComponentFile;Components/ShadowCaster.js" />
+			</component>
+		</node>
+		<node id="385">
+			<attribute name="Is Enabled" value="true" />
+			<attribute name="Name" value="ShadowCaster" />
+			<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="JSComponent" id="2011">
+				<attribute name="ComponentFile" value="JSComponentFile;Components/ShadowCaster.js" />
+			</component>
+		</node>
+		<node id="386">
+			<attribute name="Is Enabled" value="true" />
+			<attribute name="Name" value="ShadowCaster" />
+			<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="JSComponent" id="2012">
+				<attribute name="ComponentFile" value="JSComponentFile;Components/ShadowCaster.js" />
+			</component>
+		</node>
+		<node id="387">
+			<attribute name="Is Enabled" value="true" />
+			<attribute name="Name" value="ShadowCaster" />
+			<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="JSComponent" id="2013">
+				<attribute name="ComponentFile" value="JSComponentFile;Components/ShadowCaster.js" />
+			</component>
+		</node>
+		<node id="388">
+			<attribute name="Is Enabled" value="true" />
+			<attribute name="Name" value="ShadowCaster" />
+			<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="JSComponent" id="2014">
+				<attribute name="ComponentFile" value="JSComponentFile;Components/ShadowCaster.js" />
+			</component>
+		</node>
+		<node id="389">
+			<attribute name="Is Enabled" value="true" />
+			<attribute name="Name" value="ShadowCaster" />
+			<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="JSComponent" id="2015">
+				<attribute name="ComponentFile" value="JSComponentFile;Components/ShadowCaster.js" />
+			</component>
+		</node>
+		<node id="390">
+			<attribute name="Is Enabled" value="true" />
+			<attribute name="Name" value="ShadowCaster" />
+			<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="JSComponent" id="2016">
+				<attribute name="ComponentFile" value="JSComponentFile;Components/ShadowCaster.js" />
+			</component>
+		</node>
+	</node>
+</scene>

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

@@ -0,0 +1,5 @@
+{
+	"version": 1,
+	"guid": "9d0c932bb649fefd754a9b9901892e70",
+	"SceneImporter": {}
+}

+ 5 - 0
Light2DExample/Resources/Scripts.asset

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

+ 4 - 53
Light2DExample/Resources/Scripts/main.js

@@ -1,60 +1,11 @@
 // This script is the main entry point of the game
 
-require("AtomicGame");
+var scene = Atomic.player.loadScene("Scenes/Scene.scene");
 
-Light2DExample = {};
-
-Atomic.game.init(start, update);
-
-// called at the start of play
-function start() {
-
-    var game = Atomic.game;
-
-    Light2DExample.halfWidth = game.graphics.width * Atomic.PIXEL_SIZE * 0.5;
-    Light2DExample.halfHeight = game.graphics.height * Atomic.PIXEL_SIZE * 0.5;
-
-    // create a 2D scene
-    game.createScene2D();
-
-    var scene = game.scene;
-
-    var physicsWorld = scene.createComponent("PhysicsWorld2D");
-    physicsWorld.continuousPhysics = false;
-    physicsWorld.subStepping = false;
-
-    var lightGroupNode = scene.createChild("LightGroup");
-
-    var lightGroup = lightGroupNode.createComponent("Light2DGroup");
-    lightGroup.setPhysicsWorld(physicsWorld);
-    lightGroup.ambientColor = [.8, .8, .8, .5];
-
-    Light2DExample.lightGroup = lightGroup;
-
-    var node = game.scene.createChild();
-    node.createJSComponent("Background");
-    node.createJSComponent("Physics");
-
-    for (var i = 0; i < 4; i++) {
-
-        var lightNode = scene.createChild("LightNode");
-        lightNode.createJSComponent("Light");
-
-    }
-
-    for (var i = 0; i < 16; i++) {
-
-        var shadowCasterNode = scene.createChild("ShadowCaster");
-        shadowCasterNode.createJSComponent("ShadowCaster");
-
-    }
+// called per frame, optional
+function update(timeStep) {
 
 
 }
 
-// called per frame
-function update(timeStep) {
-
-    physicsWorld.drawDebugGeometry();
-
-}
+exports.update = update;

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

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

+ 5 - 0
Light2DExample/Resources/Sprites.asset

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

+ 5 - 0
Light2DExample/Resources/Sprites/ball1.png.asset

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

+ 5 - 0
Light2DExample/Resources/Sprites/ball2.png.asset

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

+ 5 - 0
Light2DExample/Resources/Sprites/ball3.png.asset

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

+ 5 - 0
Light2DExample/Resources/Sprites/ball4.png.asset

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

+ 5 - 0
Light2DExample/Resources/Sprites/ball5.png.asset

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

+ 5 - 0
Light2DExample/Resources/Sprites/ball6.png.asset

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

+ 5 - 0
Light2DExample/Resources/Sprites/ball7.png.asset

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

+ 5 - 0
Light2DExample/Resources/Sprites/ball8.png.asset

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