For the Facebook-Appstore we want to use a game canvas size of 760x428px (16:9)
The resolution in our game is 1136x640px so we use:
the main.js. The index.html looks like:
The width and height of the canvasWrap-DIV (760x428px) is definded is the css-sheet.
So far everything is ok.
The problem is that the TiledMap is not drawn correctly if we use the DesignResulationSize. At the beginning of each level everything is alright, but approximately in the middle of the level/map the map is not visible anymore. It looks like the map is not drawn, but that’s not true… the map is drawn on a wrong position (more to the right).
You can test the game here www.lepsworld2.com/LepsWorldFriendsNoFB/LepsWorldFriends/
Can anybody help us?
With best regards, Matthias