Bind arrow keys to move entities one step

オープン
#361 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
devtools

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TypeScript
スター
59
フォーク
19
平均マージ
32分
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CCDirectLink/crosscode-map-editor のほかの issue

CCDirectLink/crosscode-map-editor の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。