Make snowdodgeball better on different screen sizes#225
Conversation
|
new game coming????????? 🔥🔥🔥 |
Jezzamonn
left a comment
There was a problem hiding this comment.
Going to approve / merge this for the moment so we can test it more easily
| @@ -89,7 +105,38 @@ export class Game { | |||
|
|
|||
|
|
|||
| resize() { | |||
There was a problem hiding this comment.
So, this is a little janky... I think all these changes can be done with css actually -- most of these lines just set CSS classes to values that eventually are just CSS constants.
Generally we should also not style the page too differently if it has touch controls or not -- some laptops have touch screens, and ipads are relatively large and don't need separate styling compared to phones.
When I tested this on a phone UI using the Chrome dev tools, I noticed the health bar is cropped of the screen:
and I also noticed that the end screens looks a little off with the phone UI
I could take a look tomorrow and see what it might look like with CSS changes?
No description provided.