Hacker News new | past | comments | ask | show | jobs | submit | arikgalactic's comments login

Huge thanks to the itch.io community for recommending this second layout. Glad you found it comfortable.


1. The WebAudio api requires user interaction to allow playing audio. The main menu saying "press any key" is intended to trigger that. 2. One WebAudio is ready to use, I build all the sound effects procedurally. There's 13 SFX and 3.5 minutes of music that need to be generated! This takes about 5-6 seconds total to churn through all the math used to build the audio buffers.


Why aren't they generated while waiting for the player to press a key?


I'm guessing it's because WebAudio won't let you create audio buffers until a user gesture like a click allows audio context to be started ("resumed").


Only tested in Chrome + Edge + Firefox. I'll look in to Safari and report back!


It semi-works. It launches, loads, says something about wingspan and double jump, then immediately teleports you to a ___location where you're stuck.

It's all very jumbled: https://imgur.com/a/1PNTW7E


Yeah, here's the place I got "teleported" to: https://i.imgur.com/rI5rPiX.png


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: