I tried to put a image in the text-choice
Code: Select all
dp_period("Aft", "afternoon_act")
dp_choice("{image=heart.png}", "study")
dp_choice("Hang Out\n", "hang")
I want the image shows when is selected or not
Code: Select all
dp_period("Aft", "afternoon_act")
dp_choice("{image=heart.png}", "study")
dp_choice("Hang Out\n", "hang")
Code: Select all
textbutton name action SetField(store, this_period.var, curr_val)
Code: Select all
$ button_name = name + "-%s.png"
imagebutton auto button_name action SetField(store, this_period.var, curr_val)
Code: Select all
style window:
background "#00a6"
Code: Select all
# Window style for the DSE
style dse_window:
background "#00a6"
Code: Select all
screen day_planner(periods):
# indicate to Ren'Py engine that this is a choice point
$ renpy.choice_for_skipping()
window:
use display_stats(True, True, True, True)
use display_planner(periods)
Code: Select all
screen day_planner(periods):
# indicate to Ren'Py engine that this is a choice point
$ renpy.choice_for_skipping()
window:
style "dse_window"
use display_stats(True, True, True, True)
use display_planner(periods)
Code: Select all
dp_choice("{image=heart.png} ✓", "study")
Users browsing this forum: No registered users