User Tag List

Results 1 to 2 of 2

Thread: How to make transparent shadows disappear with an object?

  1. #1
    Clicker Fusion 2.5 (Steam)

    Join Date
    Dec 2018
    0 Post(s)
    0 Thread(s)

    How to make transparent shadows disappear with an object?

    I have transparent shadows that are created at the start of the frame relative to an object, if the shadows overlap, one of them is destroyed to prevent them from overlapping. I've tried to always set the position of the shadows relative to the object and to move the object so out of frame both the shadow and the object are destroyed, but it triggers the overlap causing some shadows that I don't want to be destroyed to get destroyed. Is there any better way to do this? I'd rather not make a a diferent shadow for each backdrop so I'd like to use transparency instead.

    Help with Shadows.mfa

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleMac Export Module
    dsilvers's Avatar
    Join Date
    Jun 2008
    Boston, MA
    12 Post(s)
    0 Thread(s)
    You'll have to scope the shadows in some way so that specific ones can get destroyed when they need to be. The simplest solution would be to use active objects instead of backdrops, give the active an alterable value that'll act like a label number, and give its shadow an identical label value. Then, when two shadows overlap, only destroy the one that has a different label value than the active object.

Similar Threads

  1. Replies: 19
    Last Post: 30th April 2017, 08:16 PM
  2. How to make a sprite scale and then disappear
    By nicklowkc in forum Fusion 2.5
    Replies: 3
    Last Post: 24th November 2015, 11:22 AM
  3. Make skewed shadows for static objects
    By Popcorn in forum File Archive
    Replies: 7
    Last Post: 27th January 2008, 07:36 PM
  4. [SOLVED] click object to make it disappear
    By stillhawk in forum The Games Factory 2 - Technical Support
    Replies: 5
    Last Post: 16th June 2007, 11:42 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