开发者

frame rate is very low for android game developed by flash CS5

开发者 https://www.devze.com 2023-02-01 21:43 出处:网络
I am porting my flash games on android. I 开发者_运维技巧have ported 3 successfully. But the problem with all of them is they are giving very low frame rate near about 7-8. And I have observed 1 thing

I am porting my flash games on android. I 开发者_运维技巧have ported 3 successfully. But the problem with all of them is they are giving very low frame rate near about 7-8. And I have observed 1 thing that frame rate always varies. Sometimes it goes upto 45 and again in next frame it comes to 3-4 and again goes to 15-16.

I am quite confused. Please let me know if anyone is having any idea about this.

Thanks,


Best thing you can do is look at the areas of your game which are going down to 3 - 4 frames per second, and see what's going on in those compared to the others which are performing as you'd expect. Try and reduce the work being done in those areas where it slows down, deferring it to other parts of the system if possible. I'm by no means a flash expert, I don't know if this is possible. However, this is basic optimization techniques in other environments, including Android's native Java.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号