mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-22 23:50:52 +01:00
Update pixi to 8.1.0
This commit is contained in:
parent
be80b2aa55
commit
768b3bf76d
@ -29,7 +29,7 @@
|
||||
"howler": "^2.2.4",
|
||||
"pako": "^2.1.0",
|
||||
"pixi-filters": "^6.0.0",
|
||||
"pixi.js": "~8.0.4"
|
||||
"pixi.js": "^8.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-typescript": "^11.1.6",
|
||||
|
@ -14,7 +14,7 @@
|
||||
},
|
||||
"main": "./index",
|
||||
"dependencies": {
|
||||
"pixi.js": "^8.0.4"
|
||||
"pixi.js": "^8.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "~5.4.2"
|
||||
|
@ -16,7 +16,7 @@
|
||||
"@nitrots/api": "1.0.0",
|
||||
"@nitrots/eslint-config": "1.0.0",
|
||||
"@nitrots/utils": "1.0.0",
|
||||
"pixi.js": "^8.0.4",
|
||||
"pixi.js": "^8.1.0",
|
||||
"@pixi/gif": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -16,7 +16,7 @@
|
||||
"@nitrots/eslint-config": "1.0.0",
|
||||
"@nitrots/events": "1.0.0",
|
||||
"@nitrots/utils": "1.0.0",
|
||||
"pixi.js": "^8.0.4"
|
||||
"pixi.js": "^8.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "~5.4.2"
|
||||
|
@ -15,7 +15,7 @@
|
||||
"@nitrots/configuration": "1.0.0",
|
||||
"@nitrots/eslint-config": "1.0.0",
|
||||
"@nitrots/events": "1.0.0",
|
||||
"pixi.js": "^8.0.4"
|
||||
"pixi.js": "^8.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "~5.4.2"
|
||||
|
@ -18,7 +18,7 @@
|
||||
"@nitrots/eslint-config": "1.0.0",
|
||||
"@nitrots/events": "1.0.0",
|
||||
"@nitrots/session": "1.0.0",
|
||||
"pixi.js": "^8.0.4"
|
||||
"pixi.js": "^8.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "~5.4.2"
|
||||
|
@ -580,7 +580,16 @@ export class RoomSpriteCanvas implements IRoomRenderingCanvas
|
||||
|
||||
if(this._spritePool.length > 0) extendedSprite = this._spritePool.pop();
|
||||
|
||||
if(!extendedSprite) extendedSprite = new ExtendedSprite({});
|
||||
let textureSet = false;
|
||||
|
||||
if(!extendedSprite)
|
||||
{
|
||||
extendedSprite = new ExtendedSprite({
|
||||
texture: sprite.texture
|
||||
});
|
||||
|
||||
textureSet = true;
|
||||
}
|
||||
|
||||
if(extendedSprite.children.length) extendedSprite.removeChildren();
|
||||
|
||||
@ -598,7 +607,7 @@ export class RoomSpriteCanvas implements IRoomRenderingCanvas
|
||||
extendedSprite.blendMode = sprite.blendMode;
|
||||
extendedSprite.filters = sprite.filters;
|
||||
|
||||
extendedSprite.setTexture(sprite.texture);
|
||||
if(!textureSet) extendedSprite.setTexture(sprite.texture);
|
||||
|
||||
if(sprite.flipH) extendedSprite.scale.x = -1;
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
"@nitrots/eslint-config": "1.0.0",
|
||||
"@nitrots/events": "1.0.0",
|
||||
"@nitrots/localization": "1.0.0",
|
||||
"pixi.js": "^8.0.4"
|
||||
"pixi.js": "^8.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "~5.4.2"
|
||||
|
@ -13,7 +13,7 @@
|
||||
"@nitrots/api": "1.0.0",
|
||||
"@nitrots/communication": "1.0.0",
|
||||
"@nitrots/eslint-config": "1.0.0",
|
||||
"pixi.js": "^8.0.4"
|
||||
"pixi.js": "^8.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "~5.4.2"
|
||||
|
@ -13,7 +13,7 @@
|
||||
"@nitrots/api": "1.0.0",
|
||||
"@nitrots/eslint-config": "1.0.0",
|
||||
"pako": "^2.1.0",
|
||||
"pixi.js": "^8.0.4"
|
||||
"pixi.js": "^8.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/pako": "^2.0.3",
|
||||
|
@ -1104,10 +1104,10 @@ pixi-filters@^6.0.0:
|
||||
resolved "https://registry.yarnpkg.com/pixi-filters/-/pixi-filters-6.0.0.tgz#36f480f87b8f66b259db40acb7a6b134e570c473"
|
||||
integrity sha512-9wJn4bfQKak+lefyk9BSCenhMBvGQi2t4Uz+BVqw6WK8wM2NgqeTC64mhXRtrdYeCG9gIFX0Lc6q1S8rBqwJbg==
|
||||
|
||||
pixi.js@^8.0.4, pixi.js@~8.0.4:
|
||||
version "8.0.4"
|
||||
resolved "https://registry.yarnpkg.com/pixi.js/-/pixi.js-8.0.4.tgz#77449a82354d29fb39c78c3ca23602bf6082e136"
|
||||
integrity sha512-UAa3WU5FV4kjwjYosbG3pi1QvTBKSLPH7BOLkw5X4g12+Xxew3YwMiM+V1EQL4/65hDn5Z3jhFC3xVAsHFJcsQ==
|
||||
pixi.js@^8.1.0:
|
||||
version "8.1.0"
|
||||
resolved "https://registry.yarnpkg.com/pixi.js/-/pixi.js-8.1.0.tgz#c1a6c81993f75bc13882e4570df0d51cc136965b"
|
||||
integrity sha512-qclFipWxKavNZoOE0QjGgEklbxjc1mpHf46adsxYLz7O7RnV44PPkq1J5Ssa6y1JxtYUX0fwbphoE/gz276glA==
|
||||
dependencies:
|
||||
"@pixi/colord" "^2.9.6"
|
||||
"@types/css-font-loading-module" "^0.0.12"
|
||||
|
Loading…
Reference in New Issue
Block a user