Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
MiniPlay APIs
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kartones
June 27, 2013
Programming
1
130
MiniPlay APIs
@GameLab Barcelona 2013
Kartones
June 27, 2013
Tweet
Share
More Decks by Kartones
See All by Kartones
Building Autonomous Agents with gym-retro
kartones
0
45
Python static typing with MyPy
kartones
0
71
High-impact refactors keeping the lights on
kartones
0
67
Remote Work
kartones
0
94
Geospatial CSV Imports Hidden Complexity
kartones
0
56
Intro to GameBoy Development
kartones
0
100
Myths & The Real World of OpenSource Development
kartones
0
49
CartoDB Tech Intro
kartones
0
49
Copy Protection & Cracking History
kartones
0
130
Other Decks in Programming
See All in Programming
Unity6.3 AudioUpdate
cova8bitdots
0
110
JPUG勉強会 OSSデータベースの内部構造を理解しよう
oga5
2
230
grapheme_strrev関数が採択されました(あと雑感)
youkidearitai
PRO
1
210
LangChain4jとは一味違うLangChain4j-CDI
kazumura
1
150
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
140
Head of Engineeringが現場で回した生産性向上施策 2025→2026
gessy0129
0
210
AIに任せる範囲を安全に広げるためにやっていること
fukucheee
0
110
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
550
TROCCOで実現するkintone+BigQueryによるオペレーション改善
ssxota
0
130
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
9
2.5k
2026/02/04 AIキャラクター人格の実装論 口 調の模倣から、コンテキスト制御による 『思想』と『行動』の創発へ
sr2mg4
0
680
NOT A HOTEL - 建築や人と融合し、自由を創り出すソフトウェア
not_a_hokuts
2
570
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.1k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
0
2.4k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
Designing for humans not robots
tammielis
254
26k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
Automating Front-end Workflow
addyosmani
1370
200k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
230
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
190
Writing Fast Ruby
sferik
630
63k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Designing for Performance
lara
611
70k
Exploring anti-patterns in Rails
aemeredith
2
280
Transcript
APIs for Developers Introducing the
•I code •
[email protected]
•Twitter: @kartones Who I am? About
•Intro •Features •APIs •Tidbits Agenda About
English Spanish Portuguese Italian • Browser-based games portal Singleplayer/Casual
Multiplayer Social MMOs Who we are Intro • May 2013 site rewrite + APIs
Engagement & Encouraging Features Experience Levels Custom Avatars Rankings
55,278,707,178,240,000,000,000,000 Avatar combinations Avatars Features
User Relations Features My followers My subscriptions My friends
Realtime Notifications Features
•Only between friends •“Share game” uses them Private messaging Features
•Hosted games Safer Game file + statics (no serverside) •External
games Must check data signature MiniPlay Connect (SSO) Game Sandbox Features
•Dev/Prod flags •Dev: Hidden except game devs & admins Test
users No rewards Achievements, Purchases and Stats simulators Also available after launch Game Sandbox Features
680px Game Player Layouts Features
Game Player Layouts Features 980px
Game Player Layouts Features 1100px Fullscreen
•All major plugins and frameworks: Flash/Shockwave Unity HTML 5/JS Game
Player Support Features
Virtual Economy Features Gems (free) Minicoins (paid)
In-game Items Features ·Free or Paid ·Consumable or Unlimited ·Usable
or Passive
•REPLACE: level completed •SUM: lifetime kills •MAX: highscore •MIN: best
lap time Maxvalue: int32 In-game Statistics Features
•MAX, MIN, SUM •ASC or DESC * •Global: Daily, Weekly,
Monthly, Total •Or Friend-based * Cannot be modified once set Scoreboards Features
•Based on stats •AND logic if using 2+ stats •Time-aware
if wanted •Difficulty levels: Easy/Medium/Hard •500 XP to distribute •Gems awarded (based on XP) •We can adapt existing achievements Achievements Features
•Special cases, more complex rules •Manually setup (talk with us
for details) Trophies Features
dev.miniplay.com Code Samples & Documentation APIs
•Client to Server Actionscript 3 Javascript •Server to Server REST
C2S & S2S APIs
•GET/POST HTTP (HTTPS soon) •JSON •HTTP code + JSON for
errors REST APIs
•Read/Write access to modules •Callbacks for most functions •Use JS
API too or limited functionality Actionscript 3 APIs
•Read-only functionality •Interact with sandbox/site (hosted) •Miniplay Connect (external) •Game
share, invites and challenges Javascript API APIs
•Environment •User •Stats •Highscore •Shared content •Datastore •Items Modules APIs
•Interaction with Sandbox (and site) E.g. Open scoreboards, detect a
like/favourite •C2S only Environment module APIs
•User authentication •Retrieval of user data •Subscriptions (follow list), followers
& friends User module APIs
•Get in-game stats •Post in-game stats Allows reset of a
stat Allows batching JS API can’t Stats module APIs
•Get scoreboards Global Friends •Get Score or position Highscores module
APIs
•Manage shared content Levels, user created “public” content,... Replays •50KB/slot
(infinite slots) •Can be associated with highscores •JS API can’t Shared content module APIs
•Cloud-based binary data storage system •50KB/slot, 3 slots (per user
per game) •JS API can’t Datastore module APIs (online savegames)
•Manage inventory •Manage stock •Consume item(s) •Items purchase dialog •Purchases
have server & client callbacks •AS3 can’t add items •JS can’t consume/add items Items module APIs
1.Register as a user 2.Contact us to register the game
3.Integrate API(s) 4.Test development version 5.Ask for validation 6.Launch scheduled 7.Game live! 8.Update game (GOTO 4) Game Publishing Flow Tidbits
Who already uses us Tidbits
• Models: Game license Pre-roll advertisement Virtual
economy: Integrate our currency • Payment providers: Country-based Paypal, Mobiadvanced, Trialpay, Toditocash, Paysafecard, Paymentwall, Dinero Mail,... Payments Tidbits
Unity API Mobile application (game hub) Mobile integration of Avatar
Center … Roadmap Tidbits
Questions? THIS IS THE END