Falling behind on 1st day's sprint plan already. However, some experiments done.
We are tracking our tasks on a public trello board.
Our github repo is here
Software engineering FTW.
Hey I got a pyglet error, but I was able to fix it. I'm just posting here in case anyone else runs into the same issue. I'm running pyglet 1.2alpha1 under Python 2.7.6 on Ubuntu. First off I had the following:
Traceback (most recent call last):
File "run_game.py", line 3, in
datapawn.__main__.main()
File "/home/christopher/Downloads/datapawn/datapawn/__main__.py", line 14, in main
gs = GameScreen(pygame=args.pygame_audio)
File "/home/christopher/Downloads/datapawn/datapawn/gamescreen.py", line 44, in __init__
prefabs.moonlight(self, -200, self.GROUND_Y, batch),
File "/home/christopher/Downloads/datapawn/datapawn/prefabs.py", line 45, in moonlight
Drawable("moonlight.png", batch, layer=9),
File "/home/christopher/Downloads/datapawn/datapawn/entity.py", line 96, in __init__
img, batch=batch, group=Drawable.get_layer(layer), subpixel=True)
TypeError: __init__() got an unexpected keyword argument 'subpixel'
but removing subpixel=True fixed that pretty easily. Then it would start up until I pressed up, when the following would happen:
[mp3 @ 0xa040fa0] max_analyze_duration reached
Traceback (most recent call last):
File "run_game.py", line 3, in
datapawn.__main__.main()
File "/home/christopher/Downloads/datapawn/datapawn/__main__.py", line 15, in main
pyglet.app.run()
File "/usr/local/lib/python2.7/dist-packages/pyglet/app/__init__.py", line 123, in run
event_loop.run()
File "/usr/local/lib/python2.7/dist-packages/pyglet/app/base.py", line 135, in run
self._run_estimated()
File "/usr/local/lib/python2.7/dist-packages/pyglet/app/base.py", line 174, in _run_estimated
if not platform_event_loop.step(estimate) and estimate != 0.0 and \
File "/usr/local/lib/python2.7/dist-packages/pyglet/app/xlib.py", line 123, in step
device.select()
File "/usr/local/lib/python2.7/dist-packages/pyglet/canvas/xlib.py", line 165, in select
dispatch(e)
File "/usr/local/lib/python2.7/dist-packages/pyglet/window/xlib/__init__.py", line 861, in dispatch_platform_event
event_handler(e)
File "/usr/local/lib/python2.7/dist-packages/pyglet/window/xlib/__init__.py", line 1045, in _event_key
return self._event_key_view(ev)
File "/usr/local/lib/python2.7/dist-packages/pyglet/window/xlib/__init__.py", line 1030, in _event_key_view
self.dispatch_event('on_key_press', symbol, modifiers)
File "/usr/local/lib/python2.7/dist-packages/pyglet/window/__init__.py", line 1151, in dispatch_event
if EventDispatcher.dispatch_event(self, *args) != False:
File "/usr/local/lib/python2.7/dist-packages/pyglet/event.py", line 365, in dispatch_event
if getattr(self, event_type)(*args):
File "/home/christopher/Downloads/datapawn/datapawn/gamescreen.py", line 82, in on_key_press
self.drumsfx[sym].play()
File "/usr/local/lib/python2.7/dist-packages/pyglet/media/__init__.py", line 472, in play
player.queue(self)
File "/usr/local/lib/python2.7/dist-packages/pyglet/media/__init__.py", line 972, in queue
group.queue(source)
File "/usr/local/lib/python2.7/dist-packages/pyglet/media/__init__.py", line 695, in queue
source = source._get_queue_source()
File "/usr/local/lib/python2.7/dist-packages/pyglet/media/__init__.py", line 622, in _get_queue_source
return StaticMemorySource(self._data, self.audio_format)
AttributeError: 'StaticSource' object has no attribute '_data'
I guess there was something that pyglet didn't like about the sound file that plays when you press up, data/sfx/header_burts.mp3. However, converting it to wav and changing line 34 of datapawn/gamescreen.py fixed it.
Cosmologicon on 2015/08/19 01:25:
Hey I got a pyglet error, but I was able to fix it. I'm just posting here in case anyone else runs into the same issue. I'm running pyglet 1.2alpha1 under Python 2.7.6 on Ubuntu. First off I had the following:
but removing subpixel=True fixed that pretty easily. Then it would start up until I pressed up, when the following would happen:
I guess there was something that pyglet didn't like about the sound file that plays when you press up, data/sfx/header_burts.mp3. However, converting it to wav and changing line 34 of datapawn/gamescreen.py fixed it.