KID Posted August 26, 2018 Share Posted August 26, 2018 Hello guys, I seem the demo at lab, about the difference of set width, height, scale between this.load.svg and sprite. The demo is https://labs.phaser.io/view.html?src=src\loader\svg\load svg with fixed size.js I understand use `this.load.svg('cartman2', 'assets/svg/cartman.svg', { width: 416, height: 388 })` can get a more clearness image, But I have a question, is there a way to let me load a svg on spritesheets and set the width/height/scale like the `this.load.svg` ? I can't find any solutions at document about `this.load.spritesheet`. And... I want know what is the best practice to adapt the retina's screen of macOS ? Link to comment Share on other sites More sharing options...
samme Posted August 26, 2018 Share Posted August 26, 2018 TextureManager#addSpriteSheet Link to comment Share on other sites More sharing options...
Recommended Posts