You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 6.6 kB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
5 years ago
7 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. 智龙急速阵型 | P&D Dash Formation
  2. ======
  3. 这是一个智龙迷城队伍图制作工具。
  4. This is a Puzzle & Dragons Formation Maker.
  5. 这个工具可以帮助你方便的制作和分享车队阵型或单人队形。电脑、智能手机上都可以轻松使用。
  6. This tool can help you easily create and share Swipe Formation or Solo Formation. Easy to use on your PC and Smart Phone.
  7. ### 预览 | Preview
  8. | **单人 \| Solo** | **2人协力 \| 2P** |
  9. | :---: | :---: |
  10. | ![单人界面预览](doc/images/preview-capture-1p.png) | ![2人协力界面预览](doc/images/preview-capture-2p.png) |
  11. | **3人协力 \| 3P** | **手机 \| Mobile** |
  12. | ![3人协力界面预览](doc/images/preview-capture-3p.png) | ![手机端预览](doc/images/preview-mobile.jpg) |
  13. # 如何使用 | HOW TO USE
  14. 推荐[![][firefox]火狐浏览器](https://www.mozilla.org/firefox/new/) | [![][firefox]Firefox](https://www.mozilla.org/firefox/new/) is recommended
  15. ## 快速使用在线版(推荐) | Online Quick Start (Recommended)
  16. * <https://mapaler.github.io/PADDashFormation/> (Github Pages)
  17. * <https://mapaler.com/PADDashFormation/> (我自己的镜像 | my own mirror)
  18. > *Gitee* 的镜像已经停止更新。
  19. > The mirror of *Gitee* has stopped updating.
  20. ## 创建你自己的镜像网站 | Create your own mirror web site
  21. `git clone`到你的 *http* 服务目录即可访问,将来更新时只需要`git pull`即可。
  22. `git clone` to your *http* service directory for visited, and `git pull` for future updates.
  23. ## 下载后使用本地版 | Use the local version after downloaded
  24. [下载压缩包](../../archive/refs/heads/master.zip)或`git clone`后使用浏览器打开`index.html`。
  25. [Download ZIP](../../archive/refs/heads/master.zip) or `git clone`, and open the `index.html` with Browser.
  26. * 火狐68.0及以后需要在`about:config`设定`privacy.file_unique_origin`为`false`。
  27. Firefox 68.0 or above need setting the `privacy.file_unique_origin` to `false` in `about:config`.
  28. * Chrome需要添加`--allow-file-access-from-files`启动参数。
  29. Chrome browser need start with the additional argument `--allow-file-access-from-files`.
  30. # 翻译我 | Translate me
  31. ## 目前支持的语言 | Languages currently supported
  32. 1. 中文(简体)
  33. 1. 中文(繁體)
  34. 1. English
  35. 1. 日本語 (by Bing Microsoft Translator)
  36. 1. 한국어 (by Bing Microsoft Translator)
  37. ## How to **Pull requests**
  38. 1. Click **Fork** In the page top right corner. Fork your own copy of this repository to your account.
  39. 1. Use Git to clone/pull repository locally for modification (How to modify please see below).
  40. 1. Use Git to commit and push changes to your repository on GitHub.
  41. 1. Go to the **[Pull requests](../../pulls)** page in the top middle of this repository, and click the **New pull request** button.
  42. 1. Click the **Compare Across Forks** button and select your fork, the page then displays the changes.
  43. 1. Click the **Create pull request** button and enter the details of the modification, create your pull request.
  44. ## Translate
  45. 1. Go to the `languages` folder
  46. 1. Push your language info into `language-list.js`.
  47. This is an Object for a language list item.
  48. ```js
  49. {
  50. name: "English",
  51. i18n: "en",
  52. i18n_RegExp: /^en/i,
  53. searchlist: ["en","ja"],
  54. guideURL: id=>`http://www.puzzledragonx.com/en/monster.asp?n=${id}`
  55. }
  56. ```
  57. * `name` is the showed name in the list.
  58. * `i18n` is the language-tag for your language. You need to make sure that the file names are the same.
  59. * `i18n_RegExp` is a *Regular Expressions* to match multiple `navigator.language` (like `/^en/i` can match `en-US`, `en-CA` and `en-AU`).
  60. * `searchlist` is the search candidate list string order when you search monster in edit window.
  61. Currently only `ja`,`en`,`ko`,`cht`,`chs` languages.(See [monsters-info](monsters-info))
  62. * `guideURL` is a **Function(cardId,cardName)** to return game guide URL for your language.
  63. ```js
  64. //Full writing
  65. guideURL:function(cardId,cardName)
  66. {
  67. return "http://sample.com/pad/search.php?id=" + cardId + "&name=" + cardName;
  68. }
  69. //In ES6 be equivalent to
  70. guideURL:(cardId,cardName)=>`http://sample.com/pad/search.php?id=${cardId}&name=${cardName}`
  71. //If you only need cardId, can write to
  72. guideURL:cardId=>`http://sample.com/pad/search.php?id=${cardId}`
  73. ```
  74. 1. Create your language's Localisation file `[i18n].css` and `[i18n].js`.
  75. Please refer to existing files.
  76. # 权利归属 | Copyright
  77. > 本软件灵感来源于[PDC 智龙迷城伤害计算器](//play.google.com/store/apps/details?id=com.corombo13.paddamagecal)
  78. > This software is inspired by [PDC パズドラダメージ計算](//play.google.com/store/apps/details?id=com.corombo13.paddamagecal)
  79. > © GungHo Online Entertainment Inc. All Cards Images && Info Right Reserved.
  80. > 所有图片素材版权与怪物信息归属于GungHo在线娱乐有限公司。
  81. > パズル&ドラゴンズに関する画像及び情報等の権利はGungHo Online Entertainment Inc.に帰属します。
  82. > ### 智龙迷城官网 | Puzzle & Dragons Official Website
  83. > * [パズル&ドラゴンズ](http://pad.gungho.jp)
  84. > * [龍族拼圖](https://pad.gungho.jp/hktw/pad/)
  85. > * [Puzzle & Dragons](https://www.puzzleanddragons.us/)
  86. > * [퍼즐앤드래곤](https://pad.neocyon.com/W/)
  87. > © Fontworks Inc. Font Kurokane Right Reserved.
  88. > くろかね字体版权归属于Fontworks有限公司。
  89. > [くろかね書体](https://fontworks.co.jp/fontsearch/kurokanestd-eb/)の権利は フォントワークス株式会社 に帰属します。
  90. > 卡片中文名、中文分类来自于[Puzzle & Dragons 戰友系統及資訊網](https://pad.skyozora.com/)
  91. # 使用开源软件 | Open source software used
  92. * [pad-rikuu](//github.com/kiootic/pad-rikuu) //Data structure and parser
  93. * [Puzzle-and-Dragons-Texture-Tool](//github.com/codywatts/Puzzle-and-Dragons-Texture-Tool) //Extract Images
  94. * [zxing-js](//github.com/zxing-js/library) //Read, Write QR Code
  95. * [html2canvas](//github.com/niklasvh/html2canvas) //Capture Image
  96. * [aaa](//github.com/jy4340132/aaa) //Play voice(ADPCM wav)
  97. * [Font Awesome Free](https://github.com/FortAwesome/Font-Awesome) //Font Icon
  98. * [Zpix (最像素)](//github.com/SolidZORO/zpix-pixel-font) //Pixel Font
  99. * [font-spider](//github.com/aui/font-spider) //Compression Font file
  100. [firefox]: https://www.mozilla.org/media/img/firefox/favicon.ico

智龙迷城队伍图制作工具