ok, thank you ! Is it true that cocos2d doesn't have a real maintainer at the moment ? I am really impressed with cocos2d and pyglet, and I don't really understand why they are both uncontinued when pygame still has so much success...
Le vendredi 13 avril 2012 21:28:06 UTC+2, Claudio Canepa a écrit : > > > > On Fri, Apr 13, 2012 at 4:02 PM, Nitneroc <> wrote: > >> Hi, i'm a newbie in cocos2d and I don't know that much about python. >> >> I was wondering lately why cocos2d use tuples for sprites' position, >> velocity and acceleration attributes (which are used by sprite.do(Move())), >> and not Vector2d. >> Vector2d support convenient operations, and I think it would make my code >> prettier, but since I'm a newb, I guess there is probably a good reason i'm >> not aware of. >> >> Thanks >> > > > > I think (but may be wrong) that no explicit design decision was taken: > python don't have a standard vector 2d class, so probably the initial code > used tuples just for this. > After that, probably nobody has seen the need / > desire-to-redesign-and-convert-the-codebase > > > > > -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/cocos-discuss/-/zWzN0B_tDJoJ. 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.
