User Tag List

Results 1 to 9 of 9

Thread: Question about Active Collision Area

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Question about Active Collision Area

    I have an active object that is imported from a PNG with a transparent background.

    Because of the size of the object, I just discovered that the collision area is a rectangle, so the transparent area is actually triggering a collision. I didn't expect this at all, is there any way around it?


    EDIT: I should point out that i'm using HWA Beta5


  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about Active Collision Area

    Anyone? Is the collision area supposed to be the rectangle of the entire image, or should it be the NON-transparent area, ie, the actual visual image?

    Thanks

  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about Active Collision Area

    you could have another active that works as the collision and then always position the above image at the collision active's position

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about Active Collision Area

    True, thanks...

    So the collision area is the rectangle then?

  5. #5
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about Active Collision Area

    it really depends if the alpha-channel value is completely black, of so, then its not.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about Active Collision Area

    Thanks Mecha, I appreciate you taking the time to answer. I do think the mask is true, since i'm using a true alpha transparent PNG created by Fireworks.

    I'm quite surprised by this behavior. I'll try using true black rather than transparent background and see what happens.

  7. #7
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about Active Collision Area

    Tuna, in order to have the collision not affecting transparency you must
    1) have it completely transparent.. you can't tell just looking at it. You must be sure.. make a sprite test with photoshop and make it transparent by deleting a portion of it and you'll see.

    2)You must have fine collision enabled.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about Active Collision Area

    Yeah, I'm 100% sure the image boundary area is completely transparent, I work in Photoshop and Fireworks almost daily.

    Fine collision is also enabled...


  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Question about Active Collision Area

    UPDATE: Problem Solved.

    The other object that was colliding with the space station did NOT have fine detection turned on. Once both objects were set with fine detection, collisions ignore the transparent area.

    Thanks for all the help.

Similar Threads

  1. Active Object Collision box?
    By mykal in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 8th December 2013, 01:11 PM
  2. Active Collision
    By Danny in forum SWF/Flash Export Module Version 2.0
    Replies: 1
    Last Post: 30th January 2013, 05:51 AM
  3. tv safe area question
    By life2searching in forum XNA Export Module Version 2.0
    Replies: 8
    Last Post: 18th July 2011, 03:14 PM
  4. full screen active play area
    By Gregarious1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 17th September 2009, 08:48 PM
  5. Active vs. Backdrop for collision?
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd April 2009, 05:50 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
  •