Open mosaicworld opened 11 years ago
Currently, the canvas size is hard-coded 480px X 800px. But it doesn't look good on Android phone. What about other device screen sizes? Look into how this may resolve the issue: http://www.html5rocks.com/en/tutorials/casestudies/gopherwoord-studios-resizing-html5-games/
Remaining question: What if the data resulting from the court display (with randomized team players) is longer than the device window height, will the data get cut off and be lost visually?
Currently, the canvas size is hard-coded 480px X 800px. But it doesn't look good on Android phone. What about other device screen sizes? Look into how this may resolve the issue: http://www.html5rocks.com/en/tutorials/casestudies/gopherwoord-studios-resizing-html5-games/
Remaining question: What if the data resulting from the court display (with randomized team players) is longer than the device window height, will the data get cut off and be lost visually?