ChangeParent(...);
view.x = raphael.x - (view.width / 2);
view.y = raphael.y - (view.height / 2);
ChangeParent(...); //change parent
view.x = raphael.x - (view.width / 2); //move view to raphael and center
view.y = raphael.y - (view.height / 2); //same as x ..
Users browsing this forum: No registered users and 1 guest