

I noticed something earlier in a project of mine. But I could reproduce in any other project too. The problem is, whenever you set your window height and width in project.xml smaller than gameWidth and gameHeight defined in Main.hx, the camera behaves strangely. Though it shows the full game view, when setting camera background color or flashing camera, it looks like camera is smaller than the window size.
Here in the mode demo I have set window width to 300 and height to 200 in my project.xml. I think its a bug. I have also noticed, in this case both FlxG.camera.initialZoom and FlxG.camera.zoom returns .8, where zoom should return 1 and initialZoom should return .8