cocos2d color error on transition

10 views
Skip to first unread message

geojeff

unread,
Jan 26, 2009, 5:05:32 AM1/26/09
to bruce-users
I am on Mac OS X.

When I click or use the arrow keys to advance from the first slide of
any example:

Traceback (most recent call last):
File "/Volumes/Data/Users/ronald/Projects/python/wrk/r251/Modules/
_ctypes/callbacks.c", line 206, in 'calling callback function'
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/pyglet/window/carbon/__init__.py", line 967,
in _on_text_input
self.dispatch_event('on_text_motion', motion)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/pyglet/window/__init__.py", line 1217, in
dispatch_event
EventDispatcher.dispatch_event(self, *args)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/pyglet/event.py", line 343, in dispatch_event
self._raise_dispatch_exception(event_type, args, handler)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/pyglet/event.py", line 340, in dispatch_event
if handler(*args):
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/bruce/presentation.py", line 113, in
on_text_motion
elif motion == key.MOTION_RIGHT: self.__next()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/bruce/presentation.py", line 82, in __next
self.change_page(1)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/bruce/presentation.py", line 78, in
change_page
self._enter_page(self.pages[self.page_num], dir>0)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/bruce/presentation.py", line 49, in
_enter_page
page.transition(page)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/bruce/style.py", line 222, in _transition
director.replace(klass(new_scene, **kwargs))
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/site-packages/cocos2d-0.3.0-py2.5.egg/cocos/scenes/
transitions.py", line 514, in __init__
super(FadeTransition, self ).__init__( *args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'color'

geojeff

unread,
Jan 31, 2009, 9:38:30 PM1/31/09
to bruce-users
Oops -- I didn't realize that there is an os x zip file for download
that has the library zipped, along with the bruce.sh shell script.
This plays the examples fine.

The traceback is from running trying to run the source version, after
installing the dependencies.

Jeff

Richard Jones

unread,
Feb 1, 2009, 12:09:15 AM2/1/09
to bruce...@googlegroups.com
On Sun, 1 Feb 2009, geojeff wrote:
> Oops -- I didn't realize that there is an os x zip file for download
> that has the library zipped, along with the bruce.sh shell script.
> This plays the examples fine.

Great!


Richard

Jeff Kowalczyk

unread,
Feb 2, 2009, 3:02:08 AM2/2/09
to bruce-users


On Jan 31, 9:38 pm, geojeff <ffej...@gmail.com> wrote:
> Oops -- I didn't realize that there is an os x zip file for download
> that has the library zipped, along with the bruce.sh shell script.
> This plays the examples fine.
>
> The traceback is from running trying to run the source version, after
> installing the dependencies.

I've just now packaged cocos2d-0.3.0 and bruce-3.2.1 for Gentoo Linux
and encounter the same errors on the bruce examples.

I'm using the source tarball:

http://bruce-tpt.googlecode.com/files/bruce-3.2.1.tar.gz

What do I need to do to the portage+distutils installed /usr/bin/
bruce?

Thanks,
Jeff

Richard Jones

unread,
Feb 2, 2009, 3:19:14 AM2/2/09
to bruce...@googlegroups.com

A new release of Cocos2d :)

I'll hassle the cocos maintainers to get them to make a bugfix release.

Until then you'll need to use a direct SVN checkout as present in the bruce
app distribution.


Richard

Jeff Kowalczyk

unread,
Feb 2, 2009, 4:48:39 PM2/2/09
to bruce-users
On Feb 2, 3:19 am, Richard Jones <r1chardj0...@gmail.com> wrote:
> I'll hassle the cocos maintainers to get them to make a bugfix release.
>
> Until then you'll need to use a direct SVN checkout as present in the bruce
> app distribution.

Thanks. Bruce and dependencies are now packaged for Gentoo Linux[1].
Are debian packages in the works for a ready-to-run Ubuntu deployment?

[1] http://bugs.gentoo.org/show_bug.cgi?id=257435
Reply all
Reply to author
Forward
0 new messages