On 2018-11-02 19:58, songbird wrote:
hello, :) my question is below, a bit of background first. i'm very new to python and picking it up by working on a project for fun. please don't critique my style or lack of classes/objects in the code yet - i'm way too new. :) my current project is at: https://salsa.debian.org/ant-guest/gfpoken-in-python/ https://salsa.debian.org/ant-guest/gfpoken-in-python/tree/next i'm using pyglet (most recent version) and gtk... in Debian Linux testing. my question is that in on_animation_end in the my_sprite.py class doesn't seem to work as i'd expect. i never reach: print ("Do we Ever get here?") statement. and i'm curious if i've just messed up something obvious here or if my problem is elsewhere?
[snip] In __init__ you initialise self.animation_initial_turn_it_off to True. Nowhere in your code do you change it, so it remains True. -- https://mail.python.org/mailman/listinfo/python-list