User Tag List

Results 1 to 10 of 10

Thread: Making an object flash colors

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Making an object flash colors

    I need to make an active object flash different colors when triggered. I tried creating a second object that already is flashing, and then replacing the main object's colors at certain coordinates with the colors at the coordinates of the flashing object. Problem is, this slows the game down to a crawl, since it's constantly replacing colors. Is there a better way?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making an object flash colors

    If you're creating a hardware accelerated game you should simply use a pixel shader or modify the RGB coefficient.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making an object flash colors

    Those things are a little beyond my realm of knowledge, since it looks like it requires knowledge of XML or basic coding. If that's the only way to do it, then I probably won't be able to.

  4. #4
    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: Making an object flash colors

    There are lots of shaders already made, and you might find one to suit you needs.

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=postlist&Board=84&page=1

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

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making an object flash colors

    Quote Originally Posted by nivram
    There are lots of shaders already made, and you might find one to suit you needs.

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=postlist&Board=84&page=1

    Marv
    Ok thanks. Which one would you recommend for what I need? And how do you use it after installation?

  6. #6
    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: Making an object flash colors

    You unzip the shaders to the effects folder of the MMF installation directory. Start HWA and make a new application. Place an active into the frame. In the Frame Properties click on Effects. From here you can play around with the shader effects.

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

  7. #7
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2006
    Posts
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Making an object flash colors

    Quote Originally Posted by nivram
    You unzip the shaders to the effects folder of the MMF installation directory. Start HWA and make a new application. Place an active into the frame. In the Frame Properties click on Effects. From here you can play around with the shader effects.

    Marv
    It says I need to unzip the shaders to where MMF2 is installed. How do I get around that and install in the effects folder?

  8. #8
    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: Making an object flash colors

    The effects folder is a folder within which MMF2 is installed.

    If you can open your shader zip file, manually place the shader files into the effects folder.

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

  9. #9
    Clicker Fusion 2.5
    Warmachine's Avatar
    Join Date
    Nov 2009
    Location
    Charleston, WV
    Posts
    664
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Making an object flash colors

    You could also add duplicate frames of your flash to your animations. When i do it, for my "pain" animation, i have the normal frame then i have an exact copy for the second one, then i use paint shop pro to change the color to red and set the animation to loop. Works like a charm

  10. #10
    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: Making an object flash colors

    Just for fun look at my extreme flashing object example on my website. It is a police car at night.

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

Similar Threads

  1. Making transparent colors out of alpha channels
    By TehDonutKing in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th February 2013, 06:59 PM
  2. Platform Movement Object - Strange bug when replacing object colors
    By ratty in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 3rd February 2013, 01:48 AM
  3. Good and NON-performance-heavy way to make enemy flash in different colors?
    By Blue66 in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 14th July 2012, 05:05 AM
  4. SDK for making Flash extensions?
    By DTownTony in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 25th April 2012, 12:55 AM
  5. Making enemies flash when hit.
    By camelman in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 18th November 2008, 11:55 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
  •