Jump to content

Search the Community

Showing results for tags 'perfection'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. Hey all, I'm trying to import my pixel art background images into Phaser, and no matter what non-smoothing code I put in there, there is still a blur on these images. I hope someone can help out. Here is a comparison between what it should be and what it is: Here is the code I use: var height = 480;var width = 852;var game = new Phaser.Game(width, height, Phaser.CANVAS, '', { preload: preload, create: create, update: update }, false, false);function preload() { console.log('Preload') ; Phaser.Canvas.setSmoothingEnabled(game.context, false); game.antialias = false; game.stage.smoothed = false; game.load.image('background', 'assets/imgs/dgtd_bg.png'); game.load.image('props', 'assets/imgs/props.png'); game.load.image('people', 'assets/imgs/people.png');}function create() { console.log('Create'); var background = game.add.sprite(0, 0, 'background'); background.smoothed = false; var props = game.add.sprite(0, 0, 'props'); props.smoothed = false; var people = game.add.sprite(0, 0, 'people'); people.smoothed = false;}Any ideas what may be going wrong? Thanks!
×
×
  • Create New...