AdamsLair/duality

Keyboard Navigation of Tile Palette Selection

Open

#733 opened on Jul 8, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C# (287 forks)auto 404
EditorFeatureGood First IssueHelp WantedNice2HaveTilemapsUsability

Repository metrics

Stars
 (1,425 stars)
PR merge metrics
 (PR metrics pending)

Description

Summary

While editing Tilemaps, the process of changing the selected source tile from the Tile Palette takes a considerable amount of time, mostly due to mouse travel and readjustment time. Keyboard shortcuts to change selection could improve this workflow.

Analysis

  • All selection shortcuts should work both in the Tile Palette itself, and in the Tilemap Editor. A good way to achieve this might be to expose the required high level functionality in public API of the Tile Palette and invoke it from both places when the keys are detected.
  • Arrow keys could move the current selection along the view.
    • If more than one tile was selected, first collapse to the top left selected tile.
    • If no tile was selected, select the top left [0, 0] tile.
  • Shift + Arrow keys expand / shrink the selection area in the specified direction.

Contributor guide