anywhere(only tested in screens.rpy though):
Code: Select all
init python:
mytheme= "normal"
Code: Select all
$mytheme ="activated"
Code: Select all
if mytheme =="activated":
(new code here)
else:
(old code here)
Code: Select all
(old code here)
if mytheme =="activated":
(new code here)
Code: Select all
## Main and Game Menus #########################################################
## The images used for the main and game menus.
if mytheme =="activated":
define gui.main_menu_background = "gui/newimage.jpg"
define gui.game_menu_background = "gui/newimage.jpg"
else:
define gui.main_menu_background = "gui/oldimage.jpg"
define gui.game_menu_background = "gui/oldimage.jpg"
Code: Select all
################################################################################
## GUI Configuration Variables
################################################################################
## Colors ######################################################################
##
## The colors of text in the interface.
## An accent color used throughout the interface to label and highlight text.
define gui.accent_color = u'#a28351'
if mytheme =="activated":
define gui.accent_color = u'#89de00'
-JB
Building The Life Game at https://thelifega.me. An android and ios app focused on helping the user make life decisions.