本文介绍了做的Flash游戏的可下载版本,最好的方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经做了一个游戏,闪光,我想人们宁愿玩离线提供一个简单的下载。事情是,我使用的文件夹结构整体动态加载每个级别的内容。文件夹结构看起来像这样,这不是问题,许多:

I already made a game with flash, and I want to provide an easy download for people that would rather play offline. Thing is, i use a folder whole structure to dynamically load content per level. Folder structure looks like this, not that it matters that much:

游戏文件夹

  • 动画
    • anim1.swf
    • anim2.swf
    • animations
      • anim1.swf
      • anim2.swf
      • music1.mp3
      • soundeffect1.mp3
      • level1.lev
      • level2.lev

      我应该如何去分配呢?如果我只是诉诸做一个​​zip文件的Flash游戏,并假定人知道如何提取并打开瑞士法郎?是否有任何其他方式来港方便地为可执行?也许Adobe AIR的(不知道这工作虽然)?

      How should I go to distribute this? Should I just resort to make a zip file for the flash game and assume people know how to extract and open the swf? Is there any other way to port easily as an executable? Perhaps Adobe Air (not sure if this works though)?

      感谢,并请大家帮忙!

      推荐答案

      分发的zip文件是唯一的选择,如果你真的想要的结构,以prevail。否则,

      Distributing a zip file is the only option if you really want that structure to prevail. Else,

      • 嵌入在main(myGame)SWF和功放的所有资源;发布。
      • 对于谁没有安装独立的Flash播放器的人提​​供一个HTML页面。

      嵌入作为单个文件允许浏览器缓存单个SWF和放大器;让玩家继续玩脱机状态,直到缓存被清除。因此,用户甚至不需要一个明确的下载。

      Embedding as a single file allows the browser to cache the single swf & allow the player to keep playing offline until cache is cleared. So user might not even need an explicit download.

      这篇关于做的Flash游戏的可下载版本,最好的方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-23 13:04