Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I’ve analyzed why the game is crashing. There was a syntax error in the previous code snippet, and applying the shader in two different places simultaneously can cause conflicts. Here is the direct fix:

1. Correct the code in screens.rpy

Open your "screens.rpy" file and locate the "screen say(who, what):" section. Find the line for the Side Image and replace that block with this exact code:

if side_image:
    add side_image at outline_white_thick:
        xalign 0.0
        yalign 1.0

Applying it directly in the screen is much more efficient as it handles all your MC's expressions at once.

2. Clean up your image definitions

You must remove any "at outline_white_thick" or similar transforms from your individual image definitions (like "image side saki..."). If you apply the shader in the image definition AND in the screen at the same time, the game will crash or have performance issues.

3. Padding Reminder

If the outline looks cut off, ensure your PNG files have at least 15 pixels of empty transparency around the edges. If the character's hair or clothes touch the edge of the image, the shader won't have space to draw the outline.

This should solve the crash and get the shader working perfectly. 

Did it work?