Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Movement problem

A topic by Bogudan created Apr 19, 2023 Views: 261 Replies: 3
Viewing posts 1 to 3

At current version I can't move character: attempts to use WASD redirect to "find on the page".

Developer

This is first. This is every time you play?

To be precise: game does register buttons being pressed. But at the same time browser opens "find" toolbar and all following key presses (and even key being held) does not registered by game. Only way is to press Esc to close toolbar (or click 'x' with mouse). And yes, reloading game preserves this behaviour.

Most probable cause is missing `preventDefault` call in keyboard event handlers.