User Tag List

Results 1 to 8 of 8

Thread: Beta 3 - FrameRate function

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS 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)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Beta 3 - FrameRate function

    Setting a counter to FrameRate doesn't current do anything in iOS.

    Works fine in MMF, is quite handy to monitor performance within your game.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS 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)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 3 - FrameRate function

    Just an update on this, I used the old method of setting a counter and resetting it etc. Seems to be running at the full 60 fps on the simulator but drops to around half on the actual device. This is with no image compression.

    With colour reduction enabled as image compression it seems to be the same, half (about 30) compared to the simulator.

    I've also tried replacing quite a large quick backdrop I had with a gradient to see if that was hogging some memory, but it didn't seem to make a difference.

    Just wondering if MMF is doing some frame limitation on the device, which i'm thinking it isn't as the simulated version runs perfectly.

  3. #3
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 3 - FrameRate function

    Make sure you're not compiling in debug mode.

    Everything I've made runs full speed on the device, but a little less than full speed in the simulator. I have a year old macbook, and an iphone 3g.

    It might depend on the extensions you used as well.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS 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)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 3 - FrameRate function

    No extensions are being used and debug mode is off All the graphics are also low in colour count with no anti-aliasing.

    Have you tried scrolling? And can you insert a counter to display your games FPS to check it is full speed on your device?

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS 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)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 3 - FrameRate function

    To further clarify, the frame is 960*640 but also has scrolling (the game is actually 480x320). Could the redrawing from the scrolling have something to do with it? I seem to remember some limitations with JavaME and scrolling, but i'd assume the iPhone has a 100 times better way of rendering graphics.

  6. #6
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    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)
    UrbanMonk's Avatar
    Join Date
    May 2008
    Location
    Southern U.S.A.
    Posts
    847
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 3 - FrameRate function

    I've tried scrolling too, no problems.

    I'm running in thee lowest resolution though.

    The only slowdown I had was when I created and destroyed a bunch of objects every loop. Not to mention a bunch of fast loops for a dynamic shadow engine. But the slow down wasn't that bad. Also wav sound files are choppy when played in quick succession. I think it's a channel problem though.

  7. #7
    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)

    Re: Beta 3 - FrameRate function

    I have implemented the framerate action, and expression. They now work fine.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS 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)

    Join Date
    Apr 2007
    Location
    Australia
    Posts
    1,152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Beta 3 - FrameRate function

    thanks

Similar Threads

  1. Function Eggtimer problem // Power Function for MMF2 Android?
    By ogrgkyle in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 24th May 2013, 03:17 AM
  2. timebeginperiod function in low framerate apps
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 25th March 2013, 06:10 PM
  3. Function Object [Beta]
    By Eliyahu in forum Extension Development
    Replies: 6
    Last Post: 21st March 2011, 11:35 AM
  4. Beta 12: Benchmark results and framerate problems!
    By netninja in forum iOS Export Module Version 2.0
    Replies: 17
    Last Post: 15th February 2011, 11:53 PM
  5. Super Function Object (beta)
    By JSJ in forum Extension Developers Lobby
    Replies: 4
    Last Post: 29th August 2006, 01:15 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
  •