4 ms·
Are you doing anything with the back button behavior I’m not able to return to the previous site on mobile safari. It’s quite frustrating. Other than that it s
by xfour 4y ago
Are you doing anything with the back button behavior I’m not able to return to the previous site on mobile safari. It’s quite frustrating.
Other than that it seems nice and responsive. The popups for level complete are immersion breaking, perhaps a little more subtlety there.
- redundantly 4y agoThis is called hijacking the back button and it's an extremely irritating practice.
- kevsim 4y agoOr they've made an SPA and are trying to make use of the history API and just have a bug. Don't assume bad intentions.
- andai 4y agoThat's literally what that means. Most of the time it isn't intentional though, at least in the sense of preventing the user from leaving.
- robertlagrant 4y agoHijacking is deliberate.
- tonetheman 4y agoI like it. I do not like the back button behavior though. I might see if you can fix that at some point in the future. You probably have other things to fix first. Great idea though.
- andai 4y agoAfter reading the comments, I thought back would be undo, but it doesn't seem to do that. It just triggers the game to "reload" to the exact same positions?
- shubhamjain 4y agoIt wasn't my intention to hijack back button. I was merely pushing the links to the current level, so that it's easier to share the level you're playing. But it does seem there's a better way to do it. The URL itself can be changed without modifying the history[1]. I will push a fix soon for this. [1]: https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState https://developer.mozilla.org/en-US/docs/Web/API/History/rep...
- deleted 4y ago[deleted]