I have a puzzle pieces that are duplicated. I want that each of the pieces have their own attributes, I define some instances variables for the sprites, but all the pieces have the same values and if I change to one of them all are changed. I read about the instances variables belong to each object.
Maybe I can use one sprite for each piece but I don't know how affect it to performance.
What I'm doing wrong?