是否有人在闪存中使用 BitmapData 实现了帧缓冲区来替换其显示列表?

发布于 2024-10-09 13:39:38 字数 144 浏览 14 评论 0原文

如果有人有帧缓冲区实现,您能分享一些性能基准吗?或者至少告诉我你们的观点有多大差异。

我需要制作一个Flash游戏,它有近1K 50x50位图在屏幕上移动(显示列表中超过10K显示对象),并且想知道flash是否可以在至少30FPS的普通PC上很好地支持它。

If anyone has a framebuffer implementation, could you please share some performance benchmarks? Or at least tell me how much difference are there in your point of view.

I need to make a flash game which has almost 1K 50x50 bitmaps moving on screen(more than 10K display object in display list), and want to know if flash can support it well on a normal PC with at least 30FPS.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

最偏执的依靠 2024-10-16 13:39:38

您可以查看 flixel 库 以获取光栅化库,有关位图与显示列表的比较,请查看此博客文章

You can have a look at the flixel library for a rasterize library and for a bitmap versus display list comparison have a look at this blog post

辞别 2024-10-16 13:39:38

如果您使用 BitmapData 并且不需要旋转精灵,您应该能够很容易地做到这一点。这是 10,000 个 3x3 像素精灵的示例 - 我在 7,000 个 50x50 像素精灵上使用了相同的技术,并且运行得很好:

http://actionsnippet.com/?p=224

You should be able to do this pretty easily if you use BitmapData and you don't need to rotate your sprites. Here is an example of 10,000 3x3 pixel sprites - I have used this same technique on 7,000 50x50 pixel spites and it runs just fine:

http://actionsnippet.com/?p=224

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文