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
Kartones
June 27, 2013
Programming
1
120
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
43
Python static typing with MyPy
kartones
0
65
High-impact refactors keeping the lights on
kartones
0
63
Remote Work
kartones
0
86
Geospatial CSV Imports Hidden Complexity
kartones
0
48
Intro to GameBoy Development
kartones
0
96
Myths & The Real World of OpenSource Development
kartones
0
45
CartoDB Tech Intro
kartones
0
45
Copy Protection & Cracking History
kartones
0
120
Other Decks in Programming
See All in Programming
Deoptimization: How YJIT Speeds Up Ruby by Slowing Down / RubyKaigi 2025
k0kubun
1
1.8k
Lambda(Python)の リファクタリングが好きなんです
komakichi
4
230
「理解」を重視したAI活用開発
fast_doctor
0
270
The Nature of Complexity in John Ousterhout’s Philosophy of Software Design
philipschwarz
PRO
0
160
ComposeでWebアプリを作る技術
tbsten
0
130
State of Namespace
tagomoris
5
2.4k
AIコーディングエージェントを 「使いこなす」ための実践知と現在地 in ログラス / How to Use AI Coding Agent in Loglass
rkaga
4
1.2k
DevOpsDaysTokyo2025社内副業で他部門へ_越境_して見えた価値再定義最大1か月のリードタイムを10分に短縮したDevOps実践.pdf
susumutomita
0
110
Making TCPSocket.new "Happy"!
coe401_
1
2.9k
Instrumentsを使用した アプリのパフォーマンス向上方法
hinakko
0
230
Make Parsers Compatible Using Automata Learning
makenowjust
2
6.8k
個人開発の学生アプリが企業譲渡されるまで
akidon0000
2
1.1k
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
690
Java REST API Framework Comparison - PWX 2021
mraible
31
8.5k
Speed Design
sergeychernyshev
29
920
Facilitating Awesome Meetings
lara
54
6.3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.4k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.7k
Fontdeck: Realign not Redesign
paulrobertlloyd
84
5.5k
Transcript
APIs for Developers Introducing the
•I code •diego@miniplay.com •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