User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: [BUG] Overlapping test when player press fire 4

  1. #1
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [BUG] Overlapping test when player press fire 4

    The overlapping test seems to be false when player press a button and if one of the two object tested has been destroyed...

    Try the example...
    Attached files Attached files

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: [BUG] Overlapping test when player press fire 4

    I don't really see anything when I run the application ecept a terqoise square that doesn't move... and what do you have fire 4 set to?

    Edit: Nevermind, wierd...
    Working as fast as I can on Fusion 3

  3. #3
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: [BUG] Overlapping test when player press fire

    I found out (after several years of clicking) that at least one duplicate of each object you're testing for collisions/overlaps must exist in the frame.
    Otherwise the events involving those objects (collision/overlapping conditions) seem to be ignored by MMF.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [BUG] Overlapping test when player press fire

    But what is strange here is that if we test overlapping without "player press button 4", it works well...

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: [BUG] Overlapping test when player press fire

    This does not seem to happen in TGF2... so maybe it's a glitch in MMF2...
    Working as fast as I can on Fusion 3

  6. #6
    Clickteam Clickteam
    Olivier's Avatar
    Join Date
    Jun 2006
    Posts
    3,000
    Mentioned
    9 Post(s)
    Tagged
    1 Thread(s)

    Re: [BUG] Overlapping test when player press fire

    Yes you're right Sphax.
    The "isn't overlapping" condition is always TRUE when one of the actives is destroyed, whether they're overlapping or not at startup. Seems somewhat logical, doesn't it?
    But when the objects overlap at startup, the "is overlapping" condition stays TRUE even after one of the actives has been destroyed.
    This might have something to do with the engine's event ordering. I don't really know.

    Anyway to avoid such issues, a duplicate of the objects involved in collisions and overlaps testing should always exist somewhere in the frame.

  7. #7
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [BUG] Overlapping test when player press fire

    But it could be difficult to keep one instance of each object involved in htis test...

    It's bug which should be corrected in the next build.

  8. #8
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: [BUG] Overlapping test when player press fire

    Quote Originally Posted by Sphax
    But it could be difficult to keep one instance of each object involved in htis test...

    It's bug which should be corrected in the next build.
    Agreed, but just make separate copys of the objects and put them in cells tha they cannot breack out of. (outside of the frame)
    Working as fast as I can on Fusion 3

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: [BUG] Overlapping test when player press fire

    Well, the condition is always FALSE regardless of the NEGATE, if one the second object is not defined. This is a bug, and it will be corrected for the next build.

    If you remove the press fire condition it works as the object is destroyed in the start of frame, but not actually destroyed (just marked destroyed) in the list when the collision is called for the first time. So it does not go by the faulty lines of the routine.

  10. #10
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [BUG] Overlapping test when player press fire

    I think you should correct it since, it's a false positive test.
    Thanks Francois to look at it.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Problem with fire 1 and fire button 2 in beta 11
    By Koji_Kabuto in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 31st January 2011, 07:51 PM
  2. player 1. Fire Buttons
    By Crls in forum SWF/Flash Export Module Version 2.0
    Replies: 3
    Last Post: 23rd April 2010, 01:22 PM
  3. Press fire button Glitch? Design?
    By camelman in forum Multimedia Fusion 2 - Technical Support
    Replies: 30
    Last Post: 10th February 2010, 03:17 PM
  4. Bug: "Player Pressed Fire" Mix-up
    By Docilemouse in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 25th December 2009, 09:50 PM
  5. Player Control Ignore/Restore: Pressed Fire bug?
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 11th December 2009, 12:50 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
  •