[SOLVED] Displaying image in save slots based on file name?
Posted: Sat Dec 24, 2016 3:34 am
Hi all! So I have a game with multiple routes, and when the player enters the route I change the name like this:
My question is: how do I display an image on the save/load slot based on the route the player is in? I want to show an image of the route character's face next to the thumbnail.
For reference, this is what my save slot code looks like:
Thanks!
Code: Select all
$ save_name = "Jun Route"For reference, this is what my save slot code looks like:
Code: Select all
screen load_save_slot:
# %s is filename in slot, %B i smonth, %
$ file_text = "%2s. %s \n %s" % (
FileSlotName(number, 4),
FileTime(number, format='%B %d, %Y \n (%I:%M%p)', empty=_("Empty Slot")),
FileSaveName(number))
add FileScreenshot(number) xpos 0 ypos 37
text file_text xmaximum 260 ymaximum 300 xpos 15 ypos 200 size 20 color "#000000" outlines [ (0, "#000000") ] font "OsakaMono.ttf"