Skip to content

Commit

Permalink
adding a version marker
Browse files Browse the repository at this point in the history
  • Loading branch information
ericoporto committed Feb 4, 2018
1 parent 066eef2 commit 9e0dc40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions project/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ local slam = requireLibrary("slam")
local Terebi = requireLibrary("terebi")
local Gamestate = requireLibrary("hump/gamestate")

-- Game Version
GAME_VERSION = '1.0.0'

-- a variable for debug flags
debug_mode = false
restart = false
Expand Down
4 changes: 3 additions & 1 deletion project/src/states/StartScreen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ function StartScreen:enter()
xpos_step = 8
opacity_step = 2
change_scene_once = true
love.audio.stop()
playMusic('ggj18_theme')
end

Expand Down Expand Up @@ -159,6 +158,9 @@ local function drawFn2()
end
end


love.graphics.setColor(12,24,48,128)
love.graphics.print('v' .. GAME_VERSION,282,4)
end
end)

Expand Down

0 comments on commit 9e0dc40

Please sign in to comment.