dev-jjjjjeong-bin / Invaders-SDP

3 stars 15 forks source link

Integration of HUDTeam achievements with clove's achievement system #65

Closed SEOKMINJUN closed 1 week ago

SEOKMINJUN commented 1 week ago

Changes

  1. DrawAchievementHud (Stuff on HUDTeam)
    • Rename HUDTeam.Achievement to HUDTeam.DrawAchievementHud
    • Remove DrawAchievementHud's constructor
    • Add DrawAchievementHud's default variable value
  2. Screen
    • Add drawPost() function at Screen
    • this function was added for global drawing. It makes it possible to draw ALWAYS.
    • Move DrawAchievementHud stuff to Screen's drawPost() from child screens (Example: GameScreen to Screen)
  3. AchievementConditions
    • Show notifications when achievements are achieved.

Known issues