Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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?

share|improve this question

4 Answers 4

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.

share|improve this answer

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.

share|improve this answer

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!

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.