cruzlutor Posted August 25, 2018 Share Posted August 25, 2018 Hey guys, I'm making a couple of tests with Phaser3 and pixel art, but in Chrome it does not work well. [Chrome | Edge], is the same code, but as you can see in Chrome the sprite looks bad when it moves. Here is the code // Game Config const config = { width: window.innerWidth, height: window.innerHeight, pixelArt: true, roundPixels: false, antialias: false, backgroundColor: 0xffffff, scene: MainScene }; // Main Scene export class MainScene extends Phaser.Scene { constructor() { super({ key: 'MainScene' }); } preload() { this.load.image('player', '/assets/player.png'); } create() { this.player = this.add.image(50, 70, 'player'); this.player.setScale(4); const tweendata = { targets: this.player, x: this.player.x + 100, duration: 10000, } const tw = this.tweens.add(tweendata); } } Do you guys know how to fix this? Link to comment Share on other sites More sharing options...
cruzlutor Posted August 26, 2018 Author Share Posted August 26, 2018 I had 90% zoom in Chrome , that was the reason for the issue. Link to comment Share on other sites More sharing options...
Recommended Posts