blurring tileset image in mobile devices problem

Discussion in 'Computer Security' started by saarrajames, Oct 27, 2017.

  1. saarrajames

    saarrajames New Member

    5
    0
    1
    Hello, as you can see i have blur problem in tileset image in mobile devices. i try in pc but this problem never happens. And it isn't happening in sprites but only tileset image. When i open my game in mobile, Tilesets are blurring. I cannot find a solution. i try following codes:

    game.renderer.renderSession.roundPixels = true;
    game.stage.smoothed = false;
    Phaser.Canvas.setSmoothingEnabled(game.canvas, false);
    PIXI.scaleModes.DEFAULT = PIXI.scaleModes.NEAREST;
    Phaser.Canvas.setImageRenderingCrisp(game.canvas);

    i'm using phaser 2.8.2
     
  2. dmarsh

    dmarsh Petabyte Poster

    4,040
    395
    219
    I think you'd get more out of the phaser forums or stackoverflow.

    http://phaser.io/community/forum
    https://stackoverflow.com/
     

Share This Page

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.