User Tag List

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

Thread: Objects going past obstacles, why?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Objects going past obstacles, why?

    I have some bouncing ball objects in my app that are surrounded by backdrops set to obstacles. The actual moving objects are set to not fine detection while the backdrops are set to fine detection. The objects moving around (at about speed 20 or slower) are set to bounce with these obstacles. It works about 90% of the time, but when i move around the scrolling frame i can see that some of them always seem to be outside the area surrounded with the backdrops, they seem to "slip through" mostly when i am not near them. But I have also seen some of the objects being stuck in the middle of a backrop https://dl.dropbox.com/u/4047131/MyPublic/02.png

    Why is this happening? I know that fast moving objects can miss the collision detection with thin objects, but these backrops are 32*32 and the moving objects are set to non fine collision detection (making them a square of 32*32) and moving at a speed that is never faster then "20" (very slow). I have tried to toggle the "inactive if to far from window" option but it happens when this is both at automatic and set to No. That is also something I wonder. If I have a very big frame area and these moving actives are set to never go inactive, will they still be able to register collisions with the backrops? In other words, are they collision working on the backdrops at all time? (because I don't see a toggle for them to be inactive if far from the window).

  2. #2
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    EE's Avatar
    Join Date
    Sep 2009
    Posts
    200
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Check in the runtime property of the frame if "Handle background collisions..." is checked, if not, check it.

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by EE View Post
    Check in the runtime property of the frame if "Handle background collisions..." is checked, if not, check it.
    It is checked

  4. #4
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    EE's Avatar
    Join Date
    Sep 2009
    Posts
    200
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Hmm, that's very strange. Could you upload an mfa so we can have a look?

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Outcast - have you got Inactive when far from frame ticked? If so, untick it (as may be ignoring collisions outside of frame?)

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by AyreGuitar View Post
    Outcast - have you got Inactive when far from frame ticked? If so, untick it (as may be ignoring collisions outside of frame?)
    Are you talking about this? " I have tried to toggle the "inactive if to far from window" option but it happens when this is both at automatic and set to No."

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Outcast - Yes, that's what I meant. Sorry it didn't help! Perhaps you should upload an example mfa file or send one to ClickTeam explaining the problem.

  8. #8
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Ok, here is an example mfa of the problem, you can fly around with the player object and the "balls" (squares really) are bouncing around. I also inserted an event that makes the "balls" stop when they go outside the playing area surrounded by the backdrops so you can see them without them floating away to far. Just go around a bit and you will see that the "balls" are slipping through all over the place! :/
    Attached files Attached files

  9. #9
    No Products Registered

    Join Date
    Sep 2012
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I actually just had this problem about half an hour and fixed it.

    It was a combination of two maladies:
    1. There were too many events going on. I had to condense a lot of them by grouping ones under the same condition together (it's my own fault for not already having done that) and just rewriting a few other sequences.
    2. In the animated sprites of the objects that were moving through other ones, the bottom did not always have any pixels on it. They were sprites of people walking, and what was happening was that they took steps into the objects instead of up to them; their feet moved across the edges of the other object so they never had any reason to stop. I fixed this by adding a small, unnoticeable pixel at the bottom of every frame of every sprite.

    So far, I haven't had any problems since.

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Outcast - Loading your example file and it said that that effect file Lens.fx is missing. I ignored it, and ran it. I don't see any of the yellow blocks getting outside the play area, although they do stop after a while. So perhaps the Lens.fx effect is the problem? I've never worked with effect files (seems to be different from the Lens object extension which I have installed)

Page 1 of 2 1 2 LastLast

Similar Threads

  1. PMO and animated obstacles/moving objects
    By dogen in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 20th October 2013, 10:51 AM
  2. Angeled Objects cant past into background?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th September 2012, 04:46 PM
  3. Dynamic lighting with background objects as obstacles?
    By Tsun in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 11th December 2011, 08:58 AM
  4. Mooclick getting past a router
    By dascribe in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 1st February 2007, 03:59 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
  •