jsem / mtg-life-counter

A personalised life counter for mtg
0 stars 0 forks source link

Create game menu #16

Closed jsem closed 5 years ago

jsem commented 6 years ago

this is the menu that shows up when pressing the game menu button. should be implemented following the designs below:

image

main menu dispatches an end game action and navigates back to the main menu. restart game should dispatch an end and start game action and stay on the game screen roll dice + flip coins should behave as described on the designs history opens up another menu screen that just shows a list of all history events and a back button

jsem commented 5 years ago

best way to do this is with a modal. then we can incorporate transitions into the menu to make it less jarring when it appears, while also preserving the state of the underlying game screen

jsem commented 5 years ago

changing the android launchMode to single instance. otherwise multiple instances of the react app can be created and it completely tanks the animation performances