Fps spikes from 60 to 100?


(John Andersson) #1

Sometimes I get fps spikes from 60 to 100…

If am using stage3dpunk, it goes up to 100, if I’m not using stage3dpunk, it goes up to 70.

The problem only seems to occur in release mode!


(Ultima2876) #2

Please be sure that if you’re looking for support in this forum, you’re using vanilla FlashPunk. Stage3DPunk is a separate library with separate support channels.

If you’re using FlashPunk and still seeing this issue then post back.

I’m pretty sure either way the answer is ‘don’t worry about it - it’s probably just your flash debug player being weird’ - try it in the browser and see if you still have problems.


(John Andersson) #3

Yes, the issue ermains in vanillapunk, it just goes up to 70, not 100. How do I try it in the browser from Flashdevelop?


(Ultima2876) #4

When you compile within FlashDevelop, you’ll get an swf file in the Release (or Debug) bin directory of your game. You can simply open this file (or drag it over) in most browsers to see your game as the player will see it. There are some more setup instructions to get FlashDevelop to run in the browser every time (it might be in project settings if I recall correctly), but for now try the SWF and see if the problem disappears :slight_smile: