Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI : GameScreen : Upgrade Buttons #23

Open
theRemix opened this issue Jan 28, 2018 · 0 comments
Open

UI : GameScreen : Upgrade Buttons #23

theRemix opened this issue Jan 28, 2018 · 0 comments
Assignees

Comments

@theRemix
Copy link
Collaborator

2 Upgrade buttons will always be visible by default, displaying the art asset and the cost.

https://projects.invisionapp.com/share/ZJFJT4ZBAV4#/screens/275910453

Upgrades should be in a disabled or enabled state.
If the player has enough money to purchase the upgrade, it will be enabled and is clickable.
else it is disabled and clicking it does nothing.

The UI App should have a class, or some importable object of Upgrades available, example:

export default const upgrades = {
    1 : {
        "id" : 1,
        "name" : "axe",
        "cost" : "200"
    }, ...
} 

https://github.com/GomaGames/transmission/wiki/Upgrades

@theRemix theRemix self-assigned this Jan 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant