Puzzle & Dragons Formation Maker and Card Guide
GPL-3.0 License
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.
** | Solo** | 2 | 2P |
---|---|
3 | 3P | ** | Mobile** |
| is recommended
git clone
http git pull
git clone
to your http service directory for visited, and git pull
for future updates.
languages
folderlanguage-list.js
.{
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.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}`
[i18n].css
and [i18n].js
.GungHo Online Entertainment Inc. All Cards Images && Info Right Reserved. GungHo &GungHo Online Entertainment Inc.
| Puzzle & Dragons Official Website