DNESS / cocos2d-iphone

Automatically exported from code.google.com/p/cocos2d-iphone
1 stars 0 forks source link

[Enhancement] AlignedCocosNode #567

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
A cocos node that follows parent position but ignores its rotation. I use this 
to have labels follow 
nodes but staying aligned vertically (name tags, for example). The position 
stays the same, 
meaning that if you do node.position = ccp(0, -10); it's gonna stay visually at 
(0,-10).

See attached file.

Permission granted, please give credit if you feel like adding this. :)

Original issue reported on code.google.com by hans.lar...@gmail.com on 24 Sep 2009 at 3:59

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ricardoq...@gmail.com on 7 Oct 2009 at 3:20