shinmera

@Shirakumo Games Lead

HELLO


I make games, draw, and write software.


Currently working on a not yet announced game. Previously did the post-apocalyptic action RPG, Kandria!


English, German, Swiss German, French, Japanese are OK


Find me elsewhere
everything.shinmera.com/

One of the feedback items for Kandria was that previously in menus with a sort of split navigation (typically a list of things + a singular detached button to go "back"), all of the focus behaviour was in a single list, so even if the back button was situated left of the list, pressing left/right would still navigate the list until you reached the bottom, as if you had pressed up/down instead.

Thankfully fixing this was trivial, thanks to one of the core decision I made in my UI toolkit, Alloy: focus behaviour has its own tree detached from the layout tree that decides where things are located. So all I had to do to fix this was to change the focus container from a list to a horizontally oriented stack and enter the button on its own layer away from the rest of the list items.

So changing all the menus where this is relevant only took a couple lines total: https://gitea.tymoon.eu/shinmera/kandria/commit/f99e3dc815422a03bc12b2adbd0980c9379b53e4

Finally a decision I made years ago paid off for once :unsmith:


You must log in to comment.