cross platform game development with rails

Post on 28-May-2015

1.054 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Talk at RubyconfBR 2012 about game development with Rails. This talk is mostly about the experience developing a game at Uken being a Backend Developer

TRANSCRIPT

Cross-PlatformGame Development

With Rails

Insights from the trenches

@caueguerracaue@uken.com

cauê guerra

[demo]

25 million installs

2 engines

8 titles

top 25

why HTML5?

Facebook

Blackberry

AndroidiPhone

iPad1. reaches

more people

2. easy to add new features

3. easier to maintain

before we get started...

myths

[demo]

front-end tricks

1. loading screen

2. sprites

3. adapt

4. creating maps

http://www.mapeditor.org/

architecture

game

SDKs

payments

auth

ads

notifications

...

game

payments

auth

ads

notifications

...

game

game

REST Services

API calls

game

payments

auth

ads

notifications

...

game

game

REST Services

game

engine

assets

engine

API calls

game

engine

assets

game

engine

assets

game

engine

assets

game

engine

assets

let’s dig in...

Payments

deviceuser makes a purchase

provider

game

validation

Payments

deviceuser makes a purchase

provider

service

validation

game

user auth

user does not need username/passworddevice has udid/uuid/android_id

Game

users

devices

auth

what if I want toknow which users play more than one game?

what if I want tochange the auth logic?

auth system

game

credentials user_id

user

device

account

identifier

device

identifier

device

account

identifieridentifier

use as few SDKs as possible

prefer server-to-server integrations

backend tricks

1. retry silently

2. features on/off

3. roll-out plan

final tips

1. make it social

2. engage your users in the first minutes

3. A/B test as much as you can

4. have an awesome support team

in conclusion

1. it is just a webapp

2. it doesn’t need to be too fancy

3. a good idea is better than good

graphics

4. you can do it

Thank you!

Questions?

uken.com/jobs

top related