Auroriax / PuzzleScriptPlus

Puzzlescript Plus: Open Source HTML5 Puzzle Game Engine (with lots of extra functionality)
https://auroriax.github.io/PuzzleScript/
34 stars 4 forks source link

Custom keybinds #108

Open TeraByte-Official opened 1 year ago

TeraByte-Official commented 1 year ago

Check all that apply, then describe the issue below:

The custom_keybind keyword can be put in the header to introduce a custom keybind. For example, if you put custom_keybind h foo in the header, you can put foo before a rule to make it apply when you press H. This can be useful for a recreation of Tres Undos.

Auroriax commented 1 year ago

Hmm, I remember looking into something like this previously but the engine is pretty hard-coded around the existing five buttons...

Similar to https://github.com/Auroriax/PuzzleScriptPlus/issues/97