On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

randrews

10
Posts
2
Followers
A member registered Jan 10, 2018 · View creator page →

Creator of

Recent community posts

Did you read the instructions? The combat works differently than most games. 

The game already does call preventDefault for events it handles. If it doesn't know what to do with the key, it bubbles the event up, which is the correct behavior. This is not a bug in my game, it's the option you've set in your browser.

Also I should have asked before, but this only affects keys that wouldn't do anything in game, doesn't it? If you stand on top off an object and press 'p' to pick up, then the game _will_ preventDefault that event... It's only bubbling the ones it can't handle, which is the correct behavior.

That is a solution to your problem, but comes with problems of its own: it would cause the game to eat keystrokes it can't handle and shouldn't, like pressing F12 to bring up a console, or ctrl-d to bookmark, or whatever. Since the problem only seems to happen if you have that setting set (which doesn't seem to be the default since I've never heard of it), I suggest clearing that setting, rather than me breaking non-game keyboard input for everyone else.

I just set up a Mint VM and tried it in FF / Mint and it works for me. Can you give me any more information about anything that might be weird about your setup? Browser extensions, weird keyboard, anything like that?

FF on Debian works fine, that's what I wrote it using. Maybe try updating FF? Or try Chromium?

Not sure what to tell you. Which OS / browser?

That's strange, that doesn't happen for me. Maybe try playing on my site, http://sevendral.com/craftsman ? It's the same game but no search bar.

Alphanumeric keys?

It's easy to miss, so please be sure to read the instructions linked below the game!