diff --git a/src/import/load-costume.js b/src/import/load-costume.js index 64a131f69..8322e89c7 100644 --- a/src/import/load-costume.js +++ b/src/import/load-costume.js @@ -69,8 +69,8 @@ const loadCostumeFromAsset = function (costume, costumeAsset, runtime) { if (!rotationCenter) { rotationCenter = renderer.getSkinRotationCenter(costume.skinId); - costume.rotationCenterX = rotationCenter[0]; - costume.rotationCenterY = rotationCenter[1]; + costume.rotationCenterX = rotationCenter[0] * 2; + costume.rotationCenterY = rotationCenter[1] * 2; } return costume; }); diff --git a/src/sprites/rendered-target.js b/src/sprites/rendered-target.js index 19489d575..651d6d16a 100644 --- a/src/sprites/rendered-target.js +++ b/src/sprites/rendered-target.js @@ -438,7 +438,7 @@ class RenderedTarget extends Target { typeof costume.rotationCenterX !== 'undefined' && typeof costume.rotationCenterY !== 'undefined' ) { - const scale = costume.bitmapResolution || 1; + const scale = costume.bitmapResolution || 2; drawableProperties.rotationCenter = [ costume.rotationCenterX / scale, costume.rotationCenterY / scale @@ -625,7 +625,7 @@ class RenderedTarget extends Target { if (this.renderer) { const renderedDirectionScale = this._getRenderedDirectionAndScale(); const costume = this.getCostumes()[this.currentCostume]; - const bitmapResolution = costume.bitmapResolution || 1; + const bitmapResolution = costume.bitmapResolution || 2; const props = { position: [this.x, this.y], direction: renderedDirectionScale.direction,