Nice one :)

The only thing I'd change is with the mouse handling using the mouse
event attributes rather than call the functions :)
event.pos and event.button   That will make the code a tiny bit more
reliable, since the functions could be different.

cheers,


On Sat, Dec 20, 2008 at 8:41 PM, eliben <[email protected]> wrote:
>> I began posting a new tutorial for Pygame on my website. Here is the
>> first 
>> post:http://eli.thegreenplace.net/2008/12/13/writing-a-game-in-python-with...
>>
>
> Part II is available:
>
> http://eli.thegreenplace.net/2008/12/20/writing-a-game-in-python-with-pygame-part-ii/
>
>    * A prettier background for the game
>    * Responding to user events
>    * A more complex internal state for the creeps
>    * Simple animation
>    * Rendering text
>

Reply via email to