make default Coordinate system to LeftHand(将坐标系改为左手坐标系,与屏幕坐标系保持统一)

  1. find function nodeToParentTransform in CCNode class

  2. add code after “float y = m_tPosition.y”, as follow:

y = (m_parent ? m_parent~~>getContentSizeInPixel.height : CCDirector::sharedDirector~~>getWinSizeInPixels.height)~~ y~~ m_tContentSize.height;

So, now you can use setPosition function by leftHand coordinates.

This just make the draw work. The touch system should use other way, 敬请期待! _

nobody was interest in this?