Page 1 of 1

Freeing a Slice After Dissolve

Posted: Sat May 02, 2015 7:54 pm
by Soule X
I'm not quite sure what I'm missing here. I'm playing around with the dissolve feature because I have simulated dissolve effects in my game and this would be soooooo much easier.

However, when freeing the slice after the dissolve is finished I get a "slice is already deleted" error. It still frees the slice as intended, but the error is throwing me off. If I remove the free slice command the slice reappears after the dissolve.

Posted: Sun May 03, 2015 2:44 am
by Bob the Hamster
Can you post the scrip where the slice is freed?

Posted: Sun May 03, 2015 4:35 am
by Soule X
On further inspection I discovered the issue. I had an if statement to check if the sprite was dissolving and since it had already been freed it was producing the error.