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

Is right-angle movement on maps required?

A place to submit bugs to the Andor's Trail Development Team.
Post Reply
Einsame Hirte
Posts: 27
Joined: Sun Jan 24, 2021 8:22 pm
android_version: 13 - Android 13

Is right-angle movement on maps required?

Post by Einsame Hirte »

Is it expected that maps should be navigable using only orthogonal moves? I recently tried navigating with a keyboard, which doesn't allow for diagonal moves, and got stuck at this point...
Screenshot 2021-04-08 080532.png
The marked tile needs to be walkable to allow for right-angle movement. Visually, it doesn't seem to be intentionally non-walkable. I wasn't exhaustive, but a few maps I checked seem carefully designed to allow orthogonal movement, at least for mission-critical paths.
You do not have the required permissions to view the files attached to this post.
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Is right-angle movement on maps required?

Post by rijackson741 »

Yes, orthogonal movement to any critical place should always be allowed. The one you marked can't be walkable though, because then you could step up or down the cliff on a diagonal. The dead bush needs to be removed, and that tile made walkable. I'll fix it. Thanks for finding this.
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
Einsame Hirte
Posts: 27
Joined: Sun Jan 24, 2021 8:22 pm
android_version: 13 - Android 13

Re: Is right-angle movement on maps required?

Post by Einsame Hirte »

Oh, I see... I missed that requirement. Wonder if it would be worth designing a way to put a movement "wall" between tiles, to allow for more flexibility in map design? Probably not, I guess, but it's an idea.
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Is right-angle movement on maps required?

Post by rijackson741 »

The way the map is structured does not permit walls between tiles. For the graphics we use third party software (called, appropriately, Tiled), so we don't have control over this.
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
User avatar
Nut
Posts: 1499
Joined: Mon Oct 27, 2014 12:14 pm
android_version: 8.0
Location: Glade

Re: Is right-angle movement on maps required?

Post by Nut »

It is possible indeed to simulate such 'walls' between two tiles. Look closely at the hill south east of Guynmart castle for an example.
But it is done with 2 or 3 sets of layers, that are exchanged depending on your actual location.
Too much development work if not really necessary.
Nut
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Is right-angle movement on maps required?

Post by rijackson741 »

Nut wrote: Thu Apr 08, 2021 11:03 pm It is possible indeed to simulate such 'walls' between two tiles.
The key word there is simulate ;)
A clever trick, but as you note rather a lot of work to implement.
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
Einsame Hirte
Posts: 27
Joined: Sun Jan 24, 2021 8:22 pm
android_version: 13 - Android 13

Re: Is right-angle movement on maps required?

Post by Einsame Hirte »

Interesting... 6 walkable layers, must have been a headache to get adjusted right, but nice trick. I can see how the guynmart_nondisplay quest is used to track player position, but what actually switches the layers in and out? I don't see anything in ATCS, so there must be custom code to support it?

And yeah, definitively too complicated for the issue at hand. Just move the bush ;-)
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Is right-angle movement on maps required?

Post by rijackson741 »

These are replace layers. In ATCS look at the "Replace" events. These are used in many maps, and there are easier examples to look at. One is the graveyard, another is roadbeforecrossroads5 (and fallhaven_ne), where you can create a shortcut. The replace events have requirements that, if met, will replace some or all of the map (usually only some, because it's less work) with different graphics and/or walkable layers.
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
Einsame Hirte
Posts: 27
Joined: Sun Jan 24, 2021 8:22 pm
android_version: 13 - Android 13

Re: Is right-angle movement on maps required?

Post by Einsame Hirte »

I was wondering how the "walk the plank" bit at the castle was done... pretty cool you can do all that without modifying source code. It is a little hard to follow sometimes, though... but I just realized the replace events are constrained to particular areas (like you said), which makes more sense. So on the fallhaven_ne map, when it sets Walkable and Above both to layer_replace (which is blank), it's basically clearing them, but only in that one region. And the Objects layer gets replaced to show the stumps; nothing was there before before because the trees were in Above which gets cleared. Nice, but that's got to take a whole lot of planning... incredible the amount of work that has gone into this over the years.

Couple questions about ATCS...
  1. is there a way to get it to alphabetize the lists of objects on the left? When I first installed it, it was all mixed up. It's gotten better by itself, but it's still a little out of order.
  2. Is it designed to require a really high-res screen? There is no scrollbar on the map pane, so I have to scroll the entire page down to see the bottom of the map, which puts the layer selectors, etc. off the screen on the top... is there a work around?
  3. is 0.6.16 the latest version?
Just found the AT Design Outline hidden in the help... gonna have to read that...
User avatar
rijackson741
Posts: 4451
Joined: Tue Aug 20, 2013 2:04 am
android_version: 10 - Android 10
Location: Somewhere in Dhayavar
Contact:

Re: Is right-angle movement on maps required?

Post by rijackson741 »

1). No. They are pretty much in the order they were created in the game. If you know what you are looking for you can click on "Items", then start typing the name of the item and it will find matches. If you right click on "Items" there is an option for "Items comparator". That's a table, and clicking on the header of any column will sort by that column.

2) I think a very large high res screen :lol: . I really only use ATCS to add mapevents etc. I look at the maps in Tiled, where it is easy to zoom in or out.

3) Yes.
Level:71, XP:6493739, PV:608, FQ:84
HP:210, AC:212, AD:58-77, AP:4, ECC:16%, CM:1.5, BC:188, DR:3
Gold: 237559 | RoLS:1, RoL:1, GoW:1, VSH:1, RoFLS:1, WoB:1
HH:1, WA:1, CS:2, Cl:1, IF:4, Ev:3, Re:2, WP:DA:1, WP:1S:1, WP:B:1, AP:L:1, FS:DW:2, S:DW:1
Post Reply