User Tag List

Results 1 to 7 of 7

Thread: use power of two size of image

  1. #1
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)

    use power of two size of image

    - Guide to faster games with less memory usage
    http://community.clickteam.com/showthread.php?t=65324&p=487425&viewfull=1#post487 425

    This technique is use for iOS application. However, this theory of use power of two size of image is worth for PC application?

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    If you use HWA then using sprites with sizes that are powers of two does indeed help performance. There should not be much of any effect on Software mode
    Working as fast as I can on Fusion 3

  3. #3
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)
    Thanks LB.
    The HWA runtime will lower performance if use the size of image isn't power of two?

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    No, you won't get lower performance than software mode. There will still be a performance gain, though just not nearly as much.
    Working as fast as I can on Fusion 3

  5. #5
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,846
    Mentioned
    11 Post(s)
    Tagged
    1 Thread(s)
    Thanks.

  6. #6
    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,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks LB for info. But the object houkd be power of 2 in both directions equal or can be diffrent? Like 2x2 for platform or 2x256?

    Also if I would like to have my character smaller than 64x64 if I make it 60x55 but in sprite size 64x64 would I still gain performance?

  7. #7
    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)
    1. They can be different
    2. I think you don't need to fit these sizes exactly, it's more about saving resources by carefully planning the dimensions of your objects. For a 60x55 and a 64x64 sprite MMF will need the same amount of memory because both are in the same range of power of two (above 32 and below/equal 64). For a size of 65x64 MMF will need as much memory as for a 128x64 sprite, because the first value is above 64 and the next power of two is 128.

    Please correct me if my interpretation is wrong.

Similar Threads

  1. Image Size in Flash
    By Danny in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 30th June 2012, 06:30 AM
  2. Problem with background image size for my game
    By Koji_Kabuto in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 28th November 2011, 12:29 PM
  3. Optimum image size for massive backdrop
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 25th May 2008, 07:19 AM
  4. Backdrop wrap when image size differs from frame
    By Kaiseto in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 17th May 2008, 01:43 AM
  5. image memory size.
    By Clicktastic in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 15th July 2006, 02: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
  •