Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Feature requests and bug reports
sprite sheet for animated particles request

newbees
Guest
Quote
2021-02-18 13:37:41

Is it possible to use a sprites sheet for animated particles like this?
🔎︎



srfstudio
Registered User
Quote
2021-02-18 15:17:28

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


just_in_case
Moderator
Quote
2021-02-18 15:37:03

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.


csp-games
Guest
Quote
2021-02-19 22:44:46

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.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internation?l" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact