User Tag List

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

Thread: Problems with object selection

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Problems with object selection

    First off, I just want to point out that this works in normal MMF exe and in debug. It does NOT work in Flash running in a browser (IE).

    With that said, I am not sure if this is a problem with object selection in general, or possibly a problem with selecting objects based on the animation direction they are using.

    When I detect bullets hitting an enemy, I spread value, then run an "ID" loop against all my enemies. If the bullet is overlapping an enemy that matches the "ID" loop index, I run another loop that does a few things and then destroys the enemy. This second loop checks to see which enemy is overlapping the bullet, and in some cases it checks to see what direction the enemy is facing. The enemies that do this direction check end up destroying all enemies of this type. Again, this works in normal MMF, so I am guessing it has to do with how Flash is handling things.

    Now, I use multiple anim directions as a way to make different visual versions of enemies, instead of unique enemies. It has worked well for me up until now. Does anyone know if this method of using anim directions is a bad idea for Flash? Also, I seem to have problems where I create an object and then immediately set the object's direction. In Flash, this results in the object just using the default direction of 0.

    Any help with this would be really appreciated. I'm beginning to pull my hair out on this one.

    Mobichan

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems with object selection

    I haven't experienced problems using animation direction to represent different states of an object in Flash...

    It sounds like you have some idea of what causes the bug and what doesn't, though - can you upload an example file?

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems with object selection

    I'll try and strip it down to the basics.

  4. #4
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems with object selection

    File uploaded in the archives here: http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=180851&#Post180 851

    There is an explanation in the other post on how to reproduce the bug.

  5. #5
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Problems with object selection

    If you have not yet noticed a bunch of these new forums allow file uploads.

  6. #6
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems with object selection

    Doh! Thanks for the heads up Jeff. I usually use the quick reply so I don't see it.

  7. #7
    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: Problems with object selection

    Sorry, I have run the C++ version and the Flash version, and I cant see any difference. Can you extract the problem a bit more please?

  8. #8
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems with object selection

    You can pop the balloons 2 ways. If you hit them within 10 pixels of their bottom, you will see the bug. Just make sure there are more than one enemy on the screen when you do it. You will know you did it when the carriage under the balloon falls.

  9. #9
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Problems with object selection

    Sorry to bump this, but has anyone been able to reproduce the bug I am talking about? I really need to solve this asap, as it is for work.

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

    Re: Problems with object selection

    I can confirm the problem. Sometimes when one enemy is hit, all the enemies get destroyed. This problem happens with the Flash runtime only.
    I've tried to fiddle with the app, but I couldn't find any solution. But mobichan, why are you using fastloops? Did you know that your example works the same without fastloops?

    Nice little game BTW.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Further problems with object selection
    By fawfulfan in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th December 2011, 04:57 PM
  2. Create Object + Object Selection Revisited
    By Crash86 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 22nd February 2011, 04:33 PM
  3. Object selection
    By pikzilla in forum Multimedia Fusion 2 - Technical Support
    Replies: 18
    Last Post: 2nd September 2009, 10:56 PM
  4. Object Selection
    By NG2 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 13th March 2009, 02:41 PM
  5. Object Selection for CLOUDWOLF
    By LB in forum File Archive
    Replies: 7
    Last Post: 10th December 2008, 05:17 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
  •