From what I'm seeing of the images. It looks like it won't be handicap friendly with bad eye sight such as myself. Will you be adding the choice for people to choose dialog box and text color? I would like to try this game.
An adult NSFW visual novel based around Alleyne's Series Test. A psychological test into humanity. 路 By
Hey,
Yes, this is something I am currently looking into implementing into the game when I can. I've not created/coded anything like this before, so I'm still in a learning process with some stuff. Once I got the knowledge on how to do this, it will be available.
Currently there is about 8 different font choices you can pick from. I'm aware this doesn't help with colour, and I apologise for that part. Although, there is a text to speech function within the game at the moment.
This is for the options screen:
screen options():
title "Options"
vbox:
# Check if the current background is the light mode image
if renpy.defaultbg == "your_light_mode_background_image_filename.png":
textbutton _("Enable Dark Mode") action EnableDarkMode()
else:
textbutton _("Disable Dark Mode") action DisableDarkMode()
textbutton _("Back") action Return()
# Add this line to use the dark_mode_bg style
style "options" box_style "dark_mode_bg"
add "ui/hud/options_background.png"
This is for the script.rpy or whatever .rpy that starts the game:
init:
# Set the default background to the light mode background image
$ renpy.defaultbg = "your_light_mode_background_image_filename.png"
label EnableDarkMode():
# Set the background to the dark mode background image
$ renpy.defaultbg = "your_dark_mode_background_image_filename.png"
label DisableDarkMode():
# Set the background to the light mode background image
$ renpy.defaultbg = "your_light_mode_background_image_filename.png"
I hope this works lol
If you need to make Dark Mode UI, you can put it into a new folder called "bg_dark" and then replace the code in the script.rpy or whatever file you added start to with the code here:
init:
# Set the default background to the light mode background image
$ renpy.defaultbg = "your_light_mode_background_image_filename.png"
label EnableDarkMode():
# Set the background to the dark mode background image
$ renpy.defaultbg = "bg_dark/your_dark_mode_background_image_filename.png"
label DisableDarkMode():
# Set the background to the light mode background image
$ renpy.defaultbg = "your_light_mode_background_image_filename.png"
Hey.
Just to give you an update this thread. I've spent the last week looking into the code and trying to get a 'dark mode' variant to work, however I've had no luck. I've been able to change the GUI and font colour/style. But I haven't been able to work out how to give the player the choice to change it themselves. I'll try looking into it more, yet I think this may be out of renpy's capability.
Sorry, I did try. :( (The only other option I can do, is have a set dark mode GUI in the game files, in a separate folder; and then have the player extract/rename and replace the original with these.)