Bind arrow keys to move entities one step

Abierto
#361 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
devtools

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
59
Forks
19
Merge medio
32 min
PR fusionados (30 d)
2

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CCDirectLink/crosscode-map-editor

Todos los issues de CCDirectLink/crosscode-map-editor

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.