Jump to content

Scale the skin of a Spine object


choppingblock
 Share

Recommended Posts

Trying to figure out a way (or the best way) to scale the skin of a skeletons skin indepedantly from the scale property of the PIXI.Spine object.

 

Being able to do so will allow us to create multiple scaled instances of objects and append skins of different  resolutions.

 

lines 8554 & 8555 of pixi.js is where the values are:

attachment.scaleX = map["scaleX"] || 1;attachment.scaleY = map["scaleY"] || 1;

scaleX & scaleY don't seem to be used in the data (of my skins at least).

 

I have been experimenting with different ways to dynamically change the default values of 1.0

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.

Guest
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.

Loading...
 Share

  • Recently Browsing   0 members

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