python open-gl shmups

which is the best way to code python shmup games using open-gl, just like Raystorm or Torus Trooper? which is the best or the most common library (better if available from Debian repository)? and which is the best way to convert Blender objects (.blend, or Maya's .obj format like http://pastebin.com/7Uw2ucH8 ), in a way that a python game can use it on a simple code or snippet? if someone know interesting examples could help this, or curious to start something interesting (even colaborativelly), please share! thanks! :)

(log in to comment)

Comments

Hey.

Sorry this is unhelpful but I don't think there is one 'best way' - each game generally has to find its own best way depending on what it wants to achieve.

Common & high quality libraries are pyglet and pygame and pyopengl. Other libraries are listed here:
http://wiki.python.org/moin/PythonGameLibraries

A library to load .blend files:
http://code.google.com/p/pyblenderfile/

A library to load .obj files is on this page, under the title 'wavefront obj import/export':
http://www.blender.org/download/python-scripts/import-export/

Although none of these are shmups, some examples of doing vector graphics from Python (not necessarily very good ones) are my scripts:

Some pretty flowers
http://tartley.com/?p=285#more-285
(The code is embedded as an attachment within the article)

Flying high:
http://tartley.com/?p=1207
(there's a link to the code at the end)

An improved version of the 'flying high' code is my 'gloopy' library (but it still isn't very good):
http://pypi.python.org/pypi/gloopy/0.1.3a

My 2008 talk 'stretching pyglet's wings'
http://tartley.com/?p=378


I'm excited to see your work.

  Jonathan
thanks for all links, and i'm also expecting being able to do something minimally interesting to share! :)