[Feature Request] Allow setting a png as a custom particle
I know this might be hard but instead of providing a custom path, can't we just use a png asset as a particle? Creating a custom path, even a heart shape is difficult by coding. So, I really wished that we can use an SVG instead.
Other than that, this package is great. I am really thankful to you for bringing that up.
Note:
By the way, there is a tool made by RetroPortal Studio. Here is the link: https://fluttershapemaker.com It can convert SVG code or files into a custom shape code as a .dart file. However, it doesn't always produce the same look that we see in the source SVG file. Even if the result is good, there is a lot of manual work to do. (Copying the generated code to create a path returning function.) So, if you make tiny changes on the SVG file on the designer side or just want to use a different SVG file, you have to do the same process again.
Feel free to have a look at my package flim on how to render lots of image atlases. I've used the API canvas.drawAtlas to render lots of sprites effectively.
Feel free to have a look at my package flim on how to render lots of image atlases. I've used the API
canvas.drawAtlasto render lots of sprites effectively.
Hey @erf thanks for informing us! Of course, I will check it out but would you mind adding an example (not the code, just a video or an image) on your repo?
That way it would also become easier for people to understand what Flim does at first sight.
@yasinarik i could perhaps add a gif of some sprite animations, but you can easily run the example to see things in action