Posted By
Message
Solgryn Solgryn dot orgRegistered 20/12/2008
Points 12572
21st November, 2009 at 00:03:14 -
Hey, i was wondering if you could cut out an active with another.
For example, I want a screen transition.
I have 2 actives. One is a circle, the other is a black square.
The circle cuts out the black square while the circle gets smaller and smaller and eventually gets so small that the whole screen is black.
If you get what I mean :/
Thanks
www.Solgryn.org
nim Registered 17/05/2002
Points 7234
21st November, 2009 at 04:25:43 -
Since MMF treats RGB(0,0,0) as transparent rather than black, you can do this with the Overlay Redux object.
Always
-- Clear Overlay with RGB(1,1,1)
-- Draw Ellipse with RGB(0,0,0)
-- Update Display
You can add values to the drawing of the ellipse to make it shrink or appear in a different position.
http://lowflyingcow.googlepages.com/overlaycutout.mfa
Hope this helps
//
UrbanMonk BRING BACK MITCHRegistered 07/07/2008
Points 49667
21st November, 2009 at 04:33:36 -
There really does need to be an erase ink effect that erases the objects on its layer.
That would be nifty for sure! Yep!
n/a
nim Registered 17/05/2002
Points 7234
21st November, 2009 at 04:35:26 -
Originally Posted by Solgryn Hey, i was wondering if you could cut out an active with another.
I don't think there's a way to do it with actives, if for some reason you need to do it that way. Hopefully someone here knows a sneaky way of using XOR, OR or AND to make it happen. I've no idea what those do apart from make everything under the object look funny. I think it might be possible if you can combine ink effects to make both objects RGB(0,0,0) when they overlap. Edited by nim
//
Solgryn Solgryn dot orgRegistered 20/12/2008
Points 12572
21st November, 2009 at 09:44:34 -
Originally Posted by nim Since MMF treats RGB(0,0,0) as transparent rather than black, you can do this with the Overlay Redux object.
Always
-- Clear Overlay with RGB(1,1,1)
-- Draw Ellipse with RGB(0,0,0)
-- Update Display
You can add values to the drawing of the ellipse to make it shrink or appear in a different position.
http://lowflyingcow.googlepages.com/overlaycutout.mfa
Hope this helps
Yea thanks this works =D.
But I have multiple layers and it doesn't cooperate with layers, I can only out it in the lowest layer and then it only covers the background :/ Edited by Solgryn
www.Solgryn.org
UrbanMonk BRING BACK MITCHRegistered 07/07/2008
Points 49667
21st November, 2009 at 21:22:29 -
Try to position it at (1,1) instead of (0,0) I heard it doesn't like that position for some reason.
If that doesn't work then try changing it's layer at runtime.
Also I think you'll need to use the active overlay redux for what you want.
n/a
Solgryn Solgryn dot orgRegistered 20/12/2008
Points 12572
21st November, 2009 at 22:28:47 -
Originally Posted by Urban Monk Try to position it at (1,1) instead of (0,0) I heard it doesn't like that position for some reason.
If that doesn't work then try changing it's layer at runtime.
Also I think you'll need to use the active overlay redux for what you want.
I tried using active overlay and it worked =D, thanks a million
www.Solgryn.org
UrbanMonk BRING BACK MITCHRegistered 07/07/2008
Points 49667
21st November, 2009 at 22:34:52 -
n/a