User Tag List

Results 1 to 8 of 8

Thread: choppy in flash

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jan 2010
    Posts
    545
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    choppy in flash

    Hi,
    I am making a game that runs perfectly as an exe but as an swf it runs choppy. It still works but is not smooth. Any ideas what may cause this or how to fix it? Thanks,
    Brett

  2. #2
    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)
    Hard to say. Some critical stuff: fastloops, size and number of Actives, fine collision detection, Actives not inactivated when far from playfield, alpha channels, semi-transparency...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jan 2010
    Posts
    545
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    How do you inactivate actives when they are far from the play area? Also, how does fine detection have an effect on speed? Should I change frame rate or any other application properties? Thanks,
    Brett

  4. #4
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    1. In the active properties.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jan 2010
    Posts
    545
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    I figured out how to inactivate actives when far from frame. This seemed to help significantly. Thanks,
    Brett

  6. #6
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Set frame rate to 60, since that's the default for monitors and will give you the smoothest picture on most monitors. Fine detection only slows down collision events, so if you have a lot of those on roughly square objects it's nice to turn off.

  7. #7
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Conno's Avatar
    Join Date
    Jul 2006
    Posts
    106
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I e-mailed Francois about this, and he suggested that it might be a problem with the speed of collision detection; and I use FastLoops (not consistent ones, but still, I run a couple every now and then)

    When observing the Frame Rate in flash, it didn't fall below 60. I feel that the problem is likely to be what Jacob has pointed out; vertical sync. I'm not sure if there is a way you can make a Flash app v-sync with the monitors frame rate. I only get the problem when I move Active Objects (not using fine detection) at more than 2 pixels per frame in any direction.

    I can create a blank application, a single active object, and Always +2 or more to its X position, low and behold, choppy movement in Flash. Then again, could just be me... :P

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Can you try to put a counter that displays the number of frames per seconds (in the storyboard object expression)?

Similar Threads

  1. 'choppy' scrolling with 60 fps
    By Shmuper in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 7th December 2012, 10:01 PM
  2. simple smooth game is choppy in swf
    By Tuna in forum SWF/Flash Export Module Version 2.0
    Replies: 22
    Last Post: 24th May 2012, 09:16 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
  •