Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
-
SypherZent
- Veteran
- Posts: 331
- Joined: Fri Sep 02, 2016 3:14 am
- Completed: Multiverse Heroes, Space Hamster in Turmoil
- Soundcloud: Chrysopoeist
- Location: Puerto Rico
-
Contact:
#1
Post
by SypherZent » Sat Jul 17, 2021 1:46 pm
This code is from renpy/common/00gallery.rpy:
Code: Select all
screen _gallery:
if locked:
add "#000"
text _("Image [index] of [count] locked.") align (0.5, 0.5)
else:
for d in displayables:
add d
How do I change the color of this text that says "Image [index] of [count] locked"??
Currently, the text is showing up black, causing the entire screen to be black and it looks broken.
Note: I have no styles anywhere in the game causing text to be black, and I cannot find any settings to change this text style in gui.rpy.
Last edited by
SypherZent on Sat Jul 17, 2021 2:36 pm, edited 1 time in total.
-
SypherZent
- Veteran
- Posts: 331
- Joined: Fri Sep 02, 2016 3:14 am
- Completed: Multiverse Heroes, Space Hamster in Turmoil
- Soundcloud: Chrysopoeist
- Location: Puerto Rico
-
Contact:
#2
Post
by SypherZent » Sat Jul 17, 2021 2:36 pm
I found the color. It's shared with the in-game dialogue text: gui.text_color, which was near-black so it could hardly be seen in the gallery.
Why does the gallery use the same text color as the dialogue in game? Who knows.
Anyway, solved my own problem (again). Hope it helps someone else.
Users browsing this forum: Bing [Bot], Google [Bot]