Is this a glitch with piskel and Gdevelop?

So I have been using Pyskel to make prototype art. Every time I duplicate an item and try and edit the new item it also changes the sprite I duplicated. Is that a glitch with Gdevelop or am I missing something?

Duplicating an object does not duplicate the art assets (by design). Most things in GDevelop will not touch local files unless you explicitly tell it to.

If you’re wanting unique art assets in the new object while using Piskel, you’ll need to do “save as” when editing the new object’s image, and ensure you choose a new file name. That should only impact the new object.

3 Likes

Oh alright. Thank you!

It actually happened to me when i duplicate scenes as well.

1 Like

That’s good to know too!

1 Like

Correct, that’s still duplicating the objects and such, so it would behave the same. No new assets would be created automatically.

2 Likes

Hello all!

What @zGameCreator and you say, can be very dangerous for the game because in the new scene created from the scene copied, you could be modify some assets to correspond for the new scene.

And boom! The origin scene could be not work anymore with its assets also modified.

It is good to know.

A+
Xierra

2 Likes

I wont lie, i did this B4 lol :sob: :laughing:

I didn’t know about it until i made a topic on it, and knew the truth…

1 Like

Hello @zGameCreator!

Me, the question which is in my mind, is: how copy a scene (with its assets) without create a problem when you’ll modify the assets copied?

A+
Xierra

2 Likes

Hello @Amigo54 !

TBH im not the expert, we could save all the assets like Silver said, and import it into the next scene.

but other wise im not really sure… :roll_eyes:

sorry for not being much help… :disappointed:

A+++++
Zgc

P.S.
just coz i did what amigo does this doesn’t mean im going to do it every time im too lazy lol.

2 Likes

I discovered that in the top left corner of the in built Piskel, that there is an option to Overwrite and New. If you duplicate the object, then you have to select New. May have been obvious to some, but not to me :sweat_smile:

2 Likes

not for me as well, thanks for sharing!

1 Like

Hi @Tomahaukur!

It’s worth a try.

A+
Xierra

1 Like

I tested it.

It’s works but just a precision which is important:

When you are in Piskel with, saying, a sprite to clone for modification

  • first: use “duplicate” for copy your sprite then click on the duplicated sprite
  • second: select “New” at the left and at the top of the border
  • third: you can now modify your duplicated sprite without problem.

The modifications put in the second sprite will be not echoed in the origin sprite.

It’s a good trick @Tomahaukur, effectively.

Thanks.

A+
Xierra

1 Like