*Author

Offline PlanplanTopic starter

  • Jr. Member
  • **
  • Posts: 130
  • Country: fr
  • Reputation Power: 8
  • Planplan is a Spark waiting for a buff.
WIP : A custom card generator ? https://elementscommunity.org/forum/index.php?topic=4745.msg46703#msg46703
« on: April 01, 2010, 05:04:08 pm »
As suggested by some people, and because I wanted to help the less "techies" of us, who still have card ideas, I started working on a new project to fully generate custom cards.
I just post an early shot of what I've done so far, so you can give me suggestions, or maybe help me. The "card" below is a hardcoded one, generated with some words and some pictures.

I'm progressing slowly, and I'll make a small pause to finish something else. I almost don't know how to program in or AS3 (the language used in Flash), but want to learn. This project seems perfect for this. I'll first finish this prototype, then add inputs to customize the card text and art. To finish, I'm planning a crop and resize function for the custom art.
For the moment, everything is working but elements icons in the card description (and the "Graphic Art By ..." part too). I'm open the suggestions if someone know this language well. I have an idea to test, but it'll be still hard.

If you have other suggestions, feel free !

EDIT : OOPS ! I think I posted in Card Art instead of Card Idea  :-X

Scaredgirl

  • Guest
Re: WIP : A custom card generator ? https://elementscommunity.org/forum/index.php?topic=4745.msg47132#msg47132
« Reply #1 on: April 02, 2010, 09:53:06 am »
Great idea. I cannot wait to see the final version.

My knowledge in AS3 is very limited so I cannot help you with that I'm afraid.

Also it's difficult to give any other suggestions without seeing the prototype first. I mean we have no clue about the UI or how the thing actually works.

Anyways, good luck.

Kael Hate

  • Guest
Re: WIP : A custom card generator ? https://elementscommunity.org/forum/index.php?topic=4745.msg47212#msg47212
« Reply #2 on: April 02, 2010, 02:30:04 pm »
Awesome.

Can you read from a table?  Maybe convert to a plugin like the Deck generator? A person could then post an Idea in the card section like this and the plugin transfer the code to a card image? Even attach the art to their post and link the image to that same attachment.


***********************************************************************
 Name         : Cardname
 Card Element : Cardborder
 Level        : Basic
 Summon Cost  :  :Element Cost
 Type D|L     :  Type
 Text         :  "Card Text"
 Art          :  http://elementscommunity.org/forum/avs/avatar_1_1265921920.jpg
 **********************************************************************

icybraker

  • Guest
Re: WIP : A custom card generator ? https://elementscommunity.org/forum/index.php?topic=4745.msg47217#msg47217
« Reply #3 on: April 02, 2010, 02:35:27 pm »
Oh, so THAT'S what this is supposed to do! :D Great idea!

Another option: from an external page or a subsection of the forums, there will be an option to create a card, where you type in everything into the fields Kael Hate gave us. Then, it generates an image, which you can then save and attach to your posts via Screenshot Dumpster.

Scaredgirl

  • Guest
Re: WIP : A custom card generator ? https://elementscommunity.org/forum/index.php?topic=4745.msg47232#msg47232
« Reply #4 on: April 02, 2010, 03:04:29 pm »
The way I interpreted this, Planplan is going to do a standalone Flash program (swf-file) that does everything from creating the image to exporting it.

So it would be basically something like this: http://bighugelabs.com/motivator.php , only a Flash version.

That would make a lot more sense than to spend hours and hours of trying to integrate the code to our forum.

Astaroth

  • Guest
Re: WIP : A custom card generator ? https://elementscommunity.org/forum/index.php?topic=4745.msg47258#msg47258
« Reply #5 on: April 02, 2010, 04:02:41 pm »
Well, I was going to make a video tutorial on using the browser-based card creator, but this would cause no need for it. If/when this works, it will be amazing.

