-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
WIP : Add screenshots to save games #364
base: develop
Are you sure you want to change the base?
WIP : Add screenshots to save games #364
Conversation
Changed "New Save" to be "Empty Slot" so the picture works for both save and loading screens, and also added a "Missing Image" image in case you have a save game file but not its related image. |
I tried doing further updates to the interface (like drawing a box around the save game entry on mouse-over) but I gave up as I found it too inconsistent with the current popochiu_popup class, and Godot's control nodes are painful to use. |
Hi @balloonpopper. Me and @mapedorr just reviewed your implementation. It's working code but there are some corner cases that makes a proper solution pretty hard to complete. To start with, this implementations should not overwrite the save/load component we have in place. A new one should be created instead. Considering all of that, the best option may be for @mapedorr to implement this feature. He has thorough knowledge of Godot controls, plus he knows the GUI system ins and outs. I think we can work this out under the umbrella of #365 if we want to broaden its scope. |
If @mapedorr wants to implement this feature then that's fine. |
Yes, there is draft work by @mapedorr on that that we decided to remove from 2.0, but will make its way into future versions, to allow people to pick up components à-la carte. The plugin UI to "compose" your game UI was too green and still requires proper design. In the meantime, you are right: customizations need to be managed by hand. But this is true for every GUI component that gets customized. The best option we have right now is writing more documentation on how to incorporate new or updated components into the game UI if you upgrade Popochiu in your project. Please, note that there has been a lot of discussion on how to support devs creating game UIs. It's not an easy deed, because GUIs are the most prominent elements that change a lot between adventure games (much more than characters, props, rooms or dialogues, which behaviors are 90% the same across different games). Contributions in the GUI area will probably need a good amount of upfront design to be considered for inclusion. If you want to take this over, of course, the best option can be to detail the solution architecture in an issue before getting to the implementation. |
Proposal to add screenshots to save games. It works at the moment, but I'd like the project maintainers to review the code for feedback.
The interface gets very buggy if I don't pre-resize the screenshot prior to trying to show it on the load/save screen. The resolution of the resized image, and the filename to save games to should be exported to project settings. Currently it's hard coded in the file but I'll hold off on moving it until the project maintainers advise if at the top of the file or in project settings would be preferred.
This is how the load interface looks with this change currently - I made the screenshots 100x65 for proof of concept.