91
Not a bug / Re: Scene.SkipTo() not working on vertical scrolling scene
« on: January 19, 2010, 01:12:56 PM »
No, it didn't work.
Changing the main object to null works for Scene.ScrollTo but not for SkipTo.
Scene.SkipTo still works perfectly in horizontal scrolling scene, but not with this vertical scrolling.
But i found the problem. The coordinates where wrong.
In a horizontal scrolling scene i set the same coordinates of the main actor and it works. In vertical scrolling i have to found the coordinates manually
For example if the actor is skipped to 490, 516 i have to write 490, 410 for the Scene.SkipTo method.
Changing the main object to null works for Scene.ScrollTo but not for SkipTo.
Scene.SkipTo still works perfectly in horizontal scrolling scene, but not with this vertical scrolling.
But i found the problem. The coordinates where wrong.
In a horizontal scrolling scene i set the same coordinates of the main actor and it works. In vertical scrolling i have to found the coordinates manually
For example if the actor is skipped to 490, 516 i have to write 490, 410 for the Scene.SkipTo method.