Sign in to follow this  
Epic Zombie

MySQL and PHP for multiplayer game

Recommended Posts

Epic Zombie    145
Hi,
I'm working on location-based Android games. My current project is single player, but I intend to make my next project a multiplayer game. My intention is to allow your location to be shared with other players (you can turn this on and off). Can this be done with standard PHP/MySQL? I want to update the player positions once every minute or so.

Share this post


Link to post
Share on other sites
ToniKorpela    271
It can be done, but HTTP is not good protocol for networking games, because running apache and php script is lower than running small C++ program with TCP or UDP sockets. HTTP also has much bigger package overhead than TCP and UDP. TCP still has bigger overhead than UDP.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this