Hi guys,
With my first game in alpha i get questions on why the board is only 740 px wide.
I did this to make it fit nicely in a mobile device to, but just wondering.
When i make special css rules for mobile i could upscale the board on desktop, but since i positiion several game elements absolute within the main board i need to know the resolution of the client playing the game, so i can apply a multiplier for this absolute positioning.
Is there a way to get this info within the view.php file?
With my first game in alpha i get questions on why the board is only 740 px wide.
I did this to make it fit nicely in a mobile device to, but just wondering.
When i make special css rules for mobile i could upscale the board on desktop, but since i positiion several game elements absolute within the main board i need to know the resolution of the client playing the game, so i can apply a multiplier for this absolute positioning.
Is there a way to get this info within the view.php file?