User Tag List

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

Thread: Faster Multiple Object Instances

  1. #11
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,665
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    OK so I run some tests on multiple variances of the moons/sattellites and below I present the results:

    ***Please take into consideration that I remade all examples provided here under MMF2 and modified them to do same operations (Set Random Scale value, instead of slow step increase/decrease as in Complex case)***

    I run several tests for each method of moon allignment (3 runs of 3) and provided average variables below (Top most Planets, Satellites/Moons and lowest most FPS during their re-scaling).

    Following methods were used:
    1) Pick One of + Variable
    2) Fast Loop + Spread ID
    3) Fast Loop + Pick One Of (No Variable!)
    4) For Each Basic (The most basic For each I gather)
    5) For Each Complex with Effects on (seperate loops for scaling down/up)
    6) For Each Complex with no Effects (seperate loops for scaling down/up)

    It seems that the most FrameRate resistant method is without any FL/FoE as objects are pick invididually so there is a little lag (you can see individual planets being rescaled) however it doesn't require lots of power so it is a good alternative for low-end platforms (Flash/Mobiles) with some extra coding could suprisingly be the most efficient method.

    It also occured that FL+Pickup is nearly as efficient as For Each Basic, which sounds as a very good alternative for me - as For Each I got is not supported under XNA, and I doubt my lecturers would be happy to see unknown to them For Each extension (lol).

    Yet For Ech Proved to be able to handle most objects with highest framerate +for ross for making it, as it works, lol.

    Pick One Fast loop FL PickUp ForEach B ForEach C ForEach N
    Planets 926,3333333 912,6666667 916 919,6666667 820,3333333 917,3333333
    Satellites 6900 6819,333333 6810,333333 6863,333333 6142,333333 6819
    Refresh 45,66666667 14 15,33333333 16 19 16,33333333

    www.tm2fk.pl/compare.png

    Comments Individual pick slow with over 5 objects - lol
    Attached files Attached files

  2. #12
    Clicker Fusion 2.5iOS Export ModuleSWF Export Module
    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)
    SolarB's Avatar
    Join Date
    Feb 2012
    Location
    Melbourne
    Posts
    904
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    If used well pick at random can be great for handling instances, especially on slower platforms. I find that any time I use loops in iOS everything grinds to a halt, so investigating other solutions is a must. "Slow looping" is also a good alternative.

  3. #13
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,665
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Totally agree, thus I am always glad to share with stuff I find with others

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Faster Multiple Object Instances
    By Fanotherpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 7th March 2014, 05:39 PM
  2. Still having trouble dealing with multiple instances of one object
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 31st December 2013, 10:33 PM
  3. How do you reference multiple instances of the same active object?
    By Cybert9 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 3rd February 2012, 01:33 AM
  4. Shoot object of multiple instances
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 31st October 2011, 03:58 PM
  5. Multiple Instances of Object glitch
    By JimJam in forum File Archive
    Replies: 10
    Last Post: 5th March 2008, 11:44 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
  •