Mapaler / PADDashFormation

Puzzle & Dragons Formation Maker and Card Guide
https://mapaler.github.io/PADDashFormation/
GNU General Public License v3.0
56 stars 12 forks source link
puzzle-and-dragons

智龙急速阵型 | P&D Dash Formation

这是一个智龙迷城队伍图制作工具。
This is a Puzzle & Dragons Formation Maker.

这个工具可以帮助你方便的制作和分享车队阵型或单人队形。电脑、智能手机上都可以轻松使用。
This tool can help you easily create and share Swipe Formation or Solo Formation. Easy to use on your PC and Smart Phone.

预览 | Preview

**单人 \ Solo** **2人协力 \ 2P**
单人界面预览 2人协力界面预览
3人协力 | 3P 手机 | Mobile
3人协力界面预览 手机端预览

如何使用 | HOW TO USE

推荐火狐浏览器 | Firefox is recommended

快速使用在线版(推荐) | Online Quick Start (Recommended)

创建你自己的镜像网站 | Create your own mirror web site

git clone到你的 http 服务目录即可访问,将来更新时只需要git pull即可。
git clone to your http service directory for visited, and git pull for future updates.

翻译我 | Translate me

目前支持的语言 | Languages currently supported

  1. 中文(简体)
  2. 中文(繁體)
  3. English
  4. 日本語 (スキル解析翻訳のヘルプが必要です, by Bing Translator)
  5. 북한/한국어 (스킬 구문 분석 번역에 도움이 필요, by Bing Translator)

How to Pull requests

  1. Click Fork In the page top right corner. Fork your own copy of this repository to your account.
  2. Use Git to clone/pull repository locally for modification (How to modify please see below).
  3. Use Git to commit and push changes to your repository on GitHub.
  4. Go to the Pull requests page in the top middle of this repository, and click the New pull request button.
  5. Click the Compare Across Forks button and select your fork, the page then displays the changes.
  6. Click the Create pull request button and enter the details of the modification, create your pull request.

Translate

  1. Go to the languages folder
  2. Push your language info into language-list.js.
    This is an Object for a language list item.

    {
      name: "English",
      i18n: "en",
      i18n_RegExp: /^en/i,
      searchlist: ["en","ja"],
      guideURL: id=>`http://www.puzzledragonx.com/en/monster.asp?n=${id}`
    }
    • name is the showed name in the list.
    • i18n is the language-tag for your language. You need to make sure that the file names are the same.
    • i18n_RegExp is a Regular Expressions to match multiple navigator.language (like /^en/i can match en-US, en-CA and en-AU).
    • searchlist is the search candidate list string order when you search monster in edit window.
      Currently only ja,en,ko,cht,chs languages.(See monsters-info)
    • guideURL is a Function(cardId,cardName) to return game guide URL for your language.

      //Full writing
      guideURL:function(cardId,cardName)
      {
      return "http://sample.com/pad/search.php?id=" + cardId + "&name=" + cardName;
      }
      
      //In ES6 be equivalent to
      guideURL:(cardId,cardName)=>`http://sample.com/pad/search.php?id=${cardId}&name=${cardName}`
      
      //If you only need cardId, can write to
      guideURL:cardId=>`http://sample.com/pad/search.php?id=${cardId}`
  3. Create your language's Localisation file [i18n].css and [i18n].js.
    Please refer to existing files.

权利归属 | Copyright

本软件灵感来源于PDC 智龙迷城伤害计算器
This software is inspired by PDC パズドラダメージ計算

© GungHo Online Entertainment Inc. All Cards Images && Info Right Reserved.
所有图片素材版权与怪物信息归属于GungHo在线娱乐有限公司。
パズル&ドラゴンズに関する画像及び情報等の権利はGungHo Online Entertainment Inc.に帰属します。

智龙迷城官网 | Puzzle & Dragons Official Website

© Fontworks Inc. Font Kurokane Right Reserved.
くろかね字体版权归属于Fontworks有限公司。
くろかね書体の権利は フォントワークス株式会社 に帰属します。

卡片中文名、中文分类来自于Puzzle & Dragons 戰友系統及資訊網

使用开源软件 | Open source software used