Weird problem with Chrome on itch.io not working with Vorple's "wait for any key"

I have a Vorple game on itch.io, and three testers have reported that “wait for any key” doesn’t work for them – they press a key but nothing happens. All are using Chrome. Weirdly, there are a few "wait for any key"s in the game, and the first one seems to work properly. The second one doesn’t always fail, either, just most of the time.

I’m not sure if this is a Chrome problem, or an itch.io problem, or a Vorple problem (everything works fine in Firefox, as far as I can tell).

(Juhana, thanks for Vorple, by the way, I really like it; and I know what a pain it must be to get everything working just right across all the different browsers!)

3 Likes

I had a similar problem. It turned out to be caused haven.js not coping with non-integer page heights.

IIRC:

  • Vorple responds to keypresses by checking whether it’s scrolled all the way to the bottom of the page. If it isn’t, it scrolls down a screenful.
  • For some reason, my browser had given the page a non-integer height.
  • The scroll function only set things to integer values, so the comparisons were failing.

I worked out a bugfix for my own project and posted a message to the Vorple board, but nobody responded.

3 Likes