User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 27

Thread: Fog of War/Illuminate Dark Area

  1. #1
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Fog of War/Illuminate Dark Area

    Mmk soo lets say that i have a frame that is comepletely black (i.e dark).

    How would I make it so that a "circle of light" appears around an object/mouse and everything within this circle of light is no longer hidden under the darkness (aka black)

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module

    Join Date
    Jul 2006
    Location
    S.East England
    Posts
    744
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fog of War/Illuminate Dark Area

    I have done something similar . Basically I made a large black active object . Make it so it would take up the entire visable play area ( doesn't need to be the whole frame. Then make a transparent hole in the center . Then just have it always center around your mouse/active. This just allows you to see inside the "hole".

    You could always center another object in the center with transparency too for some kind of effect .

    Might be a better way bit worked for me.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Fog of War/Illuminate Dark Area

    Mmk thanks Redsquirrel. It works!

    I may have another question, but i'll work on it before i ask.

    Ok here is my new Question:

    Let's say i have 5 different areas. Areas that have been unlocked, they can see without blackness. In the locked areas, Let's say one an locked area i want to bring their attention to something about the area. This area (which is shrouded in blackness) needs to have a "window to see through" which could be what you suggested above. However I do not want this darnkess to be in the unlocked area.

    Follow along so far?

    So essentially my question is this:
    I want to use your way, however i only want to do it in certain sections of the map. How do i acheive this while still having light in some areas of the map? I may be everthing this too much but i can't quite wrap my head around it yet.

  4. #4
    No Products Registered

    Join Date
    Mar 2007
    Location
    Sydney, Australia
    Posts
    1,369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fog of War/Illuminate Dark Area

    I woudlnt use the active object approach, that will need a big image for large resolutions and you can create much nicer effects using HWA effects.
    I dont play with them much but there are examples floating which creates much nicer and smoother blends (I think its the AND effect)

  5. #5
    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: Fog of War/Illuminate Dark Area

    There's actually an example iirc

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fog of War/Illuminate Dark Area

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=194709#Post1947 09
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Posts
    1,305
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)

    Re: Fog of War/Illuminate Dark Area

    I think that's overkill for what he wants, and its still too slow to use in an actual game.

    HWA and the "Subtract" effect are the way to go (don't use additive/semi-transparency effects, or the big-black-active-with-a-hole method).

    A couple of examples:

    http://cid-b1e7ee094271bbda.office.live.com/self.aspx/Public/LightsEg.mfa

    http://cid-b1e7ee094271bbda.office.live.com/self.aspx/Public/fow.mfa

  8. #8
    Clicker

    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,729
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Fog of War/Illuminate Dark Area

    MuddyMole. I would like to see the fow example as a scrolling example.

    Thanks

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

  9. #9
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleXNA Export Module
    ProdigyX's Avatar
    Join Date
    Jan 2011
    Posts
    1,197
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Fog of War/Illuminate Dark Area

    I don't see any code for MuddyMoles, but it's the exact thing i want. How does the LightsEg. work? I see that the transparency effect is all in the image. However i painted the image purple and it sees the image as if its in a green filter. Is it all in the image? Also which part of the frame is needed to be in HWA?

  10. #10
    Clicker

    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,729
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Fog of War/Illuminate Dark Area

    Never mind MuddyMole...I got it.

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

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Dark Environment
    By NK0 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th April 2012, 01:30 PM
  2. Light in a dark room
    By falkon in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 21st November 2007, 05:53 AM

Posting Permissions

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