]> code.bitgloo.com Git - clyne/gamedev2.git/commitdiff
Spread out the entities a bit on the test triangle screen
authorAndy Belle-Isle <drumsetmonkey@gmail.com>
Sun, 1 Sep 2019 06:27:33 +0000 (02:27 -0400)
committerAndy Belle-Isle <drumsetmonkey@gmail.com>
Sun, 1 Sep 2019 06:27:33 +0000 (02:27 -0400)
Scripts/init.lua

index 56a6977df7cff227c8682fd162ef572f38e13784..a590ca28878e9aea90d56f9dcd57b22654403431 100644 (file)
@@ -28,8 +28,8 @@ cat = {
         y = 0.0
     },
     Position = {
-        x = 50,
-        y = 0
+        x = 180,
+        y = -75
     },
     Render = {
         texture = "Assets/cat.png",
@@ -58,7 +58,7 @@ animal = {
     },
     Idle = function(self)
         self.Velocity.x = -200 * math.sin(math.rad(self.counter));
-        self.Velocity.y =  100 * math.cos(math.rad(self.counter*5));
+        self.Velocity.y =  500 * math.cos(math.rad(self.counter*5));
         self.counter = self.counter + 5;
     end,
     counter = 0;