![Gamestick SDK](https://data.docslib.org/img/3a60ab92a6e30910dab9bd827208bcff-1.webp)
Developer Guide GameStick SDK © 2013 PlayJam Ltd. 19 April 2013 Version 1.0.3 I GameStick SDK Table of Contents Part I Introduction 1 1 SDK.. .O...v.e..r..v.i.e..w... ................................................................................................................. 2 Part II GameStick Standardization and UI Guidelines 7 1 Gen..e..r.a..l. .G...u..i.d..e..l.i.n..e..s. ......................................................................................................... 7 2 On-.l.i.n..e.. .S..e..r.v..i.c..e..s. .S...D..K.. .U..s..a..g..e.. .G..u..i.d..e..l.i.n..e..s.. ......................................................................... 8 In-App Pur.c..h..a..s...i.n..g.. .G...u..i.d...e..l.i.n..e...s.. ...................................................................................................................... 9 3 Co.n..t.r..o..l.l.e..r. .G..u..i.d..e..l.i.n..e..s.. .................................................................................................... 11 Button Ma..p..p...i.n..g..s... ........................................................................................................................................... 12 4 Ad.a..p..t.i.n..g.. .f.r..o..m... .M..o..b..i.l.e.. .o..r.. .T..a..b..l.e..t. .................................................................................... 13 5 Ga..m...e..S..t.i.c..k. .I.m...a..g..e..s.. ........................................................................................................ 14 Part III Developer Setup Guide 17 1 Ja.v..a.. .............................................................................................................................. 17 2 Ma..r.m...a..l.a..d..e.. .................................................................................................................... 19 3 Un.i.t.y.. .............................................................................................................................. 21 Part IV API Reference 25 1 Ja.v..a.. .A..P..I. ........................................................................................................................ 25 DatabaseI.n...t.e..r..f.a..c..e...S..e..r..v..i.c..e.. ............................................................................................................................ 26 Leade.r.b..o..a..r..d.. .A..P..I.s....................................................................................................................................... 27 Save S...t.a..t.e.. .A..P..I.s.......................................................................................................................................... 29 Achiev..e..m...e..n..t.s.. .A...P..Is..................................................................................................................................... 29 Analyt.i.c..s.. .A...P..Is............................................................................................................................................. 30 In-app. .p..u..r.c..h..a..s..i.n..g.. .A...P..Is............................................................................................................................... 31 IJavaDatab...a..s..e..I.n...t.e..r..f.a..c..e...R..e..s...p..o..n...s..e.. .............................................................................................................. 32 Achievem..e..n...t.s.. ................................................................................................................................................ 36 AppItems.. ........................................................................................................................................................ 37 Leaderbo.a..r..d..D...a..t.a.. ........................................................................................................................................... 38 Dow nload..S..e..r..v..i.c..e..I.n...t.e..r..f.a..c..e... .......................................................................................................................... 39 IDow nload...R..e..s...p..o..n...s..e.. ..................................................................................................................................... 41 2 C+.+.. .A...P..I. ......................................................................................................................... 43 DatabaseI.n...t.e..r..f.a..c..e...S..e..r..v..i.c..e..I.n...t.e..r..f.a..c..e... ........................................................................................................... 44 Leade.r.b..o..a..r..d.. .A..P..I.s....................................................................................................................................... 46 Save S...t.a..t.e.. .A..P..I.s.......................................................................................................................................... 47 Achiev..e..m...e..n..t.s.. .A...P..Is..................................................................................................................................... 48 Analyt.i.c..s.. .A...P..Is............................................................................................................................................. 49 In-app. .p..u..r.c..h..a..s..i.n..g.. .A...P..Is............................................................................................................................... 50 IRequestR..e...s..p..o...n..s..e... ....................................................................................................................................... 51 Achievem..e..n...t.s.. ................................................................................................................................................ 55 AppItems.. ........................................................................................................................................................ 57 Leaderbo.a..r..d..D...a..t.a.. ........................................................................................................................................... 58 Dow nload..S..e..r..v..i.c..e..I.n...t.e..r..f.a..c..e... .......................................................................................................................... 60 IDow nload...R..e..s...p..o..n...s..e.. ..................................................................................................................................... 61 3 Un.i.t.y.. .A..P...I. ....................................................................................................................... 63 PlayJamS.e..r..v..i.c..e..s... ........................................................................................................................................... 65 Leade.r.b..o..a..r..d.. .A..P..I.s....................................................................................................................................... 66 © 2013 PlayJam Ltd. Confidential Information - Do Not Distribute Contents II Save S...t.a..t.e.. .A..P..I.s.......................................................................................................................................... 68 Achiev..e..m...e..n..t.s.. .A...P..Is..................................................................................................................................... 68 In-app. .p..u..r.c..h..a..s..i.n..g.. .A...P..Is............................................................................................................................... 69 Analyt.i.c..s.. .A...P..Is............................................................................................................................................. 71 Dow n.lo..a..d.. .s..e..r..v..ic..e.. .A...P..I.s.............................................................................................................................. 71 ServiceRe..s..p...o..n..s...e..H..a..n...d..l.e..r.. ............................................................................................................................ 72 JSON Res.p..o...n..s..e... .D..a..t.a.. ..................................................................................................................................... 73 Index 0 © 2013 PlayJam Ltd. Confidential Information - Do Not Distribute II III GameStick SDK © 2013 PlayJam Ltd. Confidential Information - Do Not Distribute Introduction 1 Section 1 Introduction The GameStick SDK provides a set of APIs which allow your game to make use of the PlayJam Online Services. The following three steps can get you publishing games on the GameStick: 1. You can develop games for GameStick using various different development environments that can compile to Android, such as Unity, C++ (via Marmalade or the Android NDK) or Java. 2. Register and download the GameStick SDK from the Developer Site. Versions of the SDK are available for Unity, C++ and Java. Use the API calls in the SDK to add a range of services and functionality like controller support, billing, and social aspects such as leader-boards and achievements. 3. Compile your application to Android and submit it through the PlayJam Publishing Portal for distribution to GameStick. About the PlayJam Platform The PlayJam Platform actually consists of two things: The PlayJam Publishing Portal This is a web-based management application used by developers to register themselves with PlayJam, upload games onto the servers, and manage and configure the PlayJam on-line services used by their games.
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages79 Page
-
File Size-