amethyst / amethyst/rustrogueliketutorial

Feature Request - Mouse free mode

Abierto
#98 2 comentarios 4 reacciones 1 asignado Reclamado por @thebracket Ver en GitHub
enhancement
Lenguaje dominante
Rust
Estrellas
970
Forks
166
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

It would be nice to have a mouse free targeting mode.

Partially given https://github.com/thebracket/rltk_rs/issues/40 (mouse doesn't work well enough for me to use) but particularly since it would make the game much more playable for me.

The mouse is pretty incompatible for a right handed player using Vim keys but also having to move to the mouse just to do target selection.

Specced as a combination of tabtarget and free aim -

An ability execution activates target mode. Either via number keys, inventory selection or a keypress (t) to activate "free aim" mode (ie for inspection while moving around/out of combat).
Tab starts from the closest viable target.
A targeted mob stays targeted turn by turn.
Tab loops over the viable targets. Shift Tab walks backwards.
The player is the "-1" target ie they aren't the first but are the last+1 or first -1
Direction keys override this selection (useful for aoe abilities) but starting from the most recent tab target OR player if there was no target to start.
Tab returns to target list.
Esc returns the player to move mode.
Esc clears a free target but not an entity.
Death of an entity returns the target to player.
Return executes the ability.

Tab target would be nice to have available even in move mode for a quick view of the mobs.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.