[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] recommended network API or game examples?
On Jan 9, 2009, at 7:17 PM, Jake b wrote:
A while ago I had tried a few different network libs, ( and the
native sockets ). I understood how the basic functions were working,
but I wasn't sure how to put it all together in a game. ( It would
show telnet and echo clients, but, that's not the same. )
I'm looking for a simple game, like a clone of the classic
asteroids, with two player ships. ( Or any simple game ) Where I can
get a better idea on how you communicate back and forth a list of
objects(ie: asteroids initial loc+vel) and messages.(ie: player
fire, player current orientation, player thrust, etc..)
( So I am more looking for examples on usage, but if you have any
comments on specific libs, that'd be welcome too. )
https://coderanger.net/browser/school/2007/fall/egd/magnoball/pygamenet.py
A good bit more than what you mentioned, but I think it does the job
decently.
--Noah