Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

thanks for the update! Maybe i will give this another try one day ❤

Regarding TAB: you can definitely grab it in javascript and preventing it from changing focus. Ive had the same issue in a game of mine (advnture.louve.systems)

You have to `document.addEventListener("keydown", ...` and then on the event object call `event.preventDefault();` if it's a TAB key. This way it will be prevented - you can do this for any key you want :)

Good luck!

Sweet! I’ll give that a try.

I’ll try it first on Tech Preview: its an OS running under an emulator, and the emulator is prevented from regaining focus entirely on some platforms. There’s no save (yet) because i haven’t finished the file system, so losing focus can be pretty catastrophic.

I also have the interpreter in tech preview written better so it supports a dynamic man command, and also the /?to get help, and a help commands command to list all available commands.