The Daily Click ::. Forums ::. Klik Coding Help ::. Paste into background erase?
 

Post Reply  Post Oekaki 
 

Posted By Message

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
9th November, 2011 at 12:35:35 -


Is there a way to clear a region on the screen (not the whole screen) of all objects pasted into the background?



 
n/a

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48487

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
9th November, 2011 at 15:24:48 -

Assuming there's no parallaxing involved, and the background behind the pasted backdrop is simple, create another active object over the pasted background and paste as a non-obstacle?

 
n/a

Neil Butcher



Registered
  06/06/2010
Points
  133
14th November, 2011 at 01:00:42 -

Like this? For example, delete backdrop when clicking on it:

If Mouse clicked-
Delete created backdrops at XMouse, YMouse, 0(no fine detection)

The option to delete created backdrops is in the Frame events with things like scrolling, etc. If you wanted to clear a bigger range, then make a loop to delete all created backdrops at a position that changes during the loop to cover the whole range of backdrops you want deleted.



 
_____________________________________
UWC - http://www.ultimateworldcreator.x10.mx
MMF2 Examples - http://www.neilbutcher.ultimateworldcreator.x10.mx/examples_01.html

Chris Burrows



Registered
  14/09/2002
Points
  2396

GOTW WINNER OCT. 2011
14th November, 2011 at 01:58:13 -

Cheers Neil, that works great.

 
n/a

The Chris Street

Administrator
Unspeakably Lazy Admin

Registered
  14/05/2002
Points
  48487

Game of the Week WinnerClickzine StaffAcoders MemberKlikCast StarVIP MemberPicture Me This Round 35 Winner!Second GOTW AwardYou've Been Circy'd!Picture Me This Round 38 Winner!GOTM December Third Place!!
I am an April FoolKliktober Special Award Tag
14th November, 2011 at 19:24:04 -

I didn't know MMF2 had that feature... just found it in the Storyboard Controls

 
n/a

Neil Butcher



Registered
  06/06/2010
Points
  133
15th November, 2011 at 00:44:25 -

I just found it a few months ago, and It has been absolutely vital to me ever since. Glad to have helped.

 
_____________________________________
UWC - http://www.ultimateworldcreator.x10.mx
MMF2 Examples - http://www.neilbutcher.ultimateworldcreator.x10.mx/examples_01.html
   

Post Reply



 



Advertisement

Worth A Click