Android Question Fireworks Animation

Pete_S

Member
Licensed User
Has anyone developed any visual effects similar to the attached gifs? The attached gifs have solid backgrounds, I would be interested in having transparent backgrounds instead.

So far I see this only:
https://www.b4x.com/android/forum/threads/b4x-xui-simple-halo-animation.80267/

I think this kind of animation would be useful for highlighting certain parts of the screen in a fun way. Maybe to notify the user of an interface change for example.

If this hasn't already been created, what method could I use to create it myself? Would I use an ImageView with an animated gif with transparent background for example? Or would I use an animation library?
 

Attachments

  • firework1.gif
    firework1.gif
    148.7 KB · Views: 188
  • firework2.gif
    firework2.gif
    135.3 KB · Views: 424

Erel

Administrator
Staff member
Licensed User
Or would I use an animation library?
No.

Would I use an ImageView with an animated gif with transparent background for example?
Probably no.

If this hasn't already been created, what method could I use to create it myself?
B4XCanvas with a loop and a call to Sleep inside the loop.

Relevant examples:

https://www.b4x.com/android/forum/t...ingindicator-loading-indicator.92243/#content

b4xloadingindicator-gif.67048


https://www.b4x.com/android/forum/threads/87877/#content

AnimatedArrow.gif
 
Upvote 0
Top