Bind arrow keys to move entities one step

Offen
#361 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript
Bereich
devtools

Rechercherichtung

Start by locating the editor's keyboard handling and entity movement entry points, then read how selected entities and the entity grid are represented. Implement the requested first option: an arrow key moves all selected entities one grid step, or one pixel when the grid is disabled. Check that movement works in each direction and with the grid both enabled and disabled; held-key repetition and Shift movement are optional additions.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

It would be great if, to move entities with greater precision, I can press an arrow key. Ideally, pressing an arrow key would move all selected entities one step along the entity grid in that direction (or one pixel if the grid is disabled), and holding shift while pressing an arrow key would move it five steps. Holding down an arrow key should move the entity smoothly in that direction, with increasing speed as time goes on. However, I'm only really asking for the first option, the additions to that would be useful but not nearly as much and I don't know how difficult to implement.

Vorherrschende Sprache
TypeScript
Sterne
59
Forks
19
Ø Merge
32 Min.
Gemergte PRs (30 T.)
2

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus CCDirectLink/crosscode-map-editor

Alle Issues in CCDirectLink/crosscode-map-editor

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.