Welcome, Guest. Please login or register.
Did you miss your activation email?
2018-Sep-23 00:02

Login with username, password and session length

Recent

Shoutbox

Den:
Sep. 19 2018 - 4:15pm
twit to image works again
Den:
Sep. 18 2018 - 4:06am
riders on the storm
Den:
Sep. 16 2018 - 1:07am
Gnomish uprising
Den:
Sep. 15 2018 - 5:44pm
keywords updated on ccgsearch
Den:
Sep. 14 2018 - 3:07am
fixed up daccg.com/ccgsearch/

since magiccards.info is gone, and cant find simple fast replacement
Den:
Sep. 09 2018 - 7:26am
Xayvir, Game Designer
Den:
Sep. 02 2018 - 2:49am
improved card creator Planeswalker frame
Den:
Aug. 28 2018 - 2:54pm
completed lists of plen things in relation to jung archetypes

Author Topic: Shena'Fu's Online Card Creator  (Read 19428 times)

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Shena'Fu's Online Card Creator
« on: 2009-Aug-20 11:33 »
Someone on MTGSalvation suggested making a client-server card creator. So I created this online card creator.

Please post only issues or suggestions for the online card creator in this topic.

Please post you card creations at the other topic.

Images by FirePenguinMaster et al.

Over 110,000 cards have been created since 2009.

Changelog
Spoiler:
8/22/17
Added QR code for card image

6/22/17
Rearranged form fields
Hide hints/instructions by default
Added Show Instructions button

6/20/17
Make radio buttons label clickable

6/16/17
Added Genres, which alters the card types and supertypes. [Magic, Earth, Space]

6/15/17
Added CBG frame

6/14/17
Added Classic-Shifted Art BG frame

6/13/17
Card list by creator @ https://shenafu.com/magic/cclist.php?creator=

11/7/16
Added Full Art frame

11/5/16
Allow set icon and rarity. (not done for all frames yet.)
Use imagick instead of gd. (not done for all frames yet.)
Better help section.

10/20/16
Added energy mana. Use 'e' in mana cost or {e} in rules text.

4/18/16
Change Classic and Modern frames to Amiri bold font type:

1/13/16
Added colorless mana symbol (diamond shaped).

10/18/15
Added Planeswalker, flip and split frames.
Main font Molengo-Regular.ttf
Rules text parse word by word (in filp and split.) (Was line by line).

1/1/13
Hybrid and Phyrexian mana in the form 2/c, c/2, c/d, d/c, p/c, c/p. e.g. 2/ww/p

4/1/12
Image URL shorter and more legible.

11/20/11
Added Creator field.

1/8/11:
Added Planar Chaos aka "Planeshift" and FirePenguinMaster's (FPM) frames.

11/17/10
Added supertype Ongoing, types Scheme and Emblem

5/20/10
Added Space frames.

5/13/10
Added future-shifted frames.

5/11/10:
Added 8th edition (modern) frames.

TODO
all frames parse rules text word by word (not done: FPM, Space)
card number
future sight card type icon
new frames: leveler, vanguard/avatar, scheme
fix invalid karacters in names
add supertype: Host
script to create all WotC cards
playing card frame: mana cost vertically
« Last Edit: Yesterday at 04:02 PM by Den »
Support me on Patreon

I saw. I conquered. I came.

Dykotomee

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Online Card Creator
« Reply #1 on: 2011-Sep-05 10:43 »
I'm an experienced PHP/JavaScript developer, and of all the CC tools out there, yours seems to look the most promising. Is there any chance of collaboration on this? I'd love to further the project, and I have some ideas I can suggest too.

- Michael

~ ><>
« Last Edit: 2018-Jul-09 14:46 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Online Card Creator
« Reply #2 on: 2011-Sep-14 22:18 »
I'm interested in hearing your ideas and how you plan to expand on the CC.

