SovietSenpai23 Posted November 23, 2018 Share Posted November 23, 2018 Here is the problem: https://giphy.com/gifs/X8bT5QMIHENZ2gtqwL When I jump the background tiles flash or blink. I can't figure out why. I've tried different tiles for background all seemed to do the same. Only jumping and falling makes this blinking, when go left or right its not happening. Is it a problem with my tiles? I'm using these tiles https://openpixelproject.itch.io/opp2017castle let game = new Phaser.Game({ type: Phaser.CANVAS, // adding layers this.map = this.make.tilemap({ key: 'map' }); var groundTiles = this.map.addTilesetImage('MapDetails','tiles'); this.groundLayer3 = this.map.createStaticLayer('Background', groundTiles,0,0); this.groundLayer = this.map.createStaticLayer('World', groundTiles,0,0); this.map.setCollisionByProperty({collides: true}); this.layer1 = this.map.createStaticLayer('Flooring', groundTiles,0,0); this.groundLayer2 = this.map.createStaticLayer('Lamps', groundTiles,0,0); this.groundLayer5 = this.map.createStaticLayer('Props', groundTiles,0,0); my tiled layers: Link to comment Share on other sites More sharing options...
PatrickP Posted November 24, 2018 Share Posted November 24, 2018 In the config for the game set pixelArt: true, Solved the problem for me Example of it enabled here. Link to comment Share on other sites More sharing options...
Recommended Posts