User Tag List

Results 1 to 6 of 6

Thread: How can I get an active object to stop flashing

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jun 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can I get an active object to stop flashing

    Hi there everyone! This is my first post (not that it's really that important)

    So I've been working recently on a little platformer and I have most of the general basics done, but I recently came across an issue.

    As you may know, in most platform games, when the player's character touches an enemy and take damage they start to flash (becoming visible and invisible). I had found out how to make the active object (the player character) flash like I wanted, but I can't seem to get the flashing to stop. What I'm asking for is if anyone can help me stop the object from flashing.

    Sorry if it may sound a little confusing, but any assistance would be a tremendous help. Thanks in advance

  2. #2
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The big question is: How did you get it to flash? That might better assist us to help you get it to stop.

  3. #3
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jun 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, here's how I got it to flash:

    In the event editor for the frame this takes place in, when the player character (Active Object) collides with the enemy object I set it to
    Visibility>Flash Object> Flash for 00" -10

    That's how the object is flashing, when an event is met it Flashes for 1/10 of a second

  4. #4
    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,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)
    Try using the "Make Object Reappear" action (in the same menu you found the "Flash" action).

  5. #5
    Clicker Fusion 2.5 (Steam)

    Join Date
    Jun 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok I just tried that and it did fix the problem, but at the same time didn't help me achieve what I was trying to with the flashing
    Currently when the object is supposed to flash, it doesn't flash at all
    This could be due to where I put the "Make Object Reappear" in the event editor (I put it in the same grid space as where the flash for 1/10 of a second was put in, so it may have nullified the flash entirely)

    Is there a correct placement for this?

    To help clarify a little more, what I'm trying to achieve is that when the object collides with another, it should flash for a few seconds and then stop flashing (When the player character touches the enemy, it flashes for a few seconds then returns back to normal)

  6. #6
    Clicker Fusion 2.5

    Join Date
    Jun 2015
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make a hit cooldown time using a counter. When the player is attacked, set the counter to the amount of ticks (seconds*60) you want it to be flashing for. If the counter is greater than 0, subtract 1 from the counter. When the counter reaches 0, make the object reappear.

Similar Threads

  1. Replies: 4
    Last Post: 14th April 2014, 10:47 AM
  2. Stop active when collides to another object in drag and drop mode
    By paobrasil in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 25th June 2012, 07:54 PM
  3. Flashing Object Help!
    By chicken21200 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 16th November 2010, 01:11 AM
  4. Flashing Object
    By walterbarrett in forum The Games Factory 2 - Technical Support
    Replies: 8
    Last Post: 31st July 2008, 12:58 PM
  5. flashing active object
    By delusan in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 2nd August 2007, 05:33 PM

Tags for this Thread

Posting Permissions

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