User Tag List

Results 1 to 4 of 4

Thread: optimal way to have an object "flash" ?

  1. #1
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Shmuper's Avatar
    Join Date
    Mar 2010
    Location
    Japan
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    optimal way to have an object "flash" ?

    Hey there. I am trying to get stronger enemies to flash when hit in my game. and I don't know what it the best way to do this in mmf2. I can duplicate all the sprites and color them blue but that would be the heaviest way to do it. I'm just wondering if there is not a simple color effect that could be added for a very short period of time. Thanks

  2. #2
    No Products Registered

    Join Date
    Jun 2007
    Posts
    323
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: optimal way to have an object "flash" ?

    If you're using HWA you can use effects such as color mask. Could do something like

    +Enemy is hit
    -Set effect to _
    -Set effect paramater _
    -Set Value "Flash Timer" to _

    +Flash Timer is greater than 0
    -Subtract 1 from Flash Timer

    +Flash Timer equals 0
    -Set effect to none

    Where "Flash Timer" is how long you want the object's effect to last, obviously.

    Off the top of my head..There are probably more efficient methods.


  3. #3
    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: optimal way to have an object "flash" ?

    Hi Shmuper. I have two examples on my website. One has the character flashing when hit and getting kicked back. The other has the character changing colors, flashing, and getting kicked back. Maybe you can adapt one of those examples.

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

  4. #4
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Shmuper's Avatar
    Join Date
    Mar 2010
    Location
    Japan
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: optimal way to have an object "flash" ?

    Awesome. Thanks

Similar Threads

  1. "Flash / INI object: now loads INI files stored as binary files in the application."
    By EdibleWare in forum SWF/Flash Export Module Version 2.0
    Replies: 5
    Last Post: 2nd July 2014, 10:22 AM
  2. "Load text file" from "The Edit Object" BUG?
    By MOBii in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th December 2013, 05:43 AM
  3. Flash url object only opens "clickteam.com"
    By SoftWarewolf in forum SWF/Flash Export Module Version 2.0
    Replies: 9
    Last Post: 17th February 2013, 06:36 AM
  4. Issues with "Clickteam Movement Controller" and "Runtime" Object
    By jimmyorpheus in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 29th November 2011, 07:10 AM
  5. Local Shared Object ("Flash Cookie") path
    By WMroczek in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 29th September 2010, 10:26 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
  •