Hello again .. I have an issue with the update of my sprites. I pasted a small sample that reproduce my problem here: http://pastebin.com/KrajS6RX
I set 3 ways of changing the mask of my_sprite. 1- user can click on the sripte, it reduce the mask width => it works well 2- user can press a key on the Layer, the layer use a pyglet.event.EventDispatcher to push an event, my_sprite receive it => it works well too ! 3- I go a thread, in my pyglet.event.EventDispatcher that push an event every 5s. my_sprite receive it, but does not update itself in the window. I tried to add the self.draw() instruction, but got an error: GLException: invalid operation Any idea ? If I move the mouse over the window, I got clean refresh, even for -3-. I would like to have the same, but without moving the mouse around! thanks -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en.
