On Tue, Jun 23, 2009 at 12:45 PM, Rudy<[email protected]> wrote: > Can someone point to a example of using either of both the Cocos Line > and Segement object? > I cannot get them to draw inside my Cocoslayer object.Here is my code > sample > ------------------------------------------------------------------------- > ..... > myLine = cocos.draw.Line( start=Point2(8,24), end=Point2(8,180), > color=( 255, 33,66,255)) > myLayer.add(myLine) > .....
Try using tuples intead of points for the parameters, please. Also, beware that the draw module has some serious issues that i couldnt yet find the time to fix. Lucio --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
