MultiPlay.io is a realtime cross-platform gaming platform that allows you to edit the games as they are being played on mobile and web devices. We've been using MongoDB now since the inception of the project, where we quickly needed a data store to handle synchronization between our players entering and leaving a 3d chatroom with guns game. Since then we've gone on to add standard gaming features such as leader boards, real time game analytics, game replays and some not so standard features such as modifying the 3d assets and textures of the games as they're being played. In this talk, we'd like to share with you the tricks and techniques we've used to handle our ever changing datasets and assets store to scale across different versions of the game clients and platforms. Which will help you gain insight into building a cross-platform rapid prototyping environment of your own too.
5. Maintaining State
• Saving game events for analytics
Web Server
MongoDB
App App
Shot Fired Save Event
Game Events
Collection
#MongoDBdays @multiplayio
21. Why MongoDB?
• Community
• Get’s out of your way
• Fun & Easy
• 10gen Education
• JSON/JavaScript
• Sharding
• Don’t fight it
#MongoDBdays @multiplayio
23. THANKS!
“Fast Delivery. Changed my life.
Should present again. A+++++”
- iBot5
“I wanted to be a pop star before this, but
now I just want to program JavaScript!”
- Zombie Justin B.
#MongoDBdays @multiplayio