Search found 216 matches
- Sat Aug 01, 2015 11:24 am
- Forum: Ren'Py Questions and Announcements
- Topic: Bar size and positioning problems [mainly solved]
- Replies: 2
- Views: 493
Re: Bar size and positioning problems
Finally got it to work, not really with your indications (that did not work, sorry), but by adding a "xfill True" instruction to the vbox style. Thanks anyway for your help, that was inspiring. Yeah \o/ pref_success.png Now I need to understand why my gutters don't " move by a small amoun t" the bar...
- Sat Aug 01, 2015 10:39 am
- Forum: Ren'Py Questions and Announcements
- Topic: Regarding defining images and characters on other scripts[S]
- Replies: 2
- Views: 342
Re: Regarding defining images and characters on other script
Ren'py treats all .rpy files like one big file, so you can have your images definitions and your story in two different files, without "calling" your images from the other files. (Works fine, I do it all the time.) If you put your story in different files, you will need to "jump" to other labels, th...
- Sat Aug 01, 2015 10:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: Bar size and positioning problems [mainly solved]
- Replies: 2
- Views: 493
Bar size and positioning problems [mainly solved]
I'm currently in the process of customizing screens for my games. For the moment I'm trying to deal with Preferences screen. Here is what it looks like now. pref_current.png Here is the relevant code that produces that, styles included screen reglages: # Pour être sûr que tout autre menu est remplac...
- Mon Jul 06, 2015 9:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: styles and theme colors
- Replies: 9
- Views: 934
Re: styles and theme colors
Thanks for your help. I really appreciate your interest. Usually, is statement or take statement works enough. style new_button is button: style new_button take button: Except I'm not trying to create a new button style. I try to create a new text style, for example, that's gonna use same color set ...
- Mon Jul 06, 2015 8:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: styles and theme colors
- Replies: 9
- Views: 934
Re: styles and theme colors
So, I know what I shouldn't do. (Which doesn't help me very much...)
Now, what SHOULD I do if I want to create new styles that uses the same colors as the theme colors ?
Now, what SHOULD I do if I want to create new styles that uses the same colors as the theme colors ?
- Mon Jul 06, 2015 5:16 am
- Forum: Ren'Py Questions and Announcements
- Topic: styles and theme colors
- Replies: 9
- Views: 934
Re: styles and theme colors
This works. style.selected_text_button.color Nope. No error, right, but it gives me pure white, and button_text.selected.color is supposed to be "#7a4229" (kind of marron) I tried several syntax : style.selected_button_text.color / style.button_selected_text.color, etc. At best I have no error, but...
- Mon Jul 06, 2015 2:50 am
- Forum: Ren'Py Questions and Announcements
- Topic: styles and theme colors
- Replies: 9
- Views: 934
Re: styles and theme colors
Fine, but the values themselves must be stored "somewhere", because the writing and widget colors change according to theme... I tried to use the styles values (I got them from the style inspector), but this doesn't work. For example, I want my new style to have the same text color as the selected b...
- Sun Jul 05, 2015 12:18 pm
- Forum: Ren'Py Questions and Announcements
- Topic: styles and theme colors
- Replies: 9
- Views: 934
styles and theme colors
In the options.rpy file, the user defines several colors for the theme used by the game. Let's imagine that I want to define new styles, using the same colors as the theme colors. How can I access the variables where theme colors are stored ? like, for example style my_style: color the_widget_text_c...
- Sat Jul 04, 2015 8:08 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Icons not working? [SOLVED!]
- Replies: 3
- Views: 1695
Re: Icons not working?
I think you can use this config.window_icon = None ¶ If not None, this is expected to be the filename of an image giving an icon that is used for the window on Linux and Mac OS X. This should be a large image, with 8-bit alpha. This should generally be a PNG format file. config.windows_icon = None I...
- Thu Jul 02, 2015 1:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: _preferences.volumes['music'] generates "KeyError" [solved]
- Replies: 4
- Views: 536
Re: _preferences.volumes['music'] generates "KeyError"
Thanks. Things are clearer now.
- Thu Jul 02, 2015 9:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: _preferences.volumes['music'] generates "KeyError" [solved]
- Replies: 4
- Views: 536
Re: _preferences.volumes['music'] generates "KeyError"
Done.
Just for my knowledge, does this function touches the mixers or the channels ? (I always have trouble to make distinction between channels and mixers)
Just for my knowledge, does this function touches the mixers or the channels ? (I always have trouble to make distinction between channels and mixers)
- Thu Jul 02, 2015 5:35 am
- Forum: Ren'Py Questions and Announcements
- Topic: Maximum length of string ?
- Replies: 4
- Views: 993
Re: Maximum length of string ?
You can download my project here : https://bitbucket.org/Korova08/clairobscur/get/74c782123bbc.zip you have a button on the main menu to access directly to the credits. You will see scrolling credits (that works OK), you have to click on the button "Crédits détaillés" on the upper right corner. Fist...
- Wed Jul 01, 2015 6:17 pm
- Forum: Ren'Py Questions and Announcements
- Topic: _preferences.volumes['music'] generates "KeyError" [solved]
- Replies: 4
- Views: 536
_preferences.volumes['music'] generates "KeyError" [solved]
OK, I'm doomed tonight. Several codes that used to work perfectly now randomly generate errors. I need to get the value of mixer volumes. I use the variable _preferences.volumes['music'] and _preferences.volumes['sfx'], and later pass them to a screen. This worked like a charm, and suddenly generate...
- Wed Jul 01, 2015 6:01 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Maximum length of string ?
- Replies: 4
- Views: 993
Re: Maximum length of string ?
Here is the relevant screen code screen credit(type,illu,details): # type = l'écran est différent pour une image ou un fichier audio # Illu = image qui sera affichée comme illustration (la photo, la couv de l'album, la représentation du bruitage) # details = éléments pour la description (sous forme ...
- Wed Jul 01, 2015 5:03 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Maximum length of string ?
- Replies: 4
- Views: 993
Maximum length of string ?
I've just bumped on a strange error in Ren'py. I have a screen to display credits in my game. Basically, I have one screen and pass different strings to the screen to display them. Everything always worked fine, but here is the message error I got tonight : I'm sorry, but an uncaught exception occur...