Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

Problem tinting a sprite in iPad


Recommended Posts

It appears the pivot of my images is not working well, all the images in which i modified that value are in wrong positions :/ Maybe this can help you for the dev branch :)


My older script was

this.pivot.x = this.originX;

this.pivot.y = this.originY;


but i solved the problem using this

this.anchor.x = this.originX / this.texture.width;
this.anchor.y = this.originY / this.texture.height;
Any way, hope It can be helpfull the info of the change on pivot behaviour
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...