feat: added added new skin to ptilopsis

well, i have to make changes to spine-ts so it can handle the difference between the size of texture
This commit is contained in:
Haoyu Xu
2025-05-02 21:38:09 +08:00
parent 093f9d7f1a
commit 0af19cf652
385 changed files with 12361 additions and 121068 deletions

View File

@@ -82,7 +82,10 @@ module spine {
let u = this.region.u, v = this.region.v, width = 0, height = 0;
if (this.region instanceof TextureAtlasRegion) {
let region = this.region;
let textureWidth = region.texture.getImage().width, textureHeight = region.texture.getImage().height;
// let textureWidth = region.texture.getImage().width, textureHeight = region.texture.getImage().height;
let page = this.region.page;
let textureWidth = page.width,
textureHeight = page.height;
switch(region.degrees) {
case 90:
u -= (region.originalHeight - region.offsetY - region.height) / textureWidth;