Added a version display

This commit is contained in:
Ishaan Bhardwaj 2021-03-03 10:33:10 -05:00
parent 7250bee619
commit 163b8f6cc5
3 changed files with 3 additions and 0 deletions

1
load/version.lua Normal file
View File

@ -0,0 +1 @@
version = "v0.3-beta4"

View File

@ -8,6 +8,7 @@ function love.load()
require "load.bgm"
require "load.save"
require "load.bigint"
require "load.version"
loadSave()
require "scene"

View File

@ -83,6 +83,7 @@ function TitleScene:render()
love.graphics.printf(screen.title, 40, 280 + 20 * i, 120, "left")
end
love.graphics.printf(version, 0, 460, love.graphics.getWidth() - 5, "right")
end
function TitleScene:changeOption(rel)