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

songbird songbird at anthive.com
Fri Nov 2 19:07:51 EDT 2018


Peter Otten wrote:
> 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
>>             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  i just did...  1 minute ago, learnin how to use debugger
and there it was.

  lol

  thanks  :)


  songbird



More information about the Python-list mailing list