Hi There,
I have a game which has on screen touch controls for mobile and tablet.
But for desktop, I want to hide those controls, because they will be impossible to use with a mouse, and the player should use the keyboard instead.
I have all the controls working, but I can't figure out how to hide the mobile controls on desktop?
I thought I could use CSS to hide them with media queries (e.g. — screen (max-width:768px) { #controls:display:none; } but i cannot assign an ID, and even if i did, it doesn't appear in the hitml so the external CSS file wouldn't work.
Is there another way?
Thanks in advance!
Andy