Open rHermes opened 7 years ago
This may be a problem with Allegro, as the code editor just accepts the unicode values that Allegro gives it (there is a key remapping function in init.txt, but it only works for in-game input as text input would be much more complicated to remap).
I'll include the AHK script in a /misc directory and add a note to the key remapping section of init.txt. Thanks for the script!
Glad to hear that you could use the script! I've only tested it on windows so far, the #IfWinActive
matcher might have to be changed in the future if the executable name changes, as that is what it matches right now.
Once again, thank you so much for such an enjoyable game!
I noticed a similar Problem, where the numpad works as if numlock was enabled and disabled at the same time. This means pressing 7 on the numpad will jump to the start of the line (its function if numlock is disabled) and then write a 7.
For now I use an exgame editor, which works just fine, except for syntax highlighting. On that note, could you add an option to auto-reload the open file, if it changed on disk, or at least give the reload button a hotkey?
Awesome game btw.
I noticed a similar Problem, where the numpad works as if numlock was enabled and disabled at the same time. This means pressing 7 on the numpad will jump to the start of the line (its function if numlock is disabled) and then write a 7.
I've just made some changes that should fix this.
On that note, could you add an option to auto-reload the open file, if it changed on disk, or at least give the reload button a hotkey?
Auto-reload sounds tricky to implement, but I can add a shortcut; there's already a compile-time option to do this (with ctrl-R), but I left it off to avoid having a single keypress that instantly overwrites a whole file. It's probably better to turn it on though.
As a norwegian user, begin unable to use the mentioned keys is something that pops up every so often, I'm looking at you repl.it >:[. It most likley has to do with the fact that we use AltGr for those symbols, but I'm not 100% sure if thats the only issue. I normally just ignore the program that has such problems, but this games seems so awesome, I took the time to write a short AHK script that fixes it. The script kan be found here.
This is obviously only a temporary solution, but I just wanted to share it incase there was any other users out there which just couldn't wait to play your awesome game!