RCr final - but not quite done..

Just uploaded our final version of RCr: Larry's Lawn

It's quite far from where I expected it to be. Seems like I really underestimated this "game in one week thing" :-S

Due to some not so smart design decisions from yours truly, I don't expect the game to run on every body's system. Our track files are one large mega texture and if your graphics card is not fairly recent it will probably fail loading them. Resulting in something like this below.

  File "/var/lib/python-support/python2.5/pyglet/image/__init__.py", line 1451, in create
    blank)
  File "/var/lib/python-support/python2.5/pyglet/gl/lib.py", line 105, in errcheck
    raise GLException(msg)
pyglet.gl.lib.GLException: invalid value

Though we will be continuing development on RCr as part of a university project so you can expect lots of post Pyweek releases which will be much better :-)

And now, sleep at last.....

BTW: really looking forward to playing all the other games :-)

(log in to comment)

Comments

I've noticed two bugs: in the second race I get the "you won" message somewhere around the middle of lap 3, and after I purchased a blue body and ran both races again I got this:
Traceback (most recent call last):
  File "\loewis\25\python\Modules\_ctypes\callbacks.c", line 206, in 'calling callback function'
  File "C:\devel\Python25\lib\site-packages\pyglet\window\win32\__init__.py", line 849, in _wnd_proc
    result = event_handler(msg, wParam, lParam)
  File "C:\devel\Python25\lib\site-packages\pyglet\window\win32\__init__.py", line 918, in _event_key
    self.dispatch_event(ev, symbol, modifiers)
  File "C:\devel\Python25\lib\site-packages\pyglet\window\__init__.py", line 1217, in dispatch_event
    EventDispatcher.dispatch_event(self, *args)
  File "C:\devel\Python25\lib\site-packages\pyglet\event.py", line 340, in dispatch_event
    if handler(*args):
  File "c:\downloads\PyWeek 8\RCr\menu.py", line 301, in on_key_press

  File "c:\downloads\PyWeek 8\RCr\menu.py", line 245, in _activate_item

  File "c:\downloads\PyWeek 8\RCr\menu.py", line 439, in on_key_press

  File "c:\downloads\PyWeek 8\RCr\race.py", line 448, in on_proceed
    self.get_ancestor(Race).save_results()
  File "c:\downloads\PyWeek 8\RCr\race.py", line 303, in save_results
    self.autocomplete_results()
  File "c:\downloads\PyWeek 8\RCr\race.py", line 248, in autocomplete_results
    assert stats not in self.results
AssertionError

You put a lot of work in this game, I'm glad to hear you intend to continue working on it. I've noticed that even the wheels turn as you steer!

Oh, and also you should not use os.path.join with pyglet resource paths, it results in an error on Windows. Just use 'cups/garden'.
to workaround the bug that throws AssertionError you can replace, in Race.py:
assert stats not in self.results

with
        if stats not in self.results:
            self.results.append(stats)

very nice graphcs !
Thanks :-) I'm bug fixing right now and hope to release an improved version soon.