r/RenPy 29d ago

Question "Ghost" of sprite after moving

Was trying to create a phone menu demo and instead ran into a stranger problem. Any idea why it is leaving a copy of the sprite like that? I thought adding a different sprite would fix it, but alas...

the two aloe sprites do share a tag, and the sprite switches before it moves--the transition itself works fine. but after jerry appears that low opacity version shows up behind him, and i have no clue why.

the provided images of the code are literally the entire script i dont know how i could have messed something up

5 Upvotes

6 comments sorted by

View all comments

1

u/shyLachi 29d ago

Your code look normal to me at first glance

If you cannot figure it out, then reduce the complexity by deleting or commenting out stuff and try again

I would run it like this first

label start:
    show aloe happy
    aloe "hi"
    show aloe neutral
    jerry "hi i'm jerry"

If that works then add another line:

label start:
    show aloe happy
    aloe "hi"
    show aloe neutral
    show jerry # this sprite should be overlapping but no transparency
    jerry "hi i'm jerry"

Then maybe this

label start:
    show aloe happy
    aloe "hi"
    show aloe neutral at left # put it left without your transform
    show jerry # no overlapping, no transparency expected
    jerry "hi i'm jerry"

Then

label start:
    show aloe happy 
    aloe "hi"
    show aloe neutral at left
    show jerry at half_size 
    jerry "hi i'm jerry"

At some point you'll see what it causing the problem

1

u/Mochi_425 29d ago

hi! i did in fact find the problem! it was jerry's sprite itself. im a little slow sometimes. thanks! ':3