- Edited
Hi!
I'm running into an issue where my AnimatedSprites show up fine the first time I launch my game.
When the round ends, it goes back to the main menu. When I click play again, the sprites look blurry this time around!
I've determined the ff:
- The ones that get blurred are small (48x48 per frame). They are scaled up. However, even if I don't scale them up, they seem to still be blurred the 2nd time around.
- Conversely, the ones that appear fine are big (1024x1024). These are placeholder images (no animation) that I haven't replaced yet.
- I've already tried re-importing the assets without filtering (as described here: https://ask.godotengine.org/77388/pixel-art-is-blurry-when-i-play-a-scene)
- When I create a new instance of the Game Scene, for each randomly spawned creature, I set its frame randomly in the _ready() function like this:
self.frame = rng.randi_range(0, self.frames.get_frame_count("default"))
to try and trigger some refresh, but no luck.
Anybody know what could be wrong? Thanks!