User Tag List

Results 1 to 6 of 6

Thread: See under the trees

  1. #1
    No Products Registered

    Join Date
    Aug 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    See under the trees

    Hi, I want to create a forest which is hidden by the leaves before you enter it, and when you are inside, a circle around you enables you to see under the leaves. Here is exactly what I'm trying to do: http://2.bp.blogspot.com/_Xw6HR3aAZH8/Ra86mR4zvoI/AAAAAAAAAN4/fhCw51rmDNA/s320/tiny%2Bforest2.JPG

    I thought I could use layers to do it, but I can't make anything nice. Thanks for any help!

  2. #2
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: See under the trees

    You can do something with layers and PixelShaders.

  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Apr 2008
    Location
    California
    Posts
    357
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: See under the trees

    Make the stump or bark of the tree one active object...leaves another then do this.

    If player collides with leaves>make leaves invisible or change the ink effect transparency.
    If player isn't (not) colliding with leaves>make leaves visible or change ink effect transparency to 100%

  4. #4
    No Products Registered

    Join Date
    Aug 2009
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: See under the trees

    That would work if I did too many active objects of 1x1 pixels for the leaves, but I don't want all the leaves to dissapear, just some part around the the player.

    Maybe I could make 4x4 pixels leaves objects, and then depending on the range from the player, change the transparency proportionally, so that a it creates a transparent gradient from where the player is to the other leaves that still hide what's under them.

    What I would want is something that when two active objects (the leaves and a circle) are overlapping, then the leaves object gets erased exactly, pixel for pixel, where they are overlapping. But I've never heard of anything like that in MMF, so that's why I'm asking.

    As for the layers and the PixelShaders, hum... what are pixel shaders? well, what are they in MMF? I can't find any extension, just a topic with some examples...

    Thanks a lot for trying to help!

  5. #5
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: See under the trees

    Hi. Pixel Shaders are used in the HWA verion of MMF2. Download the HWA version and then download the Shaders.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    RickyRombo's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere between here and there
    Posts
    3,167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: See under the trees

    Try using the "Hole" effect

Similar Threads

  1. Growing Trees
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 9th June 2013, 07:48 PM
  2. Lots of interactive Trees
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th July 2011, 06:19 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
  •