Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI/daily task/feature/daily task progress popup #405

Merged
merged 5 commits into from
Feb 12, 2025

Conversation

srbackman
Copy link
Contributor

  • When ever progress is made towards a task a small popup window will appear from left side to display the current tasks progress (note! if the popup just was on the screen and task is completed, it wont show the rewards popup).
  • Removed unused "using" statements in DailyQuest.cs and DailyTaskProgressManager.cs.
  • Commented a clan data saving section in DailyTaskProgressManager.cs due to it not working properly at the moment.

@srbackman srbackman self-assigned this Feb 12, 2025
@srbackman srbackman linked an issue Feb 12, 2025 that may be closed by this pull request
Copy link
Contributor

@BillTheBeast BillTheBeast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Siirrä toi progress popup osaksi UIOverlayPanelia, silloin se saadaan sopimaan kunnolla muuhun käyttöliittymään ja sen skaalaukseen. Kyllä tämä tarkoittaa tuon popupin koodin sijoittamista erilliseen skriptiin. Viestit Managerilta Popupille voidaan siirtää delegaattien/eventtien avulla.

Lisäksi suosittelen välttämään määrittelemään useampia muutujia samalla rivillä niin kuin ProgressManagerin rivillä 421 on tehty. Tuosta tulee helposti aika vaikea lukuista.

-When ever progress is made towards a task a small popup window will appear from left side to display the current tasks progress.
-DailyTask progress popup should now show the current task as done when task is done.
- Removed unused "using" statements in DailyQuest.cs and DailyTaskProgressManager.cs.
- Added documentations to DailyTaskProgressManager.cs
- Renamed a few variables regarding progress popup in DailyTaskProgressManager.cs
- Commented a clan data saving section due it not working properly at the moment.
- DailyTask reward popup now shows the reward when the task is completed (note! if the popup just was on the screen and task is completed, it wont show the rewards popup).
- DailyTask progress popup code is now it's own class DailyTaskProgressPopup.cs.
- Moved DT progress popup elements from "10-MenuUi" scene to "UIOverlayPanel" prefab.
@srbackman srbackman force-pushed the UI/DailyTask/feature/DailyTaskProgressPopup branch from 03fbd55 to 04bbf61 Compare February 12, 2025 17:07
@BillTheBeast BillTheBeast merged commit 89cc5ea into main Feb 12, 2025
@BillTheBeast BillTheBeast deleted the UI/DailyTask/feature/DailyTaskProgressPopup branch February 12, 2025 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Tehty
Development

Successfully merging this pull request may close these issues.

Task: DailyTask progress popups
2 participants