Yeah I understand that. It's just the docs make it seem that the add
function will add your sprite to whatever your sprite.layer attribute is if
you don't specify a karg layer. But that's not true. If you then use
change_layer you end up doing twice as much work since with 'add' and
'change_layer'
Am 19.03.2014 07:29, schrieb Jeffrey Kleykamp:
Hi all,
In pygame.sprite.LayeredUpdate.add documentation it says
"If the sprite(s) have an attribute layer then that is used for the layer.
If **kwargs contains 'layer' then the sprite(s) will be added to that
argument (overriding the sprite layer
Very cool :) Thanks for sharing.
For those who need a non-GPLed version to sell for a big
money with their next game, there is also a 6 years old
script for pyglet. =)
https://code.google.com/p/pyglet/source/browse/examples/timer.py
On Wed, Mar 19, 2014 at 4:46 PM, Christopher Arndt wrote:
> Hi all,
>
> for our local user group
Hi all,
for our local user group [1] I coded a little timer to control lightning
talk duration as a small PyGame example:
http://trac.chrisarndt.de/code/wiki/LightningTalkTimer
Maybe it's useful to anybody else out there so...
Share & Enjoy!
Chris
[1] http://pycologne.de/