Looking for any examples of a fluid playground width for responsive gaming
I'm looking for any kind of gameQuery examples, API, tutorials on building a fluid playground width(), so that the playground can be 100% width of it's parent container. This will help me build a responsive gaming platform for mobile purposes. Is there anything out there that will show us this or provide instructions?
Thanks
Thanks
Comments
However If you just want the size of the playground to be the same as the current windows at the moment of the page loading this is easy. Just do something like this:
Another solution is to define a fixed size for the playground and apply a CSS transform to scale it. This will make the pixels looks bigger but you will be able to change it during the game.