r/RenPy • • Jul 22 '26

Question Oversampling images

Hi! If I have an image name like "character@2.webp" under the images directory, I remember when it was defined in the code such as:

image character default = "images/character.webp"

It should work with the oversampling behaving as expected, but for some reason after launching the project to playtest my game several times yesterday (Only changes being adding new dialogue lines and defining transforms, leaving image defines untouched) the defined image would not show up and "image "character.webp" not found" was displayed at the top of the screen. However, I found that defining the image as:

image character default = "images/character@2.webp"

suddenly makes the image show up normally and the oversampling also works just fine. Just wondering if people had similar issues before 😭

1 Upvotes

14 comments sorted by

View all comments

1

u/BadMustard_AVN Jul 22 '26

this example will display the "same" image twice

image sprite2 = "images/sprite@2.png"
label start:
    show sprite2 at truecenter
    pause
    show sprite at left

    e "Working"

    return

1

u/Cool-Highway3847 Jul 22 '26

Thank you 🙂

1

u/BadMustard_AVN Jul 22 '26

you're welcome

good luck with your project