Re: Free Portrait mode GUI template
Posted: Sat Jan 02, 2021 9:44 pm
I'm pretty happy with v1.29, several changes have been made that make the GUI much easier to work with.
An issue that continually niggled at the back of my mind was that the more I edited this GUI, the harder it was becoming for novices (and even me) to edit the GUI to their liking if for example, they wanted to change the images used in the menu's individually. Due to having multiple styles for the same screen, some buttons had to be edited several times to catch all the variations, which could mean missed edits or simply make it difficult to find which line to edit in the first place.
To address this I condensed all button background images into an easily modified buttons.rpy file. Now all button images can be easily changed by changing a single file path within buttons.rpy

Additionally I added new_game_<button state>.png to show how the buttons can be individually changed now.
Screenshot from v1.30, but looks identical in v1.29
Load/Save screen thumbnails and save time/name text have been reworked to match the new 1080x1920 resolution introduced in v1.27

Pagination buttons have been moved so they're no longer behind the navigation menu when in game context.
Bugs and unintended breakages
I also identified a bug with the extras button. Due to how I made the extras screen and the new navigation system, if you're in another screen (for example, settings) and click on extras, the screen will not show.
The screen still shows just fine if you try to open it from the main menu. This will be fixed in a future update.
The about screen doesn't fit properly since the addition of the new navigation. This will be fixed in a future update.
The navigation menu appears broken and on the left side if persistent.men_style = False
This results in it covering the history screen, save screen, etc and looks very out of place.
This is a major oops that must have been introduced in v1.28 (that wasn't detected until after I released v1.29.) It will be fixed in v1.30
Get it here
Again, the file is a 7zip archive. Extract it and place it in your projects folder like any other project to use it.
https://mega.nz/file/0Ft2zaST#r9rsd6isv ... bSGXHZjqQo
Note
Ren'Py 7.4 changes how hardware video playback works on mobile devices.
You may need to adjust define config.hw_video = True in options.rpy if you experience issues.
An issue that continually niggled at the back of my mind was that the more I edited this GUI, the harder it was becoming for novices (and even me) to edit the GUI to their liking if for example, they wanted to change the images used in the menu's individually. Due to having multiple styles for the same screen, some buttons had to be edited several times to catch all the variations, which could mean missed edits or simply make it difficult to find which line to edit in the first place.
To address this I condensed all button background images into an easily modified buttons.rpy file. Now all button images can be easily changed by changing a single file path within buttons.rpy

Additionally I added new_game_<button state>.png to show how the buttons can be individually changed now.
Screenshot from v1.30, but looks identical in v1.29Load/Save screen thumbnails and save time/name text have been reworked to match the new 1080x1920 resolution introduced in v1.27

Pagination buttons have been moved so they're no longer behind the navigation menu when in game context.
Bugs and unintended breakages
I also identified a bug with the extras button. Due to how I made the extras screen and the new navigation system, if you're in another screen (for example, settings) and click on extras, the screen will not show.
The screen still shows just fine if you try to open it from the main menu. This will be fixed in a future update.
The about screen doesn't fit properly since the addition of the new navigation. This will be fixed in a future update.
The navigation menu appears broken and on the left side if persistent.men_style = False
This results in it covering the history screen, save screen, etc and looks very out of place.
This is a major oops that must have been introduced in v1.28 (that wasn't detected until after I released v1.29.) It will be fixed in v1.30
Get it here
Again, the file is a 7zip archive. Extract it and place it in your projects folder like any other project to use it.
https://mega.nz/file/0Ft2zaST#r9rsd6isv ... bSGXHZjqQo
Note
Ren'Py 7.4 changes how hardware video playback works on mobile devices.
You may need to adjust define config.hw_video = True in options.rpy if you experience issues.
