the best way to do this would be to change the tile, not use like 50 sprites.
You can also delay this to make the tile update midway or after the animation of the juice falling. It’ll make the 2 events feel more seamless and like the juice actually did fall on the tile.
As a rule of thumb, try to use as few sprites as possible because they are very laggy.
Let me clarify. First one pixel was not intended, but it was the only way I could get the juice to have different lengths. So 16 pixels for each tile covers in juice. Second I tried to use the to bottom of sprite location but images work differently when it comes To tile map location. third If I made a custom tile, like the example I would have to make the game ask what floor tile is beneath the character and there are tons of different ones. Then the juice would all look the same. That’s why I wanted to use images to make a Unique stain on the tile every time.
What I need:
A less laggy solution to making the juice have different lengths. Preferably one sprite.
II need a different unique stain on the tile.
It should cover different tile around it too.
You don’t have to do the coding, I just need a solution for these problems.