Skip to content

[Feature]: Send notifications to user for achievementsย #270

@jvondermarck

Description

@jvondermarck

๐Ÿ‘‰ Please confirm the following

๐Ÿค” Is your proposal related to a problem?

To make gameplay more engaging and rewarding, let's add random notifications for achievement challenges during gameplay. These instant objectives bring surprise, spice, and replay value, encouraging players to experiment with different strategies and playstyles!

๐Ÿ˜ Describe the solution you'd like

  • Display notifications at key moments ("achievement unlocked", "objective challenge", etc.) using FXGL's notification features (docs).
  • Randomly assign 1โ€“2 objectives per game, and notify the player what they can achieve for bonus coins or powerups.
  • Example challenges:
    • Kill 15 dinosaurs in 10 seconds to win 30 coins.
    • Complete a level without spamming fire (one shot at a time) for a coin reward.
    • Survive 90 seconds with no damage taken.
    • Defeat the boss without dying to earn an upgrade.
    • Get a โ€œcomboโ€ chain (multiple kills in succession).
  • Allow feedback and new challenge suggestions from contributors in comments!

๐Ÿ‘๏ธ Describe alternatives you've considered

Please make a clean code, to be able to add new achievements in the future, easy to extend :)

โœ Additional context

Here is the documentation if FXGL to send notifs: https://github.com/AlmasB/FXGL/wiki/Achievements-and-Notifications-%28FXGL-11%29

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions