Bug on MergeIntoBackground

Started by tiagocorreia, Fri 07/07/2006 14:24:51

Previous topic - Next topic

tiagocorreia

In my game, I thought that this bug imght appear, and it did.

When I've animated backgrounds, and I use the MergeIntoBackground to add objects to the background, it doesn't add to all the images from the background animation, making the objects flick.

Can this be solved? I guess it can be easilly fixed.
I'm using v2.72

SSH

Just RawDraw the appropriate sprite on to each background frame
12

tiagocorreia

ok, that is a solution, but still, I think this is a bug, and not a feature.

But I do understand, that in some cases, we might just want to draw in one frame of the background, but in that case then the RawDraw should be used.

Kweepa

Yes indeed.
MergeIntoBackground saves the state into the room permanently (in save games etc), whereas you'd have to jump through hoops to get this functionality with the RawDraw hack.
Still waiting for Purity of the Surf II

Pumaman

This is by design, it isn't supposed to write to all backgrounds; though perhaps it should have an option to do so.

Kweepa

I think it would have made more sense to have an option to not do so.
Unfortunately that conflicts with forwards compatibility of code...
Still waiting for Purity of the Surf II


SMF spam blocked by CleanTalk