Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runtime raster images replacement? #63

Open
zhangjunmax opened this issue Mar 29, 2019 · 2 comments
Open

Runtime raster images replacement? #63

zhangjunmax opened this issue Mar 29, 2019 · 2 comments

Comments

@zhangjunmax
Copy link

zhangjunmax commented Mar 29, 2019

Is Flare-Flutter support runtime raster images replacement(from remote server)?

From Spine Software "Skins allow switching between sets of attachments. They provide organization for attachments and enable animations that change attachments to be reused for different characters."
features-skins

@luigi-rosso
Copy link
Contributor

We support swapping visible elements in Flare so you can effectively do this with a well set-up Flare file. Swapping the entire texture atlas is possible at runtime but it requires a little bit of fiddling with the Flutter code, we don't have a nice and easy "swapAllTextures" call.

@lengguangwei
Copy link

We support swapping visible elements in Flare so you can effectively do this with a well set-up Flare file. Swapping the entire texture atlas is possible at runtime but it requires a little bit of fiddling with the Flutter code, we don't have a nice and easy "swapAllTextures" call.

Hi Luigi Rosso
I also want to replace an image node by the remote png file dynamically
Can you share the sample code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants