查看: 1945|回复: 0
打印 上一主题 下一主题

[unity之flash]自定义开机画面-个性化SWF

[复制链接]

3795

主题

2

听众

5万

积分

版主

Rank: 7Rank: 7Rank: 7

纳金币
53202
精华
32

活跃会员 优秀版主 推广达人 突出贡献 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2013-1-17 15:32:35 |只看该作者 |倒序浏览
old title:[Flash] Custom Splash Screen - Single SWF

原文标题:[unity之flash]自定义开机画面-个性化SWF



A few people have asked if it's possible to have a custom splash screen for your Unity published Flash games, whilst keeping the output as a single SWF file. This is useful for games portals etc, where you're often only able to upload a single SWF file.
有几个人问,如果有可能为通过unity发布的Flash游戏提供一个自定义开机画面,同时保持它作为一个个性化的SWF文件进行加载。这对于游戏门户网站等非常有用,因为你往往只有一个个性化的SWF文件能够上传。

A workaround for building a single SWF was previously posted in another thread by ParaLogic. I've taken that workaround and used it with our earlier Preloader example to show how you can have a custom splash screen for your Unity content in a single SWF file.
其中一个建立个性化的SWF的解决方案是借助Para Logic张贴在另一个线程上。我已经采取了这个解决方案,并用它与我们先前的预载的例子来演示:如何实现unity内容在个性化的SWF文件中自定义开机画面。



Attached to this post is a zip file containing 2 folders:
这篇帖子附件里是一个zip文件,其中包含2个文件夹:


BuiltExample - Contains the SWF and HTML file to ***n the built example

BuiltExample - 包括SWF和HTML文件,运行内置的例子

CustomSplashScreen -The source for the wrapper to make the custom splash screen. This folder is an FDT project, so if you're using FDT it should hopefully work straight away. If you're using another IDE, the contents of the libs/src folders are all you need to build the example.

CustomSplashScreen -自定义初始屏幕的包装器源代码。该文件夹是一个FDT的项目,所以如果您使用的是FDT,它应能马上运行。如果您使用其他IDE的libs/src目录文件夹的内容,这时需要你去构建例子。


The AS3 code in this example is very similar to previous examples so hopefully it should be easy to follow. This is a quick/simple workaround and by no means represents best practices. As with the other examples/demos, since the publish to Flash feature is still in developer preview, this example is subject to change in future releases.
在这个例子中的AS3代码与前面的例子非常相似,所以它应该很容易搞定。这是一个快速而简单的解决方法,但绝不代表最佳实践。就像其它的实例或者演示,自发布Flash功能以来,它仍处于开发者预览版,这个示例将在未来的版本中发生变化。(编译 驰骋的风  更多unity3d内容分享尽在web3D纳金网http://www.narkii.com/)


CustomSplashScreen-SingleSWF.zip请通过附件下载~

CustomSplashScreen-SingleSWF.zip

0 Bytes, 下载次数: 4

分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2025-7-22 15:26 , Processed in 0.093613 second(s), 35 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部