Hi.
During my Starling game port to HaxeFlixel, I got stuck on how to scale my game for multi resolution. (I know this theme is asked a lot :) so sorry in advance).
In Starling I used viewport and stage scale to achieve fullscreen mode.
My base size for my game is (480x320).
I have texture atlases 1x,1.5x, 2x,2.5x,3x,3.5x,4x. (based on scale)
So ,for example, for iPad 2 (1024x768) I used viewport of (1024x768) but stage size of(512x384) with scale 2.
After that I load texture atlas of scale factor and positioned elements relative to stage size. (So all my elements have the same screen size on all resolutions).
I tried similar approach in HaxeFlixel. I set swf size in xml to 1024x768. After calculating stage size and scale, I tried to set size of FlxGame to 512x384 and zoom to 2, and loaded texture atlas 2x.
Size of objects where correct and they where positioned correctly ,but images where not sharp and looked jugged. I even tried to load 4x resolution texture but it looked the same just bigger in size.
I played with scale modes but without success.
I am doing scaling right or there is better way to achieve multi resolution in HaxeFlixel?
I test in flash target. And use HaxeFlixel form haxe lib.
Thanks in advance.