Technology

I spent a while yesterday going through some libraries for use in this competition. We've settled on using just Pyglet and PyODE which has also influenced the game's mechanics.

For the graphics I think we will be using some GIMP, Photoshop and Inkscape. I'm not sure what we're going to do about the music or sound effects.

I'm currently setting up the project's environment (which I probably should have done earlier).

(log in to comment)

Comments

It didn't work for me. Ubuntu 8.04
Traceback (most recent call last):
  File "run_game.py", line 4, in 
    main.main()
  File "/home/steve/Documents/Projects/pyweek7/DLED/twinerama-1.0/gamelib/main.py", line 120, in main
    pyglet.app.run()
  File "/usr/lib/python2.5/site-packages/pyglet/app/__init__.py", line 264, in run
    EventLoop().run()
  File "/usr/lib/python2.5/site-packages/pyglet/app/xlib.py", line 83, in run
    window.dispatch_platform_event(e)
  File "/usr/lib/python2.5/site-packages/pyglet/window/xlib/__init__.py", line 1167, in dispatch_platform_event
    event_handler(e)
  File "/usr/lib/python2.5/site-packages/pyglet/window/xlib/__init__.py", line 1321, in _event_key
    self.dispatch_event('on_key_press', symbol, modifiers)
  File "/usr/lib/python2.5/site-packages/pyglet/window/__init__.py", line 1216, in dispatch_event
    EventDispatcher.dispatch_event(self, *args)
  File "/usr/lib/python2.5/site-packages/pyglet/event.py", line 340, in dispatch_event
    if handler(*args):
  File "/home/steve/Documents/Projects/pyweek7/DLED/twinerama-1.0/gamelib/main.py", line 25, in on_key_press
    command()
  File "/home/steve/Documents/Projects/pyweek7/DLED/twinerama-1.0/gamelib/main.py", line 89, in run_game
    import game
  File "/home/steve/Documents/Projects/pyweek7/DLED/twinerama-1.0/gamelib/game.py", line 36, in 
    data.filepath('background.png')))
  File "/usr/lib/python2.5/site-packages/pyglet/sprite.py", line 225, in __init__
    self._texture = img.get_texture()
  File "/usr/lib/python2.5/site-packages/pyglet/image/__init__.py", line 780, in get_texture
    self._current_texture = self.create_texture(Texture, rectangle)
  File "/usr/lib/python2.5/site-packages/pyglet/image/__init__.py", line 768, in create_texture
    texture = cls.create(self.width, self.height, internalformat, rectangle)
  File "/usr/lib/python2.5/site-packages/pyglet/image/__init__.py", line 1451, in create
    blank)
  File "/usr/lib/python2.5/site-packages/pyglet/gl/lib.py", line 105, in errcheck
    raise GLException(msg)
pyglet.gl.lib.GLException: invalid enumerant
Could you post (or mail me -- alex.holkner@gmail.com) the output of "python -m pyglet.info"?