22 July 2009 ~ 5 Comments

PyGame and Animated Sprites – Take 2

I made a demo to better illustrate the topic covered in my previous post : PyGame and Animated Sprites

Here’s a screenshot of the application :

screenshot

Animated Explosions Sprites

Download the Source code of the demo :

explosion-spritetar.tar.gz

Spread the word:
  • del.icio.us
  • Reddit
  • StumbleUpon
  • Technorati
  • Twitter
  • DZone
  • Facebook
  • FriendFeed
  • HackerNews

5 Responses to “PyGame and Animated Sprites – Take 2”

  1. fabzter 5 August 2009 at 8:57 am Permalink

    Code doesn’t run on Ubuntu Linux, am I missing something?

    • Nicolas Crovatti 5 August 2009 at 6:55 pm Permalink

      Hi fabzter. Does it shows any error message that could help understanding why ?

      For information, I tested this app on MacOsX Leopard, Debian Lenny and Win XP.

  2. fabzter 5 August 2009 at 11:56 pm Permalink

    Well I may be some foolish, but it seems I am lacking one module:

    Traceback (most recent call last):
    File “main.py”, line 4, in
    from gameobjects.vector2 import Vector2
    ImportError: No module named gameobjects.vector2

    Thanks for your help :)

  3. Nicolas Crovatti 6 August 2009 at 6:50 am Permalink

    @fabzter
    I see, you are missing the GameObjects Module. You might want to check this post to know more about dependencies : http://blog.shinylittlething.com/2009/07/21/gama-pythonic-shiny-thing/

    Here is what you’ll need:

    Dependencies:

    Let me know if all is ok :)


Additional comments powered by BackType