-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Trophy pop-up and viewer enhancements #2493
Conversation
Fix layout Update platinum.png Fix linux and apple
seems fancy :D |
Tbh i dont like the two icons one next to the other. Seems odd. Should be one icon then the info and then the other one. If not looks too busy for the eye. |
I agree with @diegolix29 about the icons. I suggest options (for example): Version 2 Or, if possible, do something like a double animation, but so far I do not know if it will look good. P.S. Although actually, I think we can limit ourselves to just the changes for the Trophy Viewer. |
the second version looks better to me . also adding the ability to add custom audio file for the notification sound like rpcs3 would be awesome too |
OMG, you are a god. version 2 looks better imo as well. thanks a lot |
Update build.yml Update build.yml Update build.yml Update build.yml Update build.yml Update build.yml Update build.yml test
Only other thing I have to add is, I'm not a big fan of having these extra resources next to the executable file, especially since until now the SDL builds were basically standalone files. I would prefer if we could maybe embed them in and reference as a byte array variable similar to how we do the |
This seems to embed each file as a header file in the exe if I'm understanding right. It is a bit beyond my current knowledge, but I'll try my best to apply it |
Yes, basically it results in headers with a variable for each file's contents, then if you want to load that file you can just reference that in-memory array instead of reading from file. |
I have embedded the files in the exe as asked, using this handy cmake script: https://github.com/vector-of-bool/cmrc This should address all the comments and suggestions so far. |
Will let others weigh in on the UI, but looks good to me now as far as my concerns went. |
a couple things:
|
without the ps logo pls |
call me crazy but i thing the PR looks better than the way PS4 looks |
i feel if we continue it might get into subjective preference territory :) but i agree with the idea of making it a little longer just in case since that seems to be the reason why ps4 and ps5 notifications have that much free space |
In response to the comments, some trophy names are really long like this one for grim fandango (It's like I'm not happy unless I'm breathing in the thick, black, nauseating fumes...), so the text box would have to really long to fit everything in one line. Right now, it's at a certain width, but the text will automatically wrap to the next line if the title is too long, so it will always fit I like the PR a bit better than the PS layout as well though I would admit there could a bit of bias in there :p |
same for me on windows |
why are those trophy icons not in |
Something was wrong with the embedded icons for a lot of people so I need to work on it a bit more. the icons were put in another folder because of a method I used previously which depended on a function that iterates over a certain directory (which I might have to use again since the method I ended up with is not working). I suppose we can put them in src/images/Resources of something similar but personally, I think it's okay to have them in their own folder since they are not really intended to be used by anything other than the embedding function. Either way should be functionally fine though (once I get it to actually work that is) |
This reverts commit 22ca57b.
Partially addresses #2461
Trophy pop-up
Trophy viewer
Images, though patterned after the PS4 trophy icons, are originally modelled by discord user Tlarok. They are packaged inside the AppImage for Linux, inside the app bundle for Mac, and in a separate Resources folder which is packaged in the other builds, and copied by CMake command in the binary folder for locally compiled builds
sample photos:
Trophy pop-up (main):

Trophy pop-up (PR):

Trophy viewer (main):

Trophy viewer (PR):
