Faced strange behaviour of CCSprite
positioning on a screen.
Scenario is simple: change sprite position on touch (dragging item on a screen).
private void HandleInput(List<CCTouch> arg1, CCEvent arg2)
{
base.Position = arg1.Last().LocationOnScreen;
}
After setting base.Position
to LocationOnScreen
it simply disappears.
NOTE: cocossharp
is a c# port of famous framework and is quite similar in its structure and implementation to cocos2d-x
hence adding this tag.
Any help appreciated.