started work on trophies management

This commit is contained in:
Paul Liverman
2015-02-11 11:56:01 -08:00
parent cbd6f2daee
commit 9db9230f42
4 changed files with 134 additions and 1 deletions

View File

@@ -32,10 +32,12 @@ function love.load()
end
local sessionSuccess = Gamejolt.openSession() -- tell Game Jolt the user is playing
if sessionSuccess then
--[[ -- we don't ping immediately, also the menu DOES ping immediately
local idleSuccess = Gamejolt.pingSession(false)
if not idleSuccess then
log("Couldn't ping Gamejolt session. Session may close.") --this is lazy but I don't care
end
--]]
gamejoltSession = true
else
log("Couldn't open a session with Game Jolt.")