How to approach the multiplayer game facebook app project?

I want to create a multiplayer facebook game. the game will have 1 to 4 people playing on their systems.

I want to target, say, 10K concurrent online users.

I plan to write a client game in Flash.

I wanted to know how these clients communicate with each other.

can these clients interact directly with each other, or should I use the server as a mediator approach? I want the game to work even on "limited" networks.

If the server, how can I work with the cloud service of google application? I came across a channel API, should I use this? Will it work with a flash client?

thank,

+3
source share
3 answers

You should not rely on clients who communicate directly with each other - with NAT this is difficult, not to mention problems with the browser sandbox. Instead, communicate through the server. If you need asynchronous (with the server) communication, then yes, you will need to use something like a channel API or an external service such as PubNub.

Regarding the use of the feed API in Flash, this is not possible, but you may have a Javascript pad that receives feed API messages and sends them to the flash application. Or write your application in Javascript - HTML5 is the way to go!

+3
source

http://gaeswf.appspot.com/

GAE SWF - , Flash Flex, Google App Engine, Flash Flex.

+1

How exactly the connection should work depends on what exactly is happening in your game. In general, although the game on Facebook should have players interacting through the server and not communicating directly with each other.

How to use the Google App Engine, as mentioned, the GAE SWF project is specifically designed for this.

+1
source

All Articles