Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Is it possible to use a sprites sheet for animated particles like this? |
||||
|
It's not possible with the default CC set of tools but I'm not sure if someone created a plugin. You can cut it quickly online, I sometimes use this site, it has multiple options for cutting, doesn't create errors & it's free: https://ezgif.com/sprite-cutter |
||||
|
as @srfstudio has said you need to cut it into separate .png files you can the ezgif website metnioned by him and then can easily animate the particles using the built in behavior animate a texture and then can add all the frames one by one to complete the animation. hope that helps. |
||||
|
It is also possible using a shader. You then update the texture coords the fragment shader is taking the texels from. the range is 0.0 to 1.0, which you would simply divide /4, and add an animation-specific bias, like tx/4 + 0.75, ty/4 +0.5 would be the last frame in the third row of 4x4 sprite sheet. see my shader example in showcase, it's also messing around with tex coords. |
|