kumavis / node-warrior

:tiger: 3D multiplayer voxel sandbox to teach programming

Home Page:https://kumavis.github.io/node-warrior

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When not in game navigating back a page accidentally is easy

knod opened this issue · comments

commented

When 'esc' takes you out of the game, you can navigate back a browser page very easily and accidentally. Perhaps there could be a confirmation message so it's not as easy to navigate away.

Ah, yes I can see how that would be dangerous. Possibilities:

  • Provide a "Are you sure you want to leave this page?" dialogue
  • Some kind of hash-location url?
commented

The dialogue sounds like a good idea! I can look into how that might work.

I'm not sure what a hash-location url does in this context, but it sounds interesting.

Ember app needs to keep track of an active game and offer a way to get back there when navigating other views, for example the settings page.