swarm-game / swarm

Resource gathering + programming game
Other
835 stars 52 forks source link

Implement announcement rendering for Goal completion #1044

Open kostmo opened 1 year ago

kostmo commented 1 year ago

Stubs for this functionality were added in #927.

May dovetail with #916.

xsebek commented 1 year ago

I am not sure what this means, but I look forward to it. :slightly_smiling_face:

xsebek commented 1 year ago

OK, so I just encountered the "stub" while working on #1043: https://github.com/swarm-game/swarm/blob/b80503f16e0752ac2b2c80c1b11590d4bbd059bc/src/Swarm/Game/Scenario/Objective/Presentation/Model.hs#L43-L46

Personally, I would be fine with a simple flag for notification about Goal completion/failure. That is what the announcementQueue currently does I think.

@kostmo what sort of use do you have in mind for the announcement? Do you want to animate changed goals or maybe select the one that the player should focus on next?