Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Bug:

If LayeredImage is defined with spaces, the code doesn't trigger.

Suggested fix:

-> I uploaded all these changes to pastebin, if you prefer: https://pastebin.com/fBpRBPaR

After

init python in director:

Create:

    def get_registered_image():
        import itertools
        reg = state.tag and renpy.get_registered_image(state.tag)
        if state.tag and reg is None:
            for attr_choice in itertools.product(state.attributes):
                reg = renpy.get_registered_image(' '.join((state.tag,) + attr_choice))
                if reg is not None:
                    return reg

In:

def get_ordered_layeredimage_attributes():

Assign:

reg = get_registered_image()

Replace both for with:

for group_att in reg.attributes:

At:

if isinstance(renpy.get_registered_image(state.tag), LayeredImage):

Replace with:

        if isinstance(director.get_registered_image(), LayeredImage):

Thank you for the attention