ignacioxd / ragin-mages

JavaScript MOBA game built with Phaser 3
https://raginmages.net
59 stars 21 forks source link

Display leaderboard during gameplay #115

Open ignacioxd opened 6 years ago

ignacioxd commented 6 years ago

We currently have the leaderboard functionality working in the background. The game receives leaderboard updates when there are any. We need a way to display the leaderboard during gameplay.

There are a couple of ways to go about this that come to mind: 1) a DOM-based HUD (similar to the DOMModal), and 2) an overlay Phaser scene (similar to the other modals and mobile joystick).

Any ideas?

levyadams commented 6 years ago

I am partial to a leaderboard you can bring up and close, and kill notifiers in the top right corner showing who blasted who.

BrianFreemanAtlanta commented 6 years ago

I like the idea of settings preference for display kill notifications and the leaderboard. Then we could also tie it to keys to toggle their display.

I don't have a preference on DOM or phaser scene.

ignacioxd commented 6 years ago

We do have 'Q' to toggle leaderboard on the "how to play" page, but nothing to toggle :(

The kill notifications is a good idea, as is the setting to enable/disable. I'd say we first implement it and then add a setting to toggle it.