Suggestion: mergeintobackground(#)

Started by , Mon 05/06/2006 08:28:12

Previous topic - Next topic

trins

I merged object 1 to background frame 0 and object 2 to th next frame but the merge into the same one. My work around is to rawdraw object 2 on the frame I want everytime the room loads.

SSH

Merge into background just does a rawdraw, so what's the problem?
12

trins

My room animations are created from big dynamic sprites for each background frame. I give an object a sprite, setbackgound frame and merge it. After I'm done all frames I let the room aninmate. No problem yet. The background is cycling what was each different sprite. Now if I change room and return, and all the images are on the first frame and the other frames are back to empty. Is that normal?

SSH

Do you actually have multiple background frames set in that room? SetBackgroundFrame will only work if there is more than one frame in the room, otherwise it will just stay in the default frame.

Or it may be that the room state doesnt save the other frames.
12

trins

i have multible frames. Il check tomorrow if its a scroling room problem.

Wretched

I don't think AGS stores mergedintobackground data, between room calls, also worthy of note is it doesn't store it in save games either. As far as I know that is.

SMF spam blocked by CleanTalk