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

frame rate stuck at 25

New Here ,
Oct 13, 2020 Oct 13, 2020

Copy link to clipboard

Copied

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

Views

96

Translate

Translate

Report

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

Copy link to clipboard

Copied

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();
}

Votes

Translate

Translate

Report

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