All Projects → hackjutsu → Herocards

hackjutsu / Herocards

Licence: mit
🗡⚔️ 🛡 Character Playing Card Maker

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Herocards

Notebook
🍎 笔记本
Stars: ✭ 381 (+214.88%)
Mutual labels:  html-css
Notes Summary
知识梳理、总结,写博客的地方。欢迎star
Stars: ✭ 58 (-52.07%)
Mutual labels:  html-css
Coderbbs
Hibernate+Servlet+Bootstrap 简易论坛
Stars: ✭ 96 (-20.66%)
Mutual labels:  html-css
Mf Blogstarter
Eleventy + Tailwind CSS blog starter by Marc Filleul
Stars: ✭ 21 (-82.64%)
Mutual labels:  html-css
Front End Developer Questions
前端开发面试题,已基本更新完毕。(后续会补充)
Stars: ✭ 49 (-59.5%)
Mutual labels:  html-css
Drop
A small CSS component that turns browser-native <details> elements into dropdown menus.
Stars: ✭ 69 (-42.98%)
Mutual labels:  html-css
Python web crawler da ml dl
python从最基础的语法历经网络基础、前端基础、后端基础和爬虫与数据基础走向机器学习
Stars: ✭ 272 (+124.79%)
Mutual labels:  html-css
Flexy
Flexy is minimal CSS framework made with Flex
Stars: ✭ 114 (-5.79%)
Mutual labels:  html-css
Flutter html
A Flutter widget for rendering static html as Flutter widgets (Will render over 80 different html tags!)
Stars: ✭ 1,046 (+764.46%)
Mutual labels:  html-css
Front End Discourse
A place to discuss what it means to be a front-end developer.
Stars: ✭ 84 (-30.58%)
Mutual labels:  html-css
Frontend Tutorials
📘 Frontend Tutorials and Tricks — 前端技巧和教程
Stars: ✭ 33 (-72.73%)
Mutual labels:  html-css
Livecoding.tw
官網
Stars: ✭ 42 (-65.29%)
Mutual labels:  html-css
Hacktoberfest 20
This repository aims to cater to all users from beginners to advanced in this Hacktober'20. Everyone will surely have a take away form this. Happy Hacktober !!
Stars: ✭ 78 (-35.54%)
Mutual labels:  html-css
Responsive Grid Of Hexagons
CSS responsive grid of hexagons
Stars: ✭ 481 (+297.52%)
Mutual labels:  html-css
Sciter Sdk
Sciter is an embeddable HTML/CSS/scripting engine
Stars: ✭ 1,690 (+1296.69%)
Mutual labels:  html-css
Saltgui
A web interface for managing SaltStack based infrastructure.
Stars: ✭ 278 (+129.75%)
Mutual labels:  html-css
Pure Css3 Animated Border
Pure CSS3 animated border for all html element.
Stars: ✭ 63 (-47.93%)
Mutual labels:  html-css
Cool Music
🎵A music app based on Vue
Stars: ✭ 114 (-5.79%)
Mutual labels:  html-css
The Matrix Effect
The incredible effect of rain of letters in the style of the Matrix trilogy.
Stars: ✭ 109 (-9.92%)
Mutual labels:  html-css
Css Essential Training
Exercise files for the CSS Essential Training course on LinkedIn Learning and Lynda.com
Stars: ✭ 80 (-33.88%)
Mutual labels:  html-css

Note: This project creates custom character cards(like Bang!) based on users' input. It's optimized for Chinese characters, and won't work for western languages out of box. (Might work for Japanese and Korean.) Therefore only Chinese instruction is provided here.

Please let me know if you want other language support.

英雄卡牌生成器

利用HTML+CSS+NodeJS+PhantomJS生成三国杀风格的人物卡牌。

上图中的头像经prisma处理,该项目不包含图片滤镜功能。如果有免费开源滤镜推荐,可以自己集成哦~

使用说明

npm install
node automation.js

把图片和描述人物的JSON文件放到./data/中,图片名字必须与JSON文件中的id相同。可接受图片格式为

  • png/PNG
  • jpg/jpeg/JPG/JPEG

例子

./data/中有zhangsanfeng.jsonzhangsanfeng.jpg。 其中JSON文件内容如下:

{
  "id": "zhangsanfeng",
  "clan": "武当",
  "blood_number": "4",
  "nickname": "一代宗师",
  "name": "张三丰",
  "skills_group": [
    {
      "title": "突袭",
      "description": "摸牌阶段,可以放弃摸牌,然后从至多两名(至少一名)角色的手牌里各抽取一张牌。"
    },
    {
      "title": "铁骑",
      "description": "当使用【杀】指定一名角色为目标后,可以进行判定,若结果为红色,此【杀】不可被闪避。"
    }
  ]
}

Note: skills_group可以省略,详情参考issue #1

FAQ

Q: 会制作一个GUI方便大家使用吗? A: 欢迎PR。

Q: 中文字体能够商用么? A: 可以。

Q: 可以修改主题吗? A: 可以在templates文件夹中建立自己的html template。

打印效果

printed.jpg

License

MIT @CosmoX

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].