Search the Community
Showing results for tags 'pixel zoom blur'.
-
So here's that particular problem surfacing again ... I want to find a way to scale the entire game up, zoom it like in flixel for those who know this framework, without the freaking blur ... (yeah I know, at least 3 topics already exist about it) With those solutions here, it blurs in some browsers (such as chrome): http://www.html5gamedevs.com/topic/1380-how-to-scale-entire-game-up/ And the blur effect is not removable. As you can see, a x3 or x4 zoom with blur on a 32x32 sprite is just... Not acceptable, at all, by any standard, it's not even funny. And imagine once fullscreen mode is activated on top of that ... Fullscreen blur is ok on the non blurry scaled version, but not on the already blured one, not at all. I tried the solution provided here http://www.photonstorm.com/phaser/pixel-perfect-scaling-a-phaser-game (Which is basically the no plugin version of the pixelScaler plugin mentioned here http://www.html5gamedevs.com/topic/8798-phaser-pixel-scaler-plugin/ and here http://www.html5gamedevs.com/topic/9141-nes-resolution-on-a-larger-screen/ ) It works great, but there's a huge drawback... Mouse coordinates and touch coordinates are not usable at all, which is very unfortunate especially when it comes to dumb phones... In the photonstorm link, Phaser's author says in the comment section: "Also the mouse event downside is really easy to fix, I just haven’t had time yet – but all it needs is the ability to change where the event listeners are created and it’d work fine!" Well it's not that easy from where I stand... I wish i could, for mouse and touch events, but I'm not the original author, I don't know what I'm dealing with by going down that road. So, I'm forced for now to... Export scaled versions of the sprites... Which is reliable, but totally lame. So my question is: Is there a way to load a sprite sheet at scale x1, redraw it scaled x3, without blur, and then use this scaled version as sprite sheet for animations ? Any other suggestion (except suicide) ? Thx for reply.