Re: [pygame] Pgreloaded status?

2009-12-10 Thread P.F.C.
Are you asking in regards to networking? If so, python comes with a socket module that allows you to connect and then use the socket by read/write operations A tutorial on sockets: http://www.amk.ca/python/howto/sockets/ This also allows you to use the pickle module to send objects over the networ

Re: [pygame] First / Third person shooter?

2009-11-27 Thread P.F.C.
go to http://nehe.gamedev.net/ click on the lessons on the right at the bottom of every lesson there is the equivalent python code for download the only commands in the tutorial you need to worry about are those pertaining to OpenGL If you understand C/C++ then it will also help you read them a

Re: [pygame] Need names and nationalities for AI playes in new sport-game

2009-11-12 Thread P.F.C.
That's a great idea! :D Gabriel Bouffard - Canada -- Maranatha! - PFC aka Fezzik aka GAB On Thu, Nov 12, 2009 at 12:24 PM, Thadeus Burgess wrote: > Sweet! Thadeus Burgess - Texas USA - Caucasian > > > > > > On Thu, Nov 12, 2009 at 8:25 AM, leo kirotawa wrote:

Re: [pygame] Limited Range?

2009-11-03 Thread P.F.C.
I'm not getting the attachment but this might help. If your doing range as a circle with radius = r then: if ((enemy.x-tower.x)**2+ (enemy.y-tower.y)**2)**0.5<=r: attack!!! basically, you'd be using Pythagorean theorem to find the distance to check if it attacks or not. Checking distances for e