Problem Description
UV coordinates (vTex uniform) give wrong results after having more than one animation (or animation frame) after exporting.
Attach a Capx
Effect: https://drive.google.com/file/d/1QFi5be ... sp=sharing
Capx: https://drive.google.com/open?id=1bhfsO ... NqGj4bZW0I
Description of Capx
Result of what can be seen is different before and after preview.
Steps to Reproduce Bug
Make 2 sprite objects in the project.
Make it so one has 2 single-frame animations and the second has 1, fill them all with solid color
Add the same effect with the same parameters (effect must use UV coordinates. I have used mine shader that is released on scirra store. I could send it through pm if it's needed)
Export the game
Observed Result
The object with more animations is disorted and gives completely different result as it gave in preview.
Affected Browsers
Operating System and Service Pack
W10 with newest updates
Construct 2 Version ID
r250
Here are screenshots:
How it looks like in preview (and should after export):
How it looks like after exporting:
My assumption is that the exported project uses spritesheet's UV coordinates, and spritesheeting happens after export.
To prove it even further, here's the spritesheet the first object uses with shader applied to it.
It looks like the same "cuts" that were apparent in the previous image.