User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 36

Thread: Most efficient method for animated images?

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Most efficient method for animated images?

    I've got a little problem... I'm trying to load a lot of external images and then animate them all on the screen. The issue I have is that I get around like 30 of these on screen and the FPS starts to nosedive. This is using Direct3D 9 and HWA, latest build.

    I believe the problem is that I'm using the animated picture object... which I believe is not optimized for HWA? So is there any solution to this? I'm really confused as to why this isn't a core feature in MMF. I would imagine a lot of people would like to load external sprite sheets and display them animating without massive slowdown.

    I'm not sure using active objects would be much better, but even if they were...

    1. the latest build of MMF doesn't let you import sprite sheets via boxmode in the active object image editor.

    2. it would be an immense pain in the butt having to load each sprite sheet into the active object, setting up a place for it in the animations, and then if I ever needed to change the image, I'd have to go back and reload it into the active object.

    So.... any ideas?

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Most efficient method for animated images?

    If there's a way to, I'd sure like to know. I've been using internally stored graphics in way more games than I wanted to.

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,548
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Most efficient method for animated images?

    Creating a program that splices your sprite sheets into individual images, then loading those images into an active object, is probably the only way to do that efficiently.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Most efficient method for animated images?

    A program should never have to split a file into a several smaller files and then load them individually into the same object. I'd never settle for a workaround like that.

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Most efficient method for animated images?

    Yeah, anything short of just loading the sprite sheets directly into MMF seems like a huge waste of time. This is the year 2011 and I just find it hard to believe that a program that's been around for 5 years still doesn't have a reliable way to load external sprite sheets at runtime and animate them. This seems like a no-brainer feature

  6. #6
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,548
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Most efficient method for animated images?

    Its perfectly codeable as an extension, simply nobody has done it yet.

  7. #7
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Most efficient method for animated images?

    I would seriously pay money for it.

  8. #8
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,548
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Most efficient method for animated images?

    Its really not all that complicated. At any rate, heres an example in MMF2;
    https://sites.google.com/site/claniraq/stuff/SpriteExample.rar?attredirects=0&d=1

  9. #9
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Re: Most efficient method for animated images?

    Nice example, except it doesn't work with alpha images... It leaves a black cruddy outline around the sprites.

  10. #10
    Clicker Multimedia Fusion 2SWF Export Module

    Join Date
    Sep 2006
    Posts
    1,548
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Most efficient method for animated images?

    You have to set the surface object to use an alpha channel O_o Its got a million options

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Which way is most efficient? (regarding Frames)
    By pdsoft in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 11th October 2013, 10:05 PM
  2. Good Example of the Animated Picture Object using Images
    By Gullyking in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 26th June 2012, 06:30 PM
  3. Efficient drawing method for online games
    By Looki in forum File Archive
    Replies: 0
    Last Post: 27th March 2010, 08:21 PM
  4. Efficient String Concatenation?
    By Pixelthief in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 31st August 2008, 05:57 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
  •