Use maximum framerate?

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default Use maximum framerate?

    Hello,

    I was wondering if there is any reason *not* to use the maximum framerate (120 fps) in game development. (bugs, unexpected errors etc.)

    This post by Colin Moock got me thinking:

    fps is like a speed limit: you can tell a movie not to play faster than the specified fps, and all machines will obey, but you can't tell a movie to stay above a certain frame rate. if a machine doesn't have the processing power to render the frames at the specified fps, the movie will simply run more slowly.

    Why not set the framerate to 120 and only use setIntervals to call a function whenever you want. Will this increase the overall speed of a movie? In theory it won't because setInterval is supposed to be completly independant of fps speeds, but yesterday I read the following post on UMBC:

    Along the same lines its good to know that setInterval is also not as reliable as you might think. Actual timing and the timing you set won't match up as well as you might like. For example, the actual timing of the interval can be influenced by the set frame rate of the movie. Here are some examples of approximate actual timing for an interval set at 100 milliseconds at different frame rates (thanks to Roger for the information):

    1 fps: interval=127 ms
    2 fps: interval=125 ms
    5 fps: interval=105 ms
    10 fps: interval=102 ms
    11 fps: interval=183 ms
    12 fps: interval=175 ms
    15 fps: interval=134 ms

    You can see here that 100 milliseconds can be far off from 100 milliseconds to setInterval. Be cautious of this and don't be setting your watches to any Flash setIntervals.


    Anyone care to comment?
    Thanx in advance,
    Jan van der Veen


    Silverline webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Application frameRate???
      Can anybody explain to me what for is frameRate property. It seems that nothing changes when I change framerate of my flex application to 120. Does...
    2. chromelib framerate display dissapears when I switchcamera
      Does anyone know why it would do this? Cheers Michael UK
    3. Chrome Lib - framerate display help needed
      Please forgive my impatience, I have only been using the ChromeLib for 20 minutes. Just thought it quicker to ask the forum lol. I added the...
    4. checking actual framerate
      Hi, I made a site which uses horizontal scrolling navigation (check: http://www.esthervenrooy.com) Not surprisingly, the scrolling is far from...
    5. Altering speed of playhead (framerate?)
      Hi guys, Could anyone please tell me how i alter the speed at which my projectors playback. Am i right in thinking that the default is 30? I...
  3. #2

    Default Re: Use maximum framerate?

    > I was wondering if there is any reason *not* to use the maximum framerate (120 fps) in game development. (bugs, unexpected errors etc.)
    >
    > This post by Colin Moock got me thinking:
    >
    > fps is like a speed limit: you can tell a movie not to play faster than the specified fps, and all machines will obey, but you can't tell a movie to stay above a certain frame rate. if a machine doesn't have the processing power to render the frames at the specified fps, the movie will simply run more slowly.
    Well that's the fact .
    FPS is not an accelerator , it is a speed limiter .

    By setting movie frame to 120 you not actually use 120 fps, probably won't in any near future.
    First you can't see 120 FPS , human eye can comprehend up to around 30fps . Monitor usually goes around 60 to 85 Hertz
    which is around 60-80 fps , most I came across so far , in office and clients , never set to more than 60 Hertz so if you
    set up faster it won't be able to even show that fast on other users monitors .
    If you set up yours to higher it won't matter for these who view the file as it depend on end user setting .

    By setting high limit for the speed you make movies try to maintain the performance sucking user resources , you can even
    make it performing worst than movie set with lower frame rate .
    It is not the FPS that matters , you can have same or similar performance on much lower if you
    pay attention to optimizing the movies and designing the properly.





    Regards


    urami_*

    <xmas>
    [url]http://flashfugitive.com/[/url]
    </xmas>
    urami_ Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139