Welcome, Guest. Please login or register.
Did you miss your activation email?
2018-Nov-12 13:08

Login with username, password and session length

Recent

Shoutbox

Den:
Oct. 14 2018 - 5:03am
finally leveler cards is possible on card creator
Den:
Oct. 11 2018 - 12:43am
Vogon Full Art are so awesome
oohrah ;D
Den:
Oct. 09 2018 - 2:15am
KARA are Pretty Girls ... yeah yeah
Den:
Oct. 05 2018 - 2:02pm
Friday. get ready for more Last Man Standing  ;D
Den:
Oct. 03 2018 - 9:28pm
new card frames: Vogon HD, allows much more room for texts, incl. name, type, and esp. rules
Den:
Oct. 02 2018 - 7:48am
more card creator changes
Den:
Sep. 28 2018 - 5:08pm
Jim Morrison = Mr. Mojo Risin'
Den:
Sep. 19 2018 - 4:15pm
twit to image works again

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

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1193
  • 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))
.future sight card type icon (done: vogonhd, vogon full art)
.new frames: leveler, vanguard/avatar, scheme
.fix invalid karacters in names
.script to create all WotC cards
.monospace font for mana symbol texts (consistent size for centering) (done: vogonhd)
.high def images of frames (done: vogonhd)
.new symbols. Guilds
« Last Edit: 2018-Oct-19 09:15 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: 1193
  • 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: 1193
  • 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: 1193
  • 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.
« Last Edit: 2018-Oct-01 10:17 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1193
  • 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: 1193
  • 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: 1193
  • 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: 1193
  • 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: 1193
  • 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: 1193
  • 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: 1193
  • 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: 1193
  • 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: 1193
  • 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: 1193
  • 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: 1193
  • 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: 1193
  • 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: 1193
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator Aliases
« 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
 dcd  deals combat damage
 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-Oct-03 03:23 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1193
  • 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: 1193
  • 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

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1193
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #21 on: 2018-Sep-28 06:05 »
09/28/2018

- add delay timer to cclist.php to mitigate 503 Service Unavailable in Firefox, Chrome

09/29/2018

- added aliases:
= @dcd@ = deals combat damage

- font for card name, type, artist, creator: Fondamento
- font for power/toughness: Amiri
- playing card frame: mana cost vertically : added watermark :
- FPM frame: reverse mana cost order : center card name
- tweak artist and creator texts
- replace card types for Earth genre: Villain, Power (were Conspiracy, Phenomenon)

Pro-tip: Choose Earth genre to get types like "Super Villain", "Super Power",  "Super Villain Power".

10/01/2018

- form redesign: dropdown selectables: color, border, frame, symbols
- added choice of symbols (mana aesthestics)
- reorganize folders: fonts, symbols
- new mana symbols: 'f' for infinity, 'k' for planar chaos
« Last Edit: 2018-Oct-02 10:14 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1193
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #22 on: 2018-Oct-02 23:46 »
2008/10/02

- new page to showcase random cards: https://shenafu.com/magic/ccrand.php

2008/10/03

- new frame: Vogon HD: large, high resolution, more space for texts, including card name, type, rules, and P/T. mana vertical on top left. P/T at bottom left margin. set icon at bottom right corner. work in progress. see examples in attachment.

- converted to OOP classes: classicshift, vogonhd

2008/10/04

- ignore () parentheses in manacost
« Last Edit: 2018-Oct-05 01:48 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1193
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #23 on: 2018-Oct-06 21:48 »
2008/10/05

- bitbucket repo - https://bitbucket.org/Shenafu/online-card-creator/src

2008/10/06

- improve Vogon HD aesthetics - land - seams - blend - type icons

2008/10/07

- PW abilities accept more bracket types - [](){} or bracketless

2008/10/08

- vertical mana - don't reverse arrangement - instead user should use reverse notation in input; e.g. should be new standard notation
- genre and subtypes update immediately on element load - no more waiting for body onload

2008/10/09

- new frames: Vogon Full Art - art takes entire card

2008/10/10

; improve cardimage_makeLinearText() ; accepts array as argument ; added shadow option ;
; reorganize Frame dropdown selection ; Vogon HD and Full Art near the top
; Vogon Full Art ; shrink rules text box for planeswalkers

2008/10/11

; Vogon Full Art ; new method of compositing text ; write text on temporary image ; composite using imagick::COMPOSITE_LUMINIZE
; fix Vogon Full Art PW flavor text vertical alignment
; shrink Vogon Full Art rules text initial font size
; cclist and ccrand show 12 cards

2008/10/12

; change Vogon Full Art font for rules text ; Muli regular and Cantarell italic ; sans serif ; less aliasing
; PW rules text starting font size proportional to total (abilities + flavor texts)

« Last Edit: 2018-Oct-13 03:55 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1193
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #24 on: 2018-Oct-14 03:32 »
2008/10/13

` leveler cards under Vogon HD and Vogon Full Art frame ` P/T and levels separated by double semicolon ;; ` level values set between brackets [](){}
` hints for leveler

see examples in attachments

2008/10/14 - 15

; alter cardfuncs.php functions to accept arguments as arrays
; remaining frames into OOP classes and Imagick
; transparent images for FPM, Full Art

2008/10/18

; options hasshadow renamed to shadowcolor ; default FALSE
; Full Art artifact wrong filename
« Last Edit: 2018-Oct-19 02:40 by Den »

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1193
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #25 on: 2018-Nov-01 17:59 »
2018/11/01

; manacost accept any letter
; added Pokemon genre and energy symbols:

{c} Colorless
{d} Darkness
{o} Dragon
{y} Fairy
{f} Fighting
{r} Fire
{g} Grass
{l} Lightning
{m} Metal
{p} Psychic
{w} Water

Den

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1193
  • Selina is my Superstar
    • View Profile
    • Amuseum
Re: Shena'Fu's Online Card Creator
« Reply #26 on: 2018-Nov-08 17:31 »
2018/11/08

; Vogon HD ; Planeswalker art full height, with mask on bottom
; Vogon HD ; Planeswalker rules box and starting font size shrunk
« Last Edit: 2018-Nov-09 01:14 by Den »

 

5 Guests, 0 Users