I want my stage not to scale at all. And center itself. For example, if I have 200px x 200px stage, it should not stage as per the browser screen size. But to retain it’s original dimension.
I tried this solution here, but seems not working for me.
Making width and height to 0 in project.xml does restricts the scaling:
<window width="0" height="0" if="html5" fps="12" />
But I want it to be centered. How to center the stage?
stage.align = StageAlign.CENTER is not working.