Git Product home page Git Product logo

roguerobstrains's People

Contributors

anaseto avatar vedvid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

roguerobstrains's Issues

Support for non-physical keys?

Hi!

I've been playing Rogue Robs Trains, and as a non-qwerty user, the use of physical keys has confused me a little at first : I don't know if it's a limitation of bearlibterminal, but otherwise, using character input instead of physical input for keys representing characters would be nice.

BTW, nice little game, easy to get into and quite fun! I don't know if you have plans to develop it further from the 7DRL version, but the concept is nice :-)

Support for keyboard layouts other than qwerty

Recently, I accepted @anaseto's PR about using runes instead of using bearlibterminal scan codes directly. Later, I started to widen the support for runes, but it started to be a bit unconvenient (didn't work well with existing systems - and I'd like to add non-qwerty support to RAWIG as well). Also: "this means that in some keyboard layouts the WASD keys will not be in a sensible position, but at least they're where you expect".

So, why not to get both: sensible layouts and proper layout mapping? I started to work on this recently. It's a bit pain to implement (because I'm mapping every control scheme manually) and still in early stage, but it seem to work as expected. (One may want to check keyboardLayoutConfig2 branch.)

QWERTZ is based on German scheme; AZERTY - the French one.

There are still dilemmas to resolve, thought. For example, using AZERTY one need to press shift to write numbers. Therefore, I'd assume that "default key" is, for example, 'é', not '2'.
On the instructions panel, I wrote all special (ie not related to movement) commands their keys. So, 1 - switch to primary weapon, 2 - switch to secondary, etc. The question is: would it be more clear (even if both '2' and 'é' are supported), for AZERTY-user, to have 'é' as part of this string instead of '2'?

image

Personally, this change doesn't seem sensible for me, but I'm using QWERTY all my life, so I'd like to consult it with actual AZERTY users.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.