diff options
author | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-18 12:07:48 -0400 |
---|---|---|
committer | Andy Belle-Isle <drumsetmonkey@gmail.com> | 2019-09-18 12:07:48 -0400 |
commit | ec0ab456cf869f2daa6dea41158c54da745626d8 (patch) | |
tree | 85d9c23774ffee6d7608782dac3086e15e1efc90 /Scripts | |
parent | 2cedd39a90fdb0387783b50446b16732517fb651 (diff) |
Added basic UI shaders
Diffstat (limited to 'Scripts')
-rw-r--r-- | Scripts/init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Scripts/init.lua b/Scripts/init.lua index 84d2073..d76a402 100644 --- a/Scripts/init.lua +++ b/Scripts/init.lua @@ -2,18 +2,18 @@ player = { Player = 0, EventListeners = { MoveLeftPressed = function(self) - self.Velocity.x = self.Velocity.x - 3 + self.Velocity.x = self.Velocity.x - 3.0 self.Render.flipx = true; end, MoveLeftReleased = function(self) - self.Velocity.x = self.Velocity.x + 3 + self.Velocity.x = self.Velocity.x + 3.0 end, MoveRightPressed = function(self) - self.Velocity.x = self.Velocity.x + 3 + self.Velocity.x = self.Velocity.x + 3.0 self.Render.flipx = false; end, MoveRightReleased = function(self) - self.Velocity.x = self.Velocity.x - 3 + self.Velocity.x = self.Velocity.x - 3.0 end, JumpKeyPressed = function(self) if self.Physics.standing == true then |