you can see a screenshot of my window here http://www.sendspace.com/file/lied1o
on the right side of the green square, there is a veritcal edge coming from the transparent sprite. On 23 fév, 11:20, Philippe <[email protected]> wrote: > Hello, > > Here is a small code sample that create 3 sprites.http://pastebin.com/wWs0gbEE > > It uses PIL to create the png. > Should run the script twice to get the png in pyglet path. > > The idea is to add a Sprite to a Layer. > That Sprite is fully transparent (from alpha_red.png). > Then, in that Sprite, I add another small sprite (a green square). > > If the window is enough big, I can see a thin edge of my transparent > Sprite. > If the window is smaller (like 400x400), I do not see it. > > Any idea how to solve that ? > > thank you ! -- 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.