bakert

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Online Card Creator
« Reply #3 on: 2012-Jun-14 04:30 »
Hey.  Thanks for approving my membership.  I tried to join to comment on this thread about the card creator.  I think we ended up having a conversation on MTG Salvation already.

Still interested in the source to have a go at adding hybrid and as insurance in case your version disappears but very happy with the program!

Thanks!

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Online Card Creator
« Reply #4 on: 2015-Oct-18 22:25 »
Added flip and split frames. Flip and split cards: use ;; to separate each half in corresponding fields. (e.g. Fire;;Ice) For an example, see Fire;;Ice and Budoka Gardener;;Dokai, Weaver of Life

Added Planeswalker frames.
Ex. Koth of the Hammer
« Last Edit: 2015-Oct-20 16:29 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Online Card Creator
« Reply #5 on: 2016-Jan-13 20:40 »
Added colorless mana. Use 'c' in mana cost or {c} in rules text.


Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Online Card Creator
« Reply #6 on: 2016-Apr-19 00:30 »
Change Classic and Modern frames to Amiri bold font type: https://github.com/google/fonts/tree/master/ofl/amiri
« Last Edit: 2016-Apr-19 01:30 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Online Card Creator
« Reply #7 on: 2016-Nov-05 18:48 »
  • Added energy mana. Use 'e' in mana cost or {e} in rules text.
  • Allow set icon and rarity. (not done for all frames yet.)
  • Use imagick instead of gd. (not done for all frames yet.)
  • Better help section.

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Online Card Creator
« Reply #8 on: 2016-Nov-07 23:01 »
  • Added Full Art frame

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Online Card Creator
« Reply #9 on: 2017-Jun-13 22:42 »
https://shenafu.com/magic/cclist.php?creator=

You can view a list of all your cards via above URL and add your creator name at the end of the address.

Over 110,000 cards have been created since 2009.
« Last Edit: 2018-Sep-08 15:01 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Online Card Creator
« Reply #10 on: 2017-Jun-15 02:56 »
6/14/17
Added Classic-Shifted Art BG frame

6/15/17
Added CBG frame

6/16/17
Added Genres, which alters the card types and supertypes. [Magic, Earth, Space]
« Last Edit: 2017-Jun-16 23:41 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Online Card Creator
« Reply #11 on: 2017-Jun-20 23:05 »
6/20/17
Make radio buttons label clickable

6/22/17
Rearranged form fields
Hide hints/instructions by default
Added Show Instructions button

« Last Edit: 2017-Jun-22 09:39 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Online Card Creator
« Reply #12 on: 2017-Aug-22 05:53 »
8/22/17
Added QR code for card image

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #13 on: 2017-Oct-03 06:16 »
10/03/2017
  • Form more compact
  • Flex layout
  • Fonts:
    • text = Itim
    • header = Fondamento
  • Instructions in Markdown; converted to HTML with JS library
« Last Edit: 2017-Oct-05 00:14 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #14 on: 2017-Oct-14 07:54 »
10/14/2017

added Delayed supertype

10/30/2017

added direct link to view the list of cards by creator
« Last Edit: 2017-Oct-30 22:06 by ADMIN »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #15 on: 2018-Jan-24 23:29 »
1/24/2018

blended trims and rules box for two-color cards (in classic, modern, and planeshift frames for now). takes into account mana symbols in both mana cost and rules text.

1/27/2018

added Token supertype
« Last Edit: 2018-Feb-20 01:47 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #16 on: 2018-Feb-04 01:51 »
2/3/2018

added Playing Card frame

Playing cardOptions
 Rank  P/T
 Suit  Set Icon or Mana Cost
 Title  Subtype
 Art and Rules + Flavor Text  Overlap in the center


Thus you can use playing card frame for a card with nothing but a bunch of text. If you have art with transparent background, you can try to overlap the art and rules text for something fancy.
« Last Edit: 2018-Feb-22 01:02 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #17 on: 2018-Sep-02 02:19 »
9/1/2018

