lo-th / 3d.city

3d city builder game
http://lo-th.github.io/3d.city/index.html
Other
1.56k stars 316 forks source link

Mobile compatibility #35

Open ghost opened 7 years ago

ghost commented 7 years ago

lo-th, Good work on making this game! it s so fun that I want to install it on my friends ipad as a apple touch icon the link shows how to incorperate it into your game.

Also when on a mobile device the 'selecte tool' panel will cover the city.

i understand you have a liquid webpage design, you should move the 'selecte tool' panel to the bottom of the screen as a up arrow, when you tap (as you are on a mobile device) on the arrow the 'selecte tool' panel pops up, tap on - let's say residential area, then the 'selecte tool' panel disappears and goes back to your city, tap on a blank area and residential area is put there.

Also for debugging mobile versions of your game, if you are using Google Chrome:

  1. Press F12
  2. Press ESC
  3. Click the 3 dots in the panel that has just popped up
  4. Click 'Network Conditions'
  5. Uncheck select automatically
  6. I the drop-down list, select your browser you want

Read this for more

Regards, Taiwei