documentation indexreference manualfunction index

renpy.copy_images

Function: renpy.copy_images (old, new):

This renames images that begin with old such that they begin with new. old and new may be strings or tuples of strings.

init:
    image eileen happy = "eileen_happy.png"
    image eileen vhappy = "eileen_vhappy.png"
    $ renpy.copy_image("eileen", "evil_eileen")

label start:
    show evil_eileen happy

    "I didn't know eileen had an evil twin!"

documentation indexreference manualfunction index