2d-spriteshape-samples icon indicating copy to clipboard operation
2d-spriteshape-samples copied to clipboard

Sprite Variant (Formerly known as Sprite Index) does not work

Open Discipol opened this issue 5 years ago • 0 comments

Problem: I have made a simple SpriteShape example and randomly assigned points of variation 0 and 1. I am using some textures with blue for 0 and red for 1.

My entire SpriteShape is blue. Even when changing everything to 1 (which should make them red), they are still blue.

Switching the red (now 0) and blue (now 1) textures between them updates the SpriteShape accordingly (everything red as if everything is 0) even when everything is set to 1....

For some reason, changing only one of the points to 1 turns all of them to the end to 1. What is happening....

Expected behavior: Changing a Sprite Variation index would pick the texture at the specified index to render up untill the next point.

Discipol avatar Apr 24 '19 15:04 Discipol