{"action":"created","issue":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1712","labels_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1712/labels{/name}","comments_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1712/comments","events_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1712/events","html_url":"https://github.com/GoodBoyDigital/pixi.js/issues/1712","id":70658562,"number":1712,"title":"Cannot dynamically change renderer resolution.","user":{"login":"wojciak","id":4658815,"avatar_url":"https://avatars.githubusercontent.com/u/4658815?v=3","gravatar_id":"","url":"https://api.github.com/users/wojciak","html_url":"https://github.com/wojciak","followers_url":"https://api.github.com/users/wojciak/followers","following_url":"https://api.github.com/users/wojciak/following{/other_user}","gists_url":"https://api.github.com/users/wojciak/gists{/gist_id}","starred_url":"https://api.github.com/users/wojciak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojciak/subscriptions","organizations_url":"https://api.github.com/users/wojciak/orgs","repos_url":"https://api.github.com/users/wojciak/repos","events_url":"https://api.github.com/users/wojciak/events{/privacy}","received_events_url":"https://api.github.com/users/wojciak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-24T10:57:42Z","updated_at":"2015-04-24T11:17:37Z","closed_at":null,"body":"Hello :)\r\n\r\nWith pixi v2.x I had a simple \"auto-performance\" scaling engine. When I detected low fps for some time I did a simple trick (renderer is an instance of PIXI.CanvasRenderer or PIXI.WebGLRenderer)\r\n\r\nrenderer.resolution = 0.5; // or any value that I figured out would be ok to achieve good fps\r\nrenderer.resize();\r\ninteractionmanger.something // it updated the event map properly\r\n\r\nand this triggered a nice resize with more or less pixelated textures.\r\n\r\nNow in pixi v3.0.1 I can't seem to do it anymore. \r\nThe .resolution property works as expected when initailizing the renderer, but once I change it and trigger .resize() everything goes to hell :)\r\n\r\nIs there a way to dynamically change the resolution?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/comments/95900952","html_url":"https://github.com/GoodBoyDigital/pixi.js/issues/1712#issuecomment-95900952","issue_url":"https://api.github.com/repos/GoodBoyDigital/pixi.js/issues/1712","id":95900952,"user":{"login":"wojciak","id":4658815,"avatar_url":"https://avatars.githubusercontent.com/u/4658815?v=3","gravatar_id":"","url":"https://api.github.com/users/wojciak","html_url":"https://github.com/wojciak","followers_url":"https://api.github.com/users/wojciak/followers","following_url":"https://api.github.com/users/wojciak/following{/other_user}","gists_url":"https://api.github.com/users/wojciak/gists{/gist_id}","starred_url":"https://api.github.com/users/wojciak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wojciak/subscriptions","organizations_url":"https://api.github.com/users/wojciak/orgs","repos_url":"https://api.github.com/users/wojciak/repos","events_url":"https://api.github.com/users/wojciak/events{/privacy}","received_events_url":"https://api.github.com/users/wojciak/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T11:17:37Z","updated_at":"2015-04-24T11:17:37Z","body":"Yes, but i need to check if I'm not multiplying width and height by the resolution prior to resizing.\n\nWill update :)\n\nSent from my iPhone\n\n> On Apr 24, 2015, at 13:04, Alaa-eddine K. <notifications@github.com> wrote:\n> \n> have you tried to use .resize(width, height) ?\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n"}}