aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Scripts/init.lua')
-rw-r--r--Scripts/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/Scripts/init.lua b/Scripts/init.lua
index d76a402..9e6848e 100644
--- a/Scripts/init.lua
+++ b/Scripts/init.lua
@@ -1,3 +1,5 @@
+game.loadFont("default", "Assets/FreePixel.ttf", 16)
+
player = {
Player = 0,
EventListeners = {
@@ -6,6 +8,7 @@ player = {
self.Render.flipx = true;
end,
MoveLeftReleased = function(self)
+ game.puts("default", self.Position.x, self.Position.y, "Hey.")
self.Velocity.x = self.Velocity.x + 3.0
end,
MoveRightPressed = function(self)