pyglet, i don't understand why this code isn't working

Peter Otten __peter__ at web.de
Fri Nov 2 18:53:48 EDT 2018


songbird wrote:

> MRAB wrote:
>> On 2018-11-02 19:58, songbird wrote:
>>> 
>>>    hello,  :)
>>> 

>> [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.
> 
>   i wish it were that easy...
> 
>   see my_sprite.py

It *is* that that easy. Just spot the typo in 

>             self.animation_initial_turn_if_off = False
>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^





More information about the Python-list mailing list