[SOLVED]Having difficulties with object.MergeIntoBackground() function

Started by Ibispi, Sun 02/02/2014 12:34:32

Previous topic - Next topic

Ibispi

Code: ags

//I'm trying to do:
oSnow.MergeIntoBackground();
/*,where oSnow is an object I want to merge into the background.
I have a problem though;
Since the background is animating, the object is merged only into a one of four backgrounds that exist in the room.
I'd like to merge it into all four of those backgrounds, but I don't know how.
Help! */

Khris

Just do this instead:
Code: ags
  oSnow.Clickable = false;
  oSnow.Baseline = 1; // display behind everything else


This should be a sufficient workaround, drawing it onto all background frames is possible but convoluted.

Ibispi

I had no idea that ".Clickable" function existed, and that is what I was looking for! 8-0
Thank you Khris, you rock! :smiley: :cool:

SMF spam blocked by CleanTalk