JFrankfurt / To-The-Moon-Bitcoin-Game

A Bitcoin Faucet Game
7 stars 7 forks source link

ui-router for menus #7

Open JFrankfurt opened 9 years ago

JFrankfurt commented 9 years ago

We want to manage all the game menus, buttons, etc. with ui-router and nested views linked to Phaser.

i.e. - a level ends and the player is presented with a menu to cash out or continue on. The menu should be a ui-router view, and the buttons should either start the next level, or take them to another view that allows them to enter their wallet/cash out, or cancel and go back to the previous menu.

JFrankfurt commented 9 years ago

We currently have a pair of directives handling this, but it isn't working. ui-router might not be necessary at the moment.