- converted Planeswalker frame to Imagick
- centered rules text vertically

9/2/2018

- set timeout for art URL

9/3/2018

- Planeswalker frame to accept nonloyalty abilities
- Planeswalker frame to accept any amount of abilities
- flavortext emdash
- set rules text font to amiri-regular
- fix apostrophe in cardnames in database
- remove duplicate cardnames in database
- cardname font: Kurale

9/4/2018

- more spacing between rules and flavor texts
- trim extraneous newlines and whitespace
- support watermark

9/5/2018

- fix mana symbols cut off
- prevent recursive art
- fix finally really fit long text inside box

9/6/2018

- converted Future frame to Imagick
- Unemploy word wrap to find font size. Reiterate whole texts word by word. Slower, but should be more consistent in outputting biggest text size that fits the text box.

9/7/2018

- sanitize query
- aliases as replacement strings (between two @@ symbols)

9/8/2018

- text render: early escape when lettery exceeds textboxheight, instead of processing entire text
- increase initial rules text size
- separate instructions page: https://shenafu.com/magic/cchints.php

9/9/2018

- moved alias replacements to client side javascript
« Last Edit: 2018-Sep-09 03:54 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #18 on: 2018-Sep-08 02:27 »
List of aliases. Enclose alias on the left column between two @@ symbols. For instance, @ett@ in rules text will become 'enters the battlefield tapped'. Some aliases will take a variable. For instance @dd2@ becomes 'deals 2 damage'. Some aliases have both lower- and upper-case versions.

 gy  graveyard
 bf  battlefield
 lib  library
 syl  search your library
 Syl  Search your library
 pt  power and toughness
 ias  instant and sorcery
 ios  instant or sorcery
 to  target opponent
 To  Target opponent
 tc  target creature
 Tc  Target creature
 tcp  target creature or player
 tcpw  target creature or planeswalker
 tcy  target creature you control
 Tcy  Target creature you control
 tco  target creature an opponent controls
 Tco  Target creature an opponent controls
 tp  target player
 Tp  Target player
 tpw  target planeswalker
 youpw  you or a planeswalker you control
 anyt  any target
 ec  each creature
 Ec  Each creature
 ecy  each creature you control
 Ecy  Each creature you control
 cy  creature you control
 cys  creatures you control
 Cys  Creatures you control
 cmc  converted mana cost
 et  enters the battlefield
 ett  enters the battlefield tapped
 uet  until end of turn
 Uet  Until end of turn
 dd([0-9xyzXYZ]+)  deals $1 damage
 g(\+|\-)([0-9xyzXYZ]+)  get $1$2/$1$2
 gs(\+|\-)([0-9xyzXYZ]+)  gets $1$2/$1$2
 emblem  You get an emblem with "
 upkyou  At the beginning of your upkeep
 upkopp  At the beginning of each opponent's upkeep
 upkall  At the beginning of each player's upkeep
 endyou  At the beginning of your end step
 endnext  At the beginning of the next end step
 ctr(.*)  put a $1 counter on
 Ctr(.*)  Put a $1 counter on
« Last Edit: 2018-Sep-10 19:27 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #19 on: 2018-Sep-10 06:54 »
9/10/2018

- added frames: classicshift (=default frame), CBG Horizontal (good for sideways card, long texts, vertical arts, and PWs)
- card type font: Kurale

9/10/2018

- font for card name, type, P/T: Arima Madurai (bold) (most frames), Righteous (CBG Horizontal frame)

9/13/2018

- added card types: Elite, Hero, Conspiracy, Phenomenon. Also Magical and Super for Earth genre.

Pro-tip: You can get "Super Hero" on the type line by choosing Earth genre.

- remove emdash if no supertype and type

« Last Edit: 2018-Sep-13 15:58 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1180
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #20 on: 2018-Sep-17 16:36 »
9/17/2018

- added supertype: Host
- changed Space supertype: Elite -> Mega

 

4 Guests, 0 Users