Difference between revisions of "Gaming"
From GiderosMobile
Line 16: | Line 16: | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== Methods === | === Methods === | ||
− | [[Gaming.new]] | + | [[Gaming.new]] <br/> |
− | [[Gaming:autoMatch]] | + | [[Gaming:autoMatch]] <br/> |
− | [[Gaming:deleteState]] | + | [[Gaming:deleteState]] <br/> |
− | [[Gaming:getAllPlayers]] | + | [[Gaming:getAllPlayers]] <br/> |
− | [[Gaming:getPlayerId]] | + | [[Gaming:getPlayerId]] <br/> |
− | [[Gaming:getPlayerInfo]] | + | [[Gaming:getPlayerInfo]] <br/> |
− | [[Gaming:getPlayerName]] | + | [[Gaming:getPlayerName]] <br/> |
− | [[Gaming:getPlayerPicture]] | + | [[Gaming:getPlayerPicture]] <br/> |
− | [[Gaming:getPlayerScore]] | + | [[Gaming:getPlayerScore]] <br/> |
− | [[Gaming:incrementAchievement]] | + | [[Gaming:incrementAchievement]] <br/> |
− | [[Gaming:invitePlayers]] | + | [[Gaming:invitePlayers]] <br/> |
− | [[Gaming:isLoggedIn]] | + | [[Gaming:isLoggedIn]] <br/> |
− | [[Gaming:joinRoom]] | + | [[Gaming:joinRoom]] <br/> |
− | [[Gaming:loadAchievements]] | + | [[Gaming:loadAchievements]] <br/> |
− | [[Gaming:loadPlayerCenteredScores]] | + | [[Gaming:loadPlayerCenteredScores]] <br/> |
− | [[Gaming:loadScores]] | + | [[Gaming:loadScores]] <br/> |
− | [[Gaming:loadState]] | + | [[Gaming:loadState]] <br/> |
− | [[Gaming:login]] | + | [[Gaming:login]] <br/> |
− | [[Gaming:logout]] | + | [[Gaming:logout]] <br/> |
− | [[Gaming:reportAchievement]] | + | [[Gaming:reportAchievement]] <br/> |
− | [[Gaming:reportScore]] | + | [[Gaming:reportScore]] <br/> |
− | [[Gaming:resolveState]] | + | [[Gaming:resolveState]] <br/> |
− | [[Gaming:revealAchievement]] | + | [[Gaming:revealAchievement]] <br/> |
− | [[Gaming:sendTo]] | + | [[Gaming:sendTo]] <br/> |
− | [[Gaming:sendToAll]] | + | [[Gaming:sendToAll]] <br/> |
− | [[Gaming:showAchievements]] | + | [[Gaming:showAchievements]] <br/> |
− | [[Gaming:showInvitations]] | + | [[Gaming:showInvitations]] <br/> |
− | [[Gaming:showLeaderboard]] | + | [[Gaming:showLeaderboard]] <br/> |
− | [[Gaming:showWaitingRoom]] | + | [[Gaming:showWaitingRoom]] <br/> |
− | [[Gaming:updateState]] | + | [[Gaming:updateState]] <br/> |
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== Events === | === Events === |
Revision as of 14:35, 23 August 2018
Supported platforms: android, ios
Available since: Gideros 2012.09
Description
The Gaming class is defined in the module "gaming". Therefore, you need to call
require("gaming") before using it. Loading the Gaming module
also creates a global class Gaming.
Currently supports:
- Gaming.new("googleplay") -- Android
- Gaming.new("gamekit") -- iOS