Type Function Library gamecircle.* Return value Boolean Revision Release 2024.3703 Keywords gamecircle, initialization, init
This function returns true when a valid user has been signed into GameCircle. A player is normally signed in all the time on recent amazon based devices, but for other platforms a sign in is sometimes required. Most if not all GameCircle calls still operate without a signed in player, but no interaction occures with the server until there is a player signed in.
local result = gamecircle.IsPlayerSignedIn()
local gamecircle = require("plugin.gamecircle") gamecircle.Init(true, false, true) local state = "startup" Runtime:addEventListener("enterFrame", Update) function Update() if state == "startup" and gamecircle.IsReady() then if gamecircle.IsPlayerSignedIn() --From this point on you can start using GameCircle functions for achievements, leaderboards, & Whispersync. state = "play" end end end