-1
\$\begingroup\$

I am going to be making an online single player browser game. The online element is needed so that a player can login and store the state of their game. This will include things like what buildings have been made and where they have been positioned as well as the users personal statistics and achievements. At this point in time, I am expecting all of the game logic to be performed client side

So far, I am thinking I will use flash for creating the client side of the game. I am also creating a MySQL database to store all the users information.

My question is how do I connect the two. Presumably I will need some sort of server application which will listen for incoming requests from any clients, perform the SQL query and then return the data.

Does anyone have any recommendations of what technology/language to use?

\$\endgroup\$

4 Answers 4

3
\$\begingroup\$

I recommend you to try Jelastic. I really like it: the GUI is awesome! I heard that they had added VDS feature, so maybe this will be useful in your case.

\$\endgroup\$
1
\$\begingroup\$

If you don't have much experience with server-side programming and/or don't want to host your own server machine I can recommend Google App Engine - it's easy to use for this kind of application (see the datastore documentation) and scales nicely. The App Engine SDK allows you to run a test server locally in a simple manner.

I don't have any experience with Flash, but this blog entry gives an overview on how to connect with App engine.

\$\endgroup\$
1
\$\begingroup\$

I'd check out this article. You'll find a lot of specific information on client and server. It talks about HTML5 (which you should consider) and other fun, server bits using Node.js.

\$\endgroup\$
1
\$\begingroup\$

You can have a look at http://www.smartfoxserver.com/ It's specifically designed for multiplayer applications, and if you have less than 100 concurrent connections, you even have a free Comunity Edition license.

Cheers!

\$\endgroup\$

Not the answer you're looking for? Browse other questions tagged .