Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

ygo-card is a javascript SDK for rendering YuGiOh card

License

NotificationsYou must be signed in to change notification settings

ymssx/ygo-card

Repository files navigation

中文

This is a javascript SDK for rendering YU-GI-OH card. Importygo-card in your website, you can easily paint the standard YU-GI-OH cards!

DOCUMENT


Usage

$ yarn add ygo-card# or$ npm i ygo-card -D --save
import{Card}from'ygo-card';constcanvas=document.getElementById('card');constdata={name:'Ghost Ogre & Snow Rabbit',_id:'59438930',type:'monster',type2:'effect',type3:'tuner',attribute:'light',level:3,race:'Psychic',desc:'When a monster on the field activates its effect, or when a Spell/Trap that is already face-up on the field activates its effect (Quick Effect): You can send this card from your hand or field to the GY; destroy that card on the field. You can only use this effect of "Ghost Ogre & Snow Rabbit" once per turn',attack:0,defend:1800,};constcard=newCard({ data, canvas,moldPath:'./dist/mold'});card.render();

Document

DOCUMENT


DEMO

🔗 DIY ONLINE #yami

🔗 Render Deck PDF #msk86


About

ygo-card is a javascript SDK for rendering YuGiOh card

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp