On the topic of menus...
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
-
- Regular
- Posts: 103
- Joined: Wed Mar 16, 2005 11:00 pm
- Location: Swimming in the sea of electronic dots
- Contact:
This brings up an interesting question...
Is it possible to have the name of the character speaking appear separate from the spoken text, with its own background/text style?
And can you vary the width of the separate name box, allowing for maximum flexibility in accomodating names of varied length?
If this is possible with the current version of Ren'Py ( 4.8 ), then please advise. If not, I humbly submit this as a feature suggestion for the next release. ^_^
P.W.
Is it possible to have the name of the character speaking appear separate from the spoken text, with its own background/text style?
And can you vary the width of the separate name box, allowing for maximum flexibility in accomodating names of varied length?
If this is possible with the current version of Ren'Py ( 4.8 ), then please advise. If not, I humbly submit this as a feature suggestion for the next release. ^_^
P.W.
Life is hard.
Except in ren'ai games.
Then it's a whole lot softer.
Except in ren'ai games.
Then it's a whole lot softer.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
This is possible, but not well supported, in 4.8. Basically, you have to define a custom Character object that displays the character's name in a second window, and composites everything together using a ui.vbox().
I'll add better support for this in the next release, probably as a new extra.
I'll add better support for this in the next release, probably as a new extra.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
This kind of is a menu question... here we go...
I'd like to reposistion the game menu choices (such as Return, Save, Load, Preferences) to the left rather than right
And on the right half of the menu screen I'd like to have all the actual options and save slots etc.
so as for preferences - to have them all in one "column" on the right side
and for save/load slots - to have only one save slot column on the right side
I guess that's a little complicated...
So something like this:
Waaah, hope the idea came across.
Is something like that doable?
I'd like to reposistion the game menu choices (such as Return, Save, Load, Preferences) to the left rather than right
And on the right half of the menu screen I'd like to have all the actual options and save slots etc.
so as for preferences - to have them all in one "column" on the right side
and for save/load slots - to have only one save slot column on the right side
I guess that's a little complicated...
So something like this:
Code: Select all
SAVE/LOAD
----------------------------------
Save Slot 1
Save Slot 2
Save Slot 3
Save Slot 4
Return Save Slot 5
Load game Save Slot 6
Save Game Save Slot 7
Preferences
Main
-------------------------------------
PREFERENCES
----------------------------------
Enable/Disable
Yes
No
Enable/Disable
Yes
No
Enable/Disable
Yes
No
Return Enable/Disable
Load game Yes
Save Game No
Preferences
Main
-------------------------------------
Is something like that doable?
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Repositioning the game menu is easy, just mess with the position properties on gm_nav_window.mikey wrote: I'd like to reposistion the game menu choices (such as Return, Save, Load, Preferences) to the left rather than right
And on the right half of the menu screen I'd like to have all the actual options and save slots etc.
I need to think a bit on how one can re-layout the file picker and the preferences. If I can come up with a good solution to it, I'll add it in... in the current version of Ren'Py, there isn't really a good way to do this.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Just to update this, I've made a number of changes to Ren'Py that should make mikey's request possible. They will be released with 4.8.1 in a day or so.
Now to go play ToZ for a bit.
Now to go play ToZ for a bit.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
The following is the code that implements mikey's requests in 4.8.1. (Which will be released sometime tomorrow.) It assumes a 640 x 480 screen... some numbers may need to be tweaked for a bigger screen.
(The oddly-indented line should be one line.)
(The oddly-indented line should be one line.)
Code: Select all
init 1:
$ config.screen_width = 640
$ config.screen_height = 480
# Font sizes.
$ style.default.size = 20
$ style.button_text.size = 20
$ style.file_picker_text.size = 14
# Change the size of the thumbnails in the file picker.
$ library.thumbnail_width = 60
$ library.thumbnail_height = 45
# Relocate the gm_nav_window.
$ style.gm_nav_window.xpos = 0.05
$ style.gm_nav_window.xanchor = 'left'
# Change preferences layout.
$ library.preferences['prefs_right'] = library.preferences['prefs_left'] + library.preferences['prefs_right']
$ del library.preferences['prefs_left']
$ library.has_cps = False
# Change file picker layout.
$ library.file_page_cols = 1
$ library.file_page_rows = 7
$ style.file_picker_window.xmaximum = 400
$ style.file_picker_window.xpos = 240
$ style.file_picker_window.xanchor = 'left'
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Of course. I keep dossiers on many of the forum members. Now I just have to wait for google maps to add satellite photography of Bratislava.mikey wrote:(you still remember I use 640 x 480? ) ^_^
Good menus rule.
Well, I thought the old menus were fairly good as they were, but I'm sure that the design of your game is different than the ones that have come out so far. I guess flexibility is usually good.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
*runs to buy a GPS jammer*
Anyway... the menu and repositionings all work, thanks!
Yeah, the game is a lot of work. Luckily I have all summer. The design, I guess it's no secret that it's simple, but I think a good engine will let you do complicated or simple if you need. Still, sometimes I feel like ruining your work when I disable all those nice features you put in. The truth is though, the spartan design really works, so I actually have no choice.
Anyway... the menu and repositionings all work, thanks!
Yeah, the game is a lot of work. Luckily I have all summer. The design, I guess it's no secret that it's simple, but I think a good engine will let you do complicated or simple if you need. Still, sometimes I feel like ruining your work when I disable all those nice features you put in. The truth is though, the spartan design really works, so I actually have no choice.
- PyTom
- Ren'Py Creator
- Posts: 16096
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Realize that the ability to disable a feature is also a feature, so you're still using the feature set I provide.mikey wrote:Yeah, the game is a lot of work. Luckily I have all summer. The design, I guess it's no secret that it's simple, but I think a good engine will let you do complicated or simple if you need. Still, sometimes I feel like ruining your work when I disable all those nice features you put in. The truth is though, the spartan design really works, so I actually have no choice.
In fact, one of the design goals of Ren'Py was to be able to replicate your current games games fairly completely, ignoring stuff like password entry for the moment.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: Baidu [Spider], CephalonKet, decocloud