Re: Forge version 1.5.26
Posted: 10 Sep 2014, 00:16
I've started working on another feature off my Forge bucket list: Achievements!
I've set things up so we can easily define any number of achievements in a new Achievements enum, where each Achievement can have up to 3 tiers: Bronze, Silver, and Gold.
At this time, I have 5 achievements defined, though I have ideas for more. Here's the code to give you an idea of how easy it is to define them:
I've set it up so you'll get a popup whenever you earn a trophy for an achievement you haven't previously earned.
Eventually, I plan to add a new achievements screen acts as a trophy case for all achievements you've earned, which will also show a "Best" score for applicable achievements like "Win Streak" and "Total Wins".
Let me know if you have any ideas for achievements or thoughts about this feature in general.
Thanks.
-Dan
I've set things up so we can easily define any number of achievements in a new Achievements enum, where each Achievement can have up to 3 tiers: Bronze, Silver, and Gold.
At this time, I have 5 achievements defined, though I have ideas for more. Here's the code to give you an idea of how easy it is to define them:
- Enum Definitions | Open
I've set it up so you'll get a popup whenever you earn a trophy for an achievement you haven't previously earned.
Eventually, I plan to add a new achievements screen acts as a trophy case for all achievements you've earned, which will also show a "Best" score for applicable achievements like "Win Streak" and "Total Wins".
Let me know if you have any ideas for achievements or thoughts about this feature in general.
Thanks.
-Dan