Hi guys. I am new here and new in canvas gaming development.
I want to ask how to change the whole "structure" of a drawn layout according to media queries. E.g.
Say we have drawn 3 rectangles of 100px each and all are next to each other. How could we tell the first one to occupy 300px (thus a whole row) and the other two to go below it and occupy 50% percent of the canvas width ( something like css media queries...)???
Thanks in advance.