User Tag List

Page 5 of 5 FirstFirst ... 3 4 5
Results 41 to 50 of 50

Thread: Some memory questions

  1. #41
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleInstall Creator Pro

    Join Date
    Jul 2006
    Location
    Germany
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by DistantJ View Post
    Join your tiles together. As in rather than placing down a tonne of backdrop objects in small tiles, wherever possible, join them together into fewer, larger objects.
    I'm confused, isn't this quite contrary to the optimization guidelines for iOS apps? There we're told to split large gfx into smaller pieces to save RAM, but once they're too small we have performance problems.

  2. #42
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I guess it's to do with the collision boxes, it has to draw less.

  3. #43
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export Module
    jregork's Avatar
    Join Date
    Oct 2009
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by JoKa View Post
    I'm confused, isn't this quite contrary to the optimization guidelines for iOS apps? There we're told to split large gfx into smaller pieces to save RAM, but once they're too small we have performance problems.
    Yes, and I think that probably needs some clarification. Obviously if you're using tons of 640x480 objects, it could cause slowdown if it's causing you to hit the ram limit. But as long as you're good on ram, you are better off using fewer objects. That's what I've gotten out of this anyway.

  4. #44
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    It is a "grey area" when it comes to giving "correct" advice on this.

    jregork is correct: Don't use too large objects, but don't use too small objects either if it means you will get a lot them.
    It takes a while for OpenGL to switch between resources (like different textures). If you have thousands of objects each with different textures (or just alternates between different textures when drawing) you loose a lot of performance.

  5. #45
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    DTownTony's Avatar
    Join Date
    Sep 2010
    Location
    Detroit
    Posts
    428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just tried switching fine detection to off where it wasn't necessary and HOLY CRAP did it make a difference! Great jobs on the tips everyone!

  6. #46
    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)
    Yes turning off Fine Detection does make quite a difference (especially when running in Debug rather than Release in XCode)
    Shame there isn't an extra tickbox for No Detection as well as Fine, since some objects just don't need it, eg scaling and rotating graphical effects which must slow it down a bit checking for collisions when they're never used.

  7. #47
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    AyreGuitar: MMF2 only checks for collisions between objects where you actually have actions that tests for collisions between them. For backdrop objects no collision testing is made on the ones that aren't set to 'obstacle'.
    So you only need to worry about the objects that are actually involved in collisions events in your game

  8. #48
    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)
    Andos - that's very good to know!
    The only reason I mentioned it, is because I have some scaling and rotating effects objects that caused slowdown on fine detection but speeded up when changed fine detection turned off. Seemed logical to assume a speed increase if had no detection. There are no collision events for these objects - they're just created when an object is picked up. I'll check the events again in case they're part of a Qualifier Group.

  9. #49
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export Module
    Diablohead's Avatar
    Join Date
    Jun 2006
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by cfullerNY View Post
    Our game runs very badly and crashes on the brand new ipod touch we bought in december, however works flawlessly on the ipad 2 and iphone 4/4s, not sure about ipad1 performance.
    I believe that the ipod touches still only carry 256MB of ram while iphone 4/2 and ipad 2 has the bigger 512MB, you might be just over the ram limit with your app, remember that iOS takes up like 120 MB of it just to run.

  10. #50
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleMac Export ModuleUniversal Windows Platform 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)
    Koji_Kabuto's Avatar
    Join Date
    Jul 2006
    Location
    Venezuela
    Posts
    2,847
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    It is right Diablohead iPod Touch only has 256 MB RAM and that's a big difference!

Page 5 of 5 FirstFirst ... 3 4 5

Similar Threads

  1. Memory Storage Questions
    By amaire13 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 11th February 2013, 09:02 AM
  2. 3 questions - Memory, collisions
    By Yikes in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 3rd April 2012, 06:09 PM
  3. Memory Object - Additional Memory Types
    By Cudmuffin in forum Extension Development
    Replies: 0
    Last Post: 22nd November 2011, 11:43 AM
  4. Memory Object - Deallocate Memory??
    By LB in forum Extension Development
    Replies: 1
    Last Post: 1st June 2011, 10:26 PM
  5. Memory Concerns/Questions
    By artician in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th June 2008, 08:00 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
  •