Adobe AIR Mobile 上的游戏开发框架?

发布于 2025-01-04 22:11:42 字数 159 浏览 2 评论 0 原文

我最近尝试使用 FlashPunk 进行游戏开发,它似乎很容易理解,但是,当我和一个朋友在 iPhone 上测试用 FlashPunk 编写的简单应用程序时,它似乎占用了不必要的大量内存,并且帧速率下降。

使用针对移动游戏优化的 ActionScript 3 进行游戏开发还有其他选择吗?

I've recently tried FlashPunk for game development and it seems to be easy enough to comprehend, however, when me and a friend tested simple apps coded in it on the iPhone, it seems to be acquiring an unnecessarily large amount of memory plus dropping framerates.

Are there any other choices for game development with ActionScript 3 with frameworks that are optimized for mobile gaming?

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

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

发布评论

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

评论(2

感情洁癖 2025-01-11 22:11:42

据我了解,FlashPunk 和 Flixel 等 AS3 2D Blitting 引擎并未真正针对通过 Adob​​e AIR 的移动使用进行优化。话虽这么说,我相信 Connor Ullman 的 Quietus 同时使用 AIR 和 FlashPunk,并且目前在 Apple 的应用程序商店中提供,并获得了一些不错的评论。你可以随时前往 FlashPunk 论坛并联系他,因为我相信他是那里的常客。

我知道您想为当前正在开发的游戏使用游戏引擎,但也请随时查看 Andy Moore 提出的关于最大限度提高移动游戏的 AIR 性能的建议。他建议缓存位图并使用 GPU 渲染模式,这两种方式对于 FlashPunk 和 Flixel 等引擎来说都是不可能的。

以下是该帖子的链接:http: //www.andymoore.ca/2012/01/how-to-improve-your-mobile-as3air-performance/

另外,我不确定按钮引擎实现什么类型的范例,但也许它在移动设备上的表现比 FlashPunk 和 Flixel 更好。 http://pushbuttonengine.com/

最后,Corona SDK 始终是另一个不受以下影响的跨平台选项AIR 似乎也受到同样的性能问题的困扰,但这是一个完全不同的话题,并且已经在 Stack Overflow 上的现有问题中得到了广泛的讨论。

祝你好运!

From what I have read, the AS3 2D Blitting engines such as FlashPunk and Flixel aren't really optimized for mobile use via Adobe AIR. That being said, I believe Quietus by Connor Ullman uses both AIR and FlashPunk and is currently available in Apple's app store with a handful of decent reviews. You could always head over to the FlashPunk forums and reach out to him, as I believe he is a regular over there.

I know you want to use a game engine for the current game you are working on, but feel free to also check out this advice from Andy Moore about maximizing AIR's performance for your mobile game. He suggests caching bitmaps and using GPU Rendering mode, both of which aren't possible with engines such as FlashPunk and Flixel.

Here is the link to the post: http://www.andymoore.ca/2012/01/how-to-improve-your-mobile-as3air-performance/

Also, I am not sure what type of paradigm the Push Button Engine implements, but perhaps it would perform better on mobile than both FlashPunk and Flixel. http://pushbuttonengine.com/

Lastly, the Corona SDK is always another cross-platform option that doesn't suffer from the same performance issues that AIR seems to be plagued by, but that is a whole other topic, and is already widely covered in existing questions on Stack Overflow.

Good luck!

z祗昰~ 2025-01-11 22:11:42

您打算开发 3d 或 2d 游戏吗?

对于 2d,我建议使用 Box2D for ActinoScript 和 Starling Framework。

这是一个很好的演示和主网站。

http://www.adobe.com/devnet/flashplayer/articles/introducing_Starling.html

http://starling-framework.org/

Starling简介http://shop.oreilly.com/product/0636920024217.do(免费电子书)

更新

http://blogs.adobe.com/digitalmedia/2012/02/mobile-gaming-gets-a-performance-boost-adobe-air-3-2-with-2d-and-3d- hardware-acceleration-announced/

现在 2D 和 3D 硬件加速。预计很快就会发布。

Are you planning to develop 3d or 2d games?

For 2d I could suggest Box2D for ActinoScript and Starling Framework.

Here is a nice demo and the main website.

http://www.adobe.com/devnet/flashplayer/articles/introducing_Starling.html

http://starling-framework.org/

Introduction to Starling http://shop.oreilly.com/product/0636920024217.do (free ebook)

UPDATE

http://blogs.adobe.com/digitalmedia/2012/02/mobile-gaming-gets-a-performance-boost-adobe-air-3-2-with-2d-and-3d-hardware-acceleration-announced/

Now 2D and 3D hardware accel. are expected to be released soon.

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