CalebJohn / into-the-great-abyss

A prototype for a space exploration/management game.
GNU General Public License v3.0
2 stars 3 forks source link

Button timer #65

Closed clayjohn closed 7 years ago

clayjohn commented 7 years ago

We need to add some sort of timer like in ADR that will only allow you to only press a button every given interval. after a button is pressed you will have to wait for some time before it can be accessed again.

For resources collecting this should be tied to all resources simultaneously while for building and expanding it should be resource independent.

clayjohn commented 7 years ago

The Phaser Timer class should be sufficient for implementing this in a nice way. Additionally, I was thinking about writing a small shader to do a loader bar effect across the text. But we can add that in another PR later.