v0.8.9 (Bugfixes + translations) released to Google Play!

Useful links
Source code of the game - Contribution guide - ATCS Editor - Translate the game on Weblate - Example walkthrough - Andor's Trail Directory - Join the Discord
Get the game (v0.8.9) from Google, F-Droid, our server, or itch.io

map

Unstructured ideas, requests and suggestions for the development of the game.
User avatar
Covenant
Posts: 176
Joined: Wed Oct 09, 2013 11:44 am
android_version: 11 - Android 11
Location: Sydney, Australia

Re: map

Post by Covenant »

If it's HTML, and AT is hosting an in line webkit engine instance, then it should respect the viewport meta tag. It would only take a few moments to change the min and max scale values. Say 0.1 min and 1 max. Then the pinch and zoom gesture, which invokes webkit scaling, would allow the scaling down to 10% of its original view - AKA zoom out by factor of 10.

===edit===

I just had a look at the hTML source of the worldmap_blackwater.html file and there's no viewport meta tag. Perhaps one can be added?
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: map

Post by Zukero »

I know this is an oldie, but I gave it a second look.
I tested the viewport meta tag thing. Coupled with one line of code telling the AT map view to actually use this meta tag, and it seemed to work.
I will certainly merge this change in the main repo soon.

Kudos to Covenant for pointing this out !
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
User avatar
Covenant
Posts: 176
Joined: Wed Oct 09, 2013 11:44 am
android_version: 11 - Android 11
Location: Sydney, Australia

Re: map

Post by Covenant »

Nice, thanks. As the map files are raw HTML in a sub folder of the install, I might editing them directly my phone too, to see how it works out. Hopefully the Web browser engine in BlackBerry supports the viewport meta tag.
User avatar
Zukero
Lead Developer
Posts: 2028
Joined: Thu Jul 21, 2011 9:56 am
android_version: 8.0
Location: Eclipse

Re: map

Post by Zukero »

On BB you might have a chance. However, these files are generated from a template, so every time a map changes, or if you discover a new one, you'll have to edit the files again.
On Android that won't work, as the used webview is not configured to use this information in v0.7.1
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2
Ian
Posts: 395
Joined: Wed Nov 02, 2011 10:24 am
android_version: 4.2
Location: Germany and the world of AT :D

Re: map

Post by Ian »

Awesome work, Kevin! And thanks for reporting this, Covenant!
Mapmaker for Andor's Trail
Lvl: 73, XP: 6655552, Gold: 327905, RoLS: -, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 2, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 58, AC: 260%, AD: 52-62, AP: 3, ECC: -, CM: -, BC: 164%, DR: 1
Post Reply