User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: Can someone explain this "create object" behavior to me?

  1. #11
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Nov 2011
    Posts
    63
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi crash! Ok, I tested my method (I want all balls to shoot at the same time) and it doesn't work..
    If all 5 "Balls" switch to the "shoot value" at the same time, the objects get created without problem, but the attributes are only distributed in one case...
    I definitely will use fastloops!

  2. #12
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Awesome, I'm glad Mobichan wrote up line-for-line how to do it.
    Hopefully you should be sorted as well me for this slight workaround that we needed.
    Sorry I didn't crank out an example to show you how I got it working. Have been a bit tied-up this week.

  3. #13
    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)
    Morbus Crohn: I don't think your method will work. When you need to reference every unique copy of an object to retreive data from it, the fastloop or foreach object are the simplest way I know of. Some people have used flags to do simple object selection, but I am not well versed in that method, so maybe someone else can post about that. In general, I do lots of nested fastloops every frame in my games and never see slowdown from them. And I don't use HWA, just standard mmf2. I have no clue if the ios exporter handles loops well, but on the PC side of things, you shouldn't have speed problems.

  4. #14
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Loops or functions are common in most languages, so I wouldn't expect any problem.
    The flags method is also very slow in comparison if you're testing shedloads of objects. I don't think it's noticeably faster than values.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. all my Objects have Dissapeared? I cant "Create a new Object"
    By Keehan in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 16th January 2013, 12:40 PM
  2. Why does "Create Object" make multiples instead of one item
    By rubes in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 5th May 2012, 11:01 PM
  3. Issues with "Clickteam Movement Controller" and "Runtime" Object
    By jimmyorpheus in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 29th November 2011, 07:10 AM
  4. How to tidy up the "Create new object" dialogue?
    By RayRayTea in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th August 2011, 04:06 PM
  5. "Create Object" crash
    By blutark1 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 3rd November 2010, 10:29 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
  •