thegooglecodearchive / los-cocos

Automatically exported from code.google.com/p/los-cocos
0 stars 0 forks source link

generic transform has different behaviour from sprites' transform #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run the attached file

What is the expected output? What do you see instead?
the sprite is placed at 0,0 with a transform anchor of x/2, y/2
the image, also, is placed at 0,0 with a transform anchor of x/2, y/2

but the sprite is 'centered' at 0,0 but the image is not.

What revision of the SVN are you using ?
v0.3.0 beta1

Original issue reported on code.google.com by ricardoq...@gmail.com on 3 Jun 2008 at 7:06

Attachments:

GoogleCodeExporter commented 9 years ago
transform anchors only affect the scale and rotation parameters. to affect the
position where you draw, you must set children_anchor. (or just anchor)

and btw, there was a bug there that its now fixed.

Original comment by lucio.to...@gmail.com on 5 Jun 2008 at 2:00