Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

frame rate stuck at 25

New Here ,
Oct 13, 2020 Oct 13, 2020

I want my frame rate to be 100 and it is until I play the animation, when I do the frame rate drops down to 25-30 fps

anyone can help me please

 

TOPICS
Timeline
120
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 13, 2020 Oct 13, 2020
LATEST

your hardware can only play at the rate it can handle.

 

test by putting nothing on stage and checking if your frame rate is close to what you assign in the properties panel.

 

if you're using as3:

 

import flash.utils.Timer;
import flash.events.TimerEvent;

var fps:Number;

var currentT:int = getTimer();
var currentF:int = this.currentFrame;
var t:Timer = new Timer(1000,0);
t.start();
t.addEventListener(TimerEvent.TIMER,f);


function f(e:TimerEvent):void{
fps = (this.currentFrame - currentF)*1000/(getTimer()-currentT);
trace(fps);
currentF = this.currentFrame;
currentT = getTimer();
}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines