[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Networking?
On Nov 19, 2007, at 11:08 AM, Jason Ward wrote:
I want to make my game playable over the network and if possible
the internet.
For the network it must support more than 2 computers and be realtime
Would the sockets library in python solve all my needs?
The appropriate tool totally depends on the game. What works good for
a turn based game isn't gonna fly for a first person shooter, for
instance.
I would use sockets in the following circumstances:
- You need low-level control and are already familiar with socket
programming and serializing/de-serializing across the wire. Note that
you will also need to know how to use async i/o or threads as well.
- You really want to want to learn all of the above and have a lot of
time and enthusiasm.
First I would see if there is another similar game out there that
already supports networking. How did they do it?
-Casey