Sprite snapshot copy in animation index

Does anyone have an idea how I can use the sprite snapshot extension to copy the copied image to a specific animation index?

Change animation index, copy image, change index to previous.

Ah, ok. Thanks, i try this.

Would it be possible for it to work for global objects too?
Like LoadImageFromURL and your UploadDownloadImageFile do.

I mean, why would not it be possible?

Edit:
Ohh “replace base texture” is not a thing in the sprite snapshot extension, right? You should be able to workaround it converting to base64 and back to the object.

I added a new feature in my extension “Extract base64”, it will extract the base64 of the image of any object so you can store it or read it

(The new download is down there somewhere) New extension: UploadDownloadImageFile by github-actions[bot] · Pull Request #1131 · GDevelopApp/GDevelop-extensions · GitHub

1 Like

Right.

Okay thank you.

1 Like

I stumbled over this post in my search for a solution to my post in December which has so far not had any replies.
What you are saying here seems to be a possible solution I am looking for (or maybe at least part of it). How would you actually do this in GDevelop code-wise? Forgive me, I’m not that level advanced where I can transform what you are saying into actual GDevelop speak. Would you mind showing me how you would solve this? Thanks very much in advance.

Doesn’t work exactly… copying the image to a specific animation works temporarily but if you change the animation to another and then back, it reverts to pre-copy state