Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

A funny story about the spacebar and how you as a developer have to come up with workarounds when you don't have a lot of time.
When I added music to the main menu for the first time, I found out that the browsers don't allow you to auto-play audio and video unless a user has interacted with the page. But I wanted to play the music in the main menu right when it opens. The cliche "Press any key" screen came to the rescue - a user has to press something, hence I get an interaction and I can play audio. But then I found out that keys such as Ctrl, Alt or Backspace don't count as a user interaction for some reason, so it's not actually "any" key. I had to limit the input, and the "Press any spacebar" was born :)