User Tag List

Results 1 to 7 of 7

Thread: overlap (custom collision detection) issue

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jul 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    overlap (custom collision detection) issue

    I've made a simple custom click-move system and I want the character to scale depending on his Y position so I did that as well. Now I'm introducing obstacles and collision detection, including pushing out of objects. Everything works as expected, except one rather baffling problem.


    PROBLEM:

    When the character (the black dot in the provided example) is at y=300 (halfway up the screen), and on the LEFT side of an object (see the circle and triangle), it will stop as if it is colliding with the obstacle.

    In other words, the dot "collides" with the left side transparent pixels of the circle and triangle at y=300.

    This doesn't happen on the right side of the objects, only the left.**[actually, see edit below]

    View MFA
    See the linked MFA. Just click around to move the dot.
    The 2nd and 3rd frames show where the problem happens.

    Thanks in advance for your thoughts and suggestions!



    **EDIT:
    Very strange. I guess it happens on the _right_ side of the triangle as well, but it still doesn't seem to happen on the right side of the circle.

  2. #2
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: overlap (custom collision detection) issue

    Maybe I'm not understanding correctly but it seemed to work fine for me.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Jul 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: overlap (custom collision detection) issue

    hmm, so you're saying the black dot wasn't getting caught on thin air near the circle/triangle, when the dot was at y=300?

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2008
    Location
    UK
    Posts
    1,393
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)

    Re: overlap (custom collision detection) issue

    I concur. Works fine for me too.

  5. #5
    Clicker Multimedia Fusion 2Android Export Module
    Corlen's Avatar
    Join Date
    Mar 2007
    Location
    Your House
    Posts
    848
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: overlap (custom collision detection) issue

    What build of MMF2 are you using? Maybe that's the problem.

  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: overlap (custom collision detection) issue

    Hamcraft, you are using build 249. This would work better for you if you updated to build 251.

    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
    Jul 2008
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: overlap (custom collision detection) issue

    AWESOME.

    I love problems that fix themselves

    Thanks!

Similar Threads

  1. Platform overlap issue
    By King_Cool in forum File Archive
    Replies: 2
    Last Post: 27th October 2011, 03:50 PM
  2. Possible bug in PMO collision detection
    By K1kk0z90 in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 4th August 2011, 01:56 PM
  3. Background collision vs. overlap question
    By Drcooper in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 9th August 2010, 10:47 PM
  4. Another collision detection issue...
    By fawfulfan in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 24th August 2009, 08:22 PM
  5. Custom movement -- collision detection problem
    By Poprocks in forum File Archive
    Replies: 1
    Last Post: 17th May 2007, 12:58 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
  •