Jump to content

Search the Community

Showing results for tags 'hidpi'.

  • 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. Hi, Just started using Pixi.js for a small interactive animation. How it works: 650x320 max dimension but still using devicePixelRatio to set resolution for PIXI. It needs to be fluid - scaling the canvas to outer div using 100%. So canvas is set to 1300x640 in retina but still retains 640x320. Everything is working fine apart from when resolution is set to 1 icons looks awful (please see screengrabs) I'm loading svgs as textures into PIXI sprite. The svgs have been saved out @2x their size and then set to correct width and height using scale. I could just save two versions as pngs and then load depending on devicePixelRatio, which I've tried and although an improvement the canvas still scales down further for mobile and still looks bad. Any suggestions welcome. My render options: view: _canvas, transparent: true, resolution: _res, clearBeforeRender: true, antialiasing: true i basically need smoothed images when scaling. oN another note how to scale from center with Container, pivot hasn't worked?
×
×
  • Create New...