So writing a game in python and pygame usually doesn't involve
writing C/C++ code?
--- On Fri, 4/17/09, J Dunford <smilechaser@xxxxxxxxxxxxxxx> wrote:
From: J Dunford <smilechaser@xxxxxxxxxxxxxxx>
Subject: Re: [pygame] C/C++ and Python
To: pygame-users@xxxxxxxx
Date: Friday, April 17, 2009, 4:51 PM
On Fri, Apr 17, 2009 at 3:10 PM, Yanom Mobis <yanom@xxxxxxxxxxxxxx>
wrote:
I've heard some games are made with C/C++ and Python together. Where
does Pygame fit into this?
That really depends on the game. Some games, such as Civilization
IV, use Python as an embedded scripting language. This allows the
developer to write the performance intensive parts in C/C++ and the
game logic in Python.
Users of pygame generally operate in the reverse direction. They
have a Python program that deals with all the high-level concepts,
but then delegates the fiddly low-level stuff to the Pygame library.