Hi, I’m working on a platformer that is played in browser, I’m using Game maker studios to make it.
I’ve found a problem that I can't seem to solve. The player can’t be controlled when you first load the page, you have to reload the page to get it to work and then if you click off the game while playing you lose control of the player and can't get it back.
To be clear you can still use the mouse to do things in the game, you just can't use any keyboard comans.
This doesn't happen while playtesting the game in game maker; it's only after uploading it to itch.io.
Does anyone know what's wrong?