[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Help



kschnee(e)k dio:
On Fri, 15 Feb 2008 15:23:53 +0200, "Jason Ward" <nyad55@xxxxxxxxx> wrote:
btw Mirra is a 2D library, forgot to mention that.

Since Mirra is 2D, what exactly does it do that Pygame doesn't? I can see
doing a 2D tiled landscape like I'm already doing in Pygame, but having,
say, dynamic lighting. That's a neat effect, but already doable in Pygame.

it is different mindset. pygame is a general graphics library. mirra is far more specific (and therefore narrow). In this case mouse interaction with shapes/graphics is one of the main focus. In some senses it is close to Macromedia Flash or Director or something like Processing. It is a tool constructed to develop an specific type of applications.

For example you can do

rect = Rect(x=10, y=100, z=1, width=40, height=60)
rect.interactiveState = 2

and automatically you can click and drag the rect.

If you want a classical game you want to use pygame and/or pyopengl. If you want something more in another direction it might help. This an example of an application constructed with Mirra.
screenshot :
http://ixi-audio.net/content/scrshots/slicer1.gif
video :
http://www.youtube.com/watch?v=rxvii1A3a-g
download link :
http://ixi-audio.net/content/body_software_slicer.html

btw. nice to hear that someone found it useful.

enrike