mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 16:49:01 -06:00
Added a version display
This commit is contained in:
parent
7250bee619
commit
163b8f6cc5
1
load/version.lua
Normal file
1
load/version.lua
Normal file
@ -0,0 +1 @@
|
|||||||
|
version = "v0.3-beta4"
|
1
main.lua
1
main.lua
@ -8,6 +8,7 @@ function love.load()
|
|||||||
require "load.bgm"
|
require "load.bgm"
|
||||||
require "load.save"
|
require "load.save"
|
||||||
require "load.bigint"
|
require "load.bigint"
|
||||||
|
require "load.version"
|
||||||
loadSave()
|
loadSave()
|
||||||
require "scene"
|
require "scene"
|
||||||
|
|
||||||
|
@ -83,6 +83,7 @@ function TitleScene:render()
|
|||||||
love.graphics.printf(screen.title, 40, 280 + 20 * i, 120, "left")
|
love.graphics.printf(screen.title, 40, 280 + 20 * i, 120, "left")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
love.graphics.printf(version, 0, 460, love.graphics.getWidth() - 5, "right")
|
||||||
end
|
end
|
||||||
|
|
||||||
function TitleScene:changeOption(rel)
|
function TitleScene:changeOption(rel)
|
||||||
|
Loading…
Reference in New Issue
Block a user