Your SlideShare is downloading. ×
0
Low latency networking on IOS and Android overCloudOguz BastemurZONDIG 2013
Mobile application development frameworksOguz BastemurPhonegap (HTML + JS + CSS) RGB*Xamarin (C#)Corona SDK (lua)and more....
Game engines for mobile platformsOguz BASTEMURUnreal EngineUnity 3DCocos 2D-xand more!ob@zondig.com (ZONDIG)
Networking for your applicationOguz BASTEMURNode.JS (framework)Parse (service)PokeIn (framework)StackMob (service)+/+Amazo...
ProblemsOguz BASTEMURClient – Server Distance (higher ping rate)ping tozondig.comtakes60 msob@zondig.com (ZONDIG)
ProblemsOguz BASTEMURWhat happens to our bullets ?Clientwith200 mslatency?ob@zondig.com (ZONDIG)
ProblemsOguz BASTEMURClient – Server Distance (higher ping rate)Cross Platform Custom LogicLoad sharing – ScalabilityEase ...
From App to ServerOguz BASTEMURC#public void joinGame(int w, int h).Objective - CNSArray *arr = [[NSArray alloc] initWithO...
From Server to AppOguz BASTEMURC#CometWorker.SendToClient(playerId,EXTML.Method("playerShot:andY:andWidth:andHeight:", xs,...
ProblemsOguz BASTEMURClient – Server Distance (higher ping rate)Cross Platform Custom LogicLoad sharing – ScalabilityEase ...
ProblemsOguz BASTEMURClient – Server Distance (higher ping rate)Cross Platform Custom LogicLoad sharing – ScalabilityEase ...
ProblemsOguz BASTEMURClient – Server Distance (higher ping rate)Cross Platform Custom LogicLoad sharing – ScalabilityEase ...
ProblemsOguz BASTEMURHello! This is onlyA mobile phone!fireShot(x, y) -> 8 times per second!Don’t forget, you are under a...
ProblemsOguz BASTEMURGroup ‘em all!CCARRAY_FOREACH(arrMY, ob){Jobs *po = dynamic_cast<Jobs*>(ob);sprintf(xs, "%s;%d",xs,po...
Tricks!Oguz BASTEMUR- Game timer (cluster wide)- Timed sensing (basic collision detection won’t help!)- Multiple connectio...
Tricks!Oguz BASTEMUR- Game timer (cluster wide)- Timed sensing (basic collision detection won’t help!)- Multiple connectio...
Tricks!Oguz BASTEMUR- Game timer (cluster wide)- Timed sensing (basic collision detection won’t help!)- Multiple connectio...
Tricks!Oguz BASTEMUR- Game timer (cluster wide)- Timed sensing (basic collision detection won’t help!)- Multiple connectio...
Tricks!Oguz BASTEMUR- Game timer (cluster wide)- Timed sensing (basic collision detection won’t help!)- Multiple connectio...
FinallyOguz BASTEMURCheers!Source codes for the games:RGB Game : http://visualjs.netGondor Game :https://github.com/obaste...
Upcoming SlideShare
Loading in...5
×

Low Latency Networking on IOS and Android over Cloud by Oguz Bastemur

396

Published on

For today’s mobile apps, it is quite important to provide interaction among the end users. Consider a game application have users from both Android and IOS and you want them to play together. How about scalability? low latency? user state management? Definitely, there were lots of things you had to deal with so far. On this session, I will try to simplify the things and prepare the sample apps for both IOS and Android talking each other.

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
396
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Low Latency Networking on IOS and Android over Cloud by Oguz Bastemur"

  1. 1. Low latency networking on IOS and Android overCloudOguz BastemurZONDIG 2013
  2. 2. Mobile application development frameworksOguz BastemurPhonegap (HTML + JS + CSS) RGB*Xamarin (C#)Corona SDK (lua)and more..ob@zondig.com (ZONDIG)Time ismoneyfriend!
  3. 3. Game engines for mobile platformsOguz BASTEMURUnreal EngineUnity 3DCocos 2D-xand more!ob@zondig.com (ZONDIG)
  4. 4. Networking for your applicationOguz BASTEMURNode.JS (framework)Parse (service)PokeIn (framework)StackMob (service)+/+Amazon / Azure / Rackspace ?ob@zondig.com (ZONDIG)
  5. 5. ProblemsOguz BASTEMURClient – Server Distance (higher ping rate)ping tozondig.comtakes60 msob@zondig.com (ZONDIG)
  6. 6. ProblemsOguz BASTEMURWhat happens to our bullets ?Clientwith200 mslatency?ob@zondig.com (ZONDIG)
  7. 7. ProblemsOguz BASTEMURClient – Server Distance (higher ping rate)Cross Platform Custom LogicLoad sharing – ScalabilityEase of programming (IDE, Debugger..)Environment Capabilitiesob@zondig.com (ZONDIG)
  8. 8. From App to ServerOguz BASTEMURC#public void joinGame(int w, int h).Objective - CNSArray *arr = [[NSArray alloc] initWithObjects:width, height, nil];[_client send:@"Server.joinGame" withParameters:arr];.Javaclient.Send("Server.joinGame", w, h);ob@zondig.com (ZONDIG)
  9. 9. From Server to AppOguz BASTEMURC#CometWorker.SendToClient(playerId,EXTML.Method("playerShot:andY:andWidth:andHeight:", xs, ys, opponentSize.Width, opponentSize.Height));.Objective - C- (void) playerShot:(NSString *)xs andY:(NSString*) ysandWidth:(NSNumber *)w andHeight:(NSNumber *)h.Javapublic void playerShotandYandWidthandHeight(String xs, Stringys, Integer wo, Integer ho)ob@zondig.com (ZONDIG)
  10. 10. ProblemsOguz BASTEMURClient – Server Distance (higher ping rate)Cross Platform Custom LogicLoad sharing – ScalabilityEase of programming (IDE, Debugger..)Environment Capabilitiesob@zondig.com (ZONDIG)
  11. 11. ProblemsOguz BASTEMURClient – Server Distance (higher ping rate)Cross Platform Custom LogicLoad sharing – ScalabilityEase of programming (IDE, Debugger..)Environment Capabilitiesob@zondig.com (ZONDIG)
  12. 12. ProblemsOguz BASTEMURClient – Server Distance (higher ping rate)Cross Platform Custom LogicLoad sharing – ScalabilityEase of programming (IDE, Debugger..)Environment Capabilities (.NET or JS?)ob@zondig.com (ZONDIG)
  13. 13. ProblemsOguz BASTEMURHello! This is onlyA mobile phone!fireShot(x, y) -> 8 times per second!Don’t forget, you are under a different thread!ob@zondig.com (ZONDIG)
  14. 14. ProblemsOguz BASTEMURGroup ‘em all!CCARRAY_FOREACH(arrMY, ob){Jobs *po = dynamic_cast<Jobs*>(ob);sprintf(xs, "%s;%d",xs,po->x);sprintf(ys, "%s;%d",ys,po->y);}SEND xs and ys every 0.30 seconds!ob@zondig.com (ZONDIG)
  15. 15. Tricks!Oguz BASTEMUR- Game timer (cluster wide)- Timed sensing (basic collision detection won’t help!)- Multiple connections (double our pipe!)- Ping your server!ob@zondig.com (ZONDIG)
  16. 16. Tricks!Oguz BASTEMUR- Game timer (cluster wide)- Timed sensing (basic collision detection won’t help!)- Multiple connections (double our pipe!)- Ping your server!ob@zondig.com (ZONDIG)
  17. 17. Tricks!Oguz BASTEMUR- Game timer (cluster wide)- Timed sensing (basic collision detection won’t help!)- Multiple connections (double our pipe!)- Ping your server!ob@zondig.com (ZONDIG)
  18. 18. Tricks!Oguz BASTEMUR- Game timer (cluster wide)- Timed sensing (basic collision detection won’t help!)- Multiple connections (double our pipe!)- Ping your server!ob@zondig.com (ZONDIG)
  19. 19. Tricks!Oguz BASTEMUR- Game timer (cluster wide)- Timed sensing (basic collision detection won’t help!)- Multiple connections (double our pipe!)- Ping your server!Don’t update your opengl objects from multiple threads!ob@zondig.com (ZONDIG)
  20. 20. FinallyOguz BASTEMURCheers!Source codes for the games:RGB Game : http://visualjs.netGondor Game :https://github.com/obastemur/cocos2dxMultiPlayerob@zondig.com (ZONDIG)
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×