Offline Demagog

  • Legendary Member
  • ******
  • Posts: 2557
  • Reputation Power: 40
  • Demagog soars like the Phoenix, unable to be repressed.Demagog soars like the Phoenix, unable to be repressed.Demagog soars like the Phoenix, unable to be repressed.Demagog soars like the Phoenix, unable to be repressed.Demagog soars like the Phoenix, unable to be repressed.Demagog soars like the Phoenix, unable to be repressed.Demagog soars like the Phoenix, unable to be repressed.Demagog soars like the Phoenix, unable to be repressed.
  • New to Elements
Re: WIP : A custom card generator ? https://elementscommunity.org/forum/index.php?topic=4745.msg47269#msg47269
« Reply #6 on: April 02, 2010, 04:45:46 pm »
At least this will level the playing field for card idea comps...

Offline PlanplanTopic starter

  • Jr. Member
  • **
  • Posts: 130
  • Country: fr
  • Reputation Power: 8
  • Planplan is a Spark waiting for a buff.
Re: WIP : A custom card generator ? https://elementscommunity.org/forum/index.php?topic=4745.msg47276#msg47276
« Reply #7 on: April 02, 2010, 05:12:28 pm »
The way I interpreted this, Planplan is going to do a standalone Flash program (swf-file) that does everything from creating the image to exporting it.

So it would be basically something like this: http://bighugelabs.com/motivator.php , only a Flash version.

That would make a lot more sense than to spend hours and hours of trying to integrate the code to our forum.
Yes, I'm planning something like that, sorry for the lake of precisions, but it could be used online too. And I'm doing it in Flash because, with PHP, I can't render the fonts like Elements (Flash) do.

I have some difficulties mostly because I'm working only with free stuff (FlashDevelop) (I'm not a crazy open-source or free or whatever geek, but Adobe is too expensive for me, I'll prefer to buy mustard with this money :P )


What I have so far:
Code: [Select]
generateCard(     title    , element, type, cost, upgrade,                                   description                                 , attack, health, author)
generateCard('Purple Nymph',    1   ,  1  ,  '9',  false , '{1} {1} {1} {1} : Antimatter\nInvert the attack power of the target creature',   '3' ,  '1'  ,  null )
Generate this. (http://helltgivre.free.fr/elements/card.html)

Now I have to replace the "{1}" by the good element icon, and add inputs to enter the data.

Ohmega

  • Guest
Re: WIP : A custom card generator ? https://elementscommunity.org/forum/index.php?topic=4745.msg47293#msg47293
« Reply #8 on: April 02, 2010, 05:37:27 pm »
I hope you can make it.
You're doing much for this community.

Offline PlanplanTopic starter

  • Jr. Member
  • **
  • Posts: 130
  • Country: fr
  • Reputation Power: 8
  • Planplan is a Spark waiting for a buff.
Re: WIP : A custom card generator ? https://elementscommunity.org/forum/index.php?topic=4745.msg47321#msg47321
« Reply #9 on: April 02, 2010, 06:30:48 pm »
I'm doing this for me too, I finally found a simple and interesting project to learn Flash. And I know it'll be used by someone, it's more rewarding.
I'm not a good drawer, not a good talker (at least on the Internet, unless it's with someone I really know), I'm not a good organizer, or something else, just doing something I think I can achieve ;)

Offline PlanplanTopic starter

  • Jr. Member
  • **
  • Posts: 130
  • Country: fr
  • Reputation Power: 8
  • Planplan is a Spark waiting for a buff.
Re: WIP : A custom card generator ? https://elementscommunity.org/forum/index.php?topic=4745.msg49739#msg49739
« Reply #10 on: April 07, 2010, 04:27:45 pm »
I finished the first prototype of the generator ! You can try it HERE (http://helltgivre.free.fr/elements/card.html) !

The Author input do nothing for the moment, you can't upload pictures and you can't put Elements icons in the description.
But I think it should now give you a clear idea of my goal, and there's maybe already things I can improve (making it real time, without the need of pressing Generate, maybe some icons instead of text and menus, but I'll see the usability later...).

Ohmega

  • Guest
Re: WIP : A custom card generator ? https://elementscommunity.org/forum/index.php?topic=4745.msg49785#msg49785
« Reply #11 on: April 07, 2010, 06:22:40 pm »
Looks really nice!
Can'T wait till you finish it.

 

blarg: