-
Notifications
You must be signed in to change notification settings - Fork 97
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
Improved supports for in-app/game notifications and toasts #587
base: main
Are you sure you want to change the base?
Conversation
36ab19c
to
dd22210
Compare
Demo from #588: Minicraft.Plus.2023-12-31.02-24-16.-.Trim.mp4 |
In-app notifications are usually a result of bad game design. Using this will make the game feel more like a cheap mobile game than an free and open-source sandbox game. Perhaps an icon can be showed insted when a controller is plugged in? |
# Conflicts: # src/client/java/minicraft/item/FishingRodItem.java # src/client/java/minicraft/item/SummonItem.java # src/client/java/minicraft/screen/AchievementsDisplay.java
New design for toast notifications Minicraft.Plus.2024-02-09.11-48-17.mp4 |
App status top bar (shows automatically for 2 seconds on startup and shown when "9" ( Minicraft.Plus.2024-02-09.17-32-31.mp4 |
The new achievement unlocking toast, replacing the original text-only notification. Minicraft.Plus.2024-02-09.19-37-49.mp4 |
Updates has been made for this pull request regarding the issues and it is now ready for review again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new changes look great!
Although, app toast and game toast should be merged to just be game toast. Having two is unneccecary.
Ok, it is removed. |
Can you update this please. |
# Conflicts: # src/client/java/minicraft/core/Renderer.java # src/client/java/minicraft/screen/TutorialDisplayHandler.java
Okay, branch updated. |
# Conflicts: # src/client/java/minicraft/entity/furniture/DeathChest.java
This feature is reserved for future use. This adds a support for in-app notifications, where toasts in the screen. It is different from in-game notifications, bare text only, as this includes a frame, and the color can be changed. This is important when there are some alerts, warnings and important information needed to notify the users.
I have several ideas about box popups and notifications: (fading is not supported right now)
fade inappearfade outdisappear) - quick inspections about status (top bar near top-right)Position for toasts may be configurable to upper or lower positions (also for each type of toast notification?).
Additionally, achievement unlocking toast is added to replace the text-only notifications regarding unlocking achievements. (https://discord.com/channels/280723930942013440/1141498209634623539)
This improves visual quality of life.