aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/init.lua
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2019-09-17 15:36:26 -0400
committerClyne Sullivan <clyne@bitgloo.com>2019-09-17 15:36:26 -0400
commit145d74e433216f8c17475685c553321ca4cbedf3 (patch)
tree58a06bc92cf13ae9587015cd6b9fc6dd34f919ba /Scripts/init.lua
parent927348d9d8eb16b469c23ef32486bea5f94c5469 (diff)
text rendering in-place; but something's missing
Diffstat (limited to 'Scripts/init.lua')
-rw-r--r--Scripts/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/Scripts/init.lua b/Scripts/init.lua
index 65513ec..da9ba14 100644
--- a/Scripts/init.lua
+++ b/Scripts/init.lua
@@ -1,4 +1,4 @@
-game.loadFont("freepixel16", "Assets/FreePixel.ttf", 16)
+game.loadFont("default", "Assets/FreePixel.ttf", 16)
bird = {
Player = 0,
@@ -9,6 +9,7 @@ bird = {
end,
MoveLeftReleased = function(self)
self.Velocity.x = self.Velocity.x + 100
+ game.puts("default", self.Position.x, self.Position.y, "Hey.")
end,
MoveRightPressed = function(self)
self.Velocity.x = self.Velocity.x + 100