User Tag List

Results 1 to 8 of 8

Thread: Sort of a flashlight effect

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,297
    Mentioned
    27 Post(s)
    Tagged
    0 Thread(s)

    Sort of a flashlight effect

    I am trying to make a level that is covered in silhouette but the silhouette can be removed when another object (beam of light) passes over it. I only want to expose the true colors of the silhouetted level where they overlap the beam of light. I was thinking of having a color version of the level and an overlaid object that darkens everything to silhouette. Then find a way to erase the silhouette object with the beam of light.

    Can anyone recommend what extension I could use for this? Or how I might go about doing this?

    Cheers,

    Mobichan

  2. #2
    No Products Registered

    Join Date
    Apr 2011
    Location
    Minnesota
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sort of a flashlight effect

    I'm bumping this, because I'm having basicaly the same issue. Can anyone help us?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    turtle's Avatar
    Join Date
    Jun 2010
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sort of a flashlight effect

    I am not sure if this is what you want...

    View MFA

    Hope it helps...
    I am sure there are other better ways to do it

  4. #4
    No Products Registered

    Join Date
    Apr 2011
    Location
    Minnesota
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sort of a flashlight effect

    That's pretty much it, but now I have to ask how you made that circle of light. I couldn't duplicate it in the editor.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    turtle's Avatar
    Join Date
    Jun 2010
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sort of a flashlight effect

    Sorry it wasn't done in the editor.

    I use GIMP (drawing freeware) to make a circle selection, invert the selection so that it selects the opposite of the circle. Then fill the area with black and set the trasparency level to it so the middle is actually nothing while the sides are transparent black.

    I have to make the image twice the size of the width and height of the screen size so that it doesn't show when moving it around.

    I save it as PNG format and import is as an active object in MMF2. That's how I retain the transparency information.

    Alternatively :

    If you are new to GIMP, you can create a 'New File' in GIMP.
    Set the width and height to twice the MMF project screen size
    Under the 'Advanced Option' -> Fill With -> Choose 'Transparency' -> 'OK'
    You will have a transparent image.
    Look for the 'Toolbox' on the left -> Click 'Bucket Fill Tool' -> Click on the transparent image.
    The image will now be filled with total black.
    Now under 'Toolbox' select the 'Ellipse Selection Tool' or Press 'E'. Now make a circle on the center of the black image (Hold down 'Left Shift' for a perfect circle). Once you have selected your circle, hit the 'Delete' button or 'Edit' -> 'Cut'. You will now have a black image with a cut out circle on the middle

    Now to make it transparent...
    Look to the 'Layers, Channels, Path...' on the right -> Opacity
    Just drag the Opacity slider and set the transparency level you want

    Once done save it.
    'File' -> 'Save As' -> 'Select File Type' = 'PNG Image' -> Save it and you are done

    Just import is as an active object in MMF for it to work.

    Hope this helps.

  6. #6
    No Products Registered

    Join Date
    Apr 2011
    Location
    Minnesota
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sort of a flashlight effect

    Sweet! I'm actually pretty skilled in GIMP myself! I assume you can toggle the light on and off by simply making a separate art for the light?

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    turtle's Avatar
    Join Date
    Jun 2010
    Posts
    205
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sort of a flashlight effect

    Yup... and put them as different frames in an animation. Toogle them when needed

  8. #8
    No Products Registered

    Join Date
    Aug 2010
    Posts
    343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Sort of a flashlight effect

    Thanks a lot turtle. I have been looking for a way to do this for a while.

    I will have a go reproducing your instructions - that's the test.

Similar Threads

  1. Flashlight effect in Flash
    By Sumo in forum SWF/Flash Export Module Version 2.0
    Replies: 8
    Last Post: 5th February 2012, 10:42 PM
  2. Very Simple Flashlight Effect
    By LB in forum File Archive
    Replies: 2
    Last Post: 5th September 2010, 03:40 AM
  3. Darkness and Flashlight Effect
    By Sumo in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 7th February 2010, 10:54 PM
  4. Flashlight effect
    By MTCMusic in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 29th February 2008, 03:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •