as3 预加载用于分发

发布于 2024-07-29 18:19:13 字数 128 浏览 2 评论 0原文

因此,在 as3 中预加载的最简单方法是使用外部 .swf 来加载主 .swf。 由于我将在互联网上分发我的游戏,因此我只能使用一个 .swf。 最好的方法是什么? 我仍然可以使用外部方法,但以某种方式将成品合并到一个 .swf 中吗?

So the easiest way to preload in as3 would be to use an external .swf to load the main .swf. Since I will be distributing my game around the internet I can only use one .swf. What would be the best way to do this? Can I still use the external method but somehow combine the finished product into one .swf?

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

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

发布评论

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

评论(2

街角卖回忆 2024-08-05 18:19:13

您将如何在网络上分发游戏? 最简单的方法是分发加载程序 SWF,然后将游戏 SWF 集中到您控制的服务器上某处的单个位置。

您将获得两个好处:

  1. 分发更少(分发 SWF 加载程序是小菜一碟...并且无需进行任何实际配置)。

  2. 一个用于更新游戏的中心位置。 这将确保每个玩游戏的人都会玩最新版本。

How are you going to be distributing the game around the 'net? The easiest way would be to distribute the loader SWF and then keep the game SWF central to a single location somewhere on a server you control.

You get two benefits:

  1. Less to distribute (the loader SWF is a cinch to hand out...and there's no real configuration needed).

  2. One central location to update your game. That will ensure that everybody playing will be playing the latest version.

泪是无色的血 2024-08-05 18:19:13

不幸的是,如果您希望所有内容都包含在一个 SWF 文件中,则无法预加载您的游戏。

但是,如果您在某处有服务器空间,那么您可以创建一个预加载器来加载游戏的实际内容部分。

Unfortunately, if you want eveything to be contained in one SWF file, there is no way to also preload your game.

However, if you have server space somewhere, then you can create a preloader to load the actual meaty part of your game.

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