Page 1 of 1

Adding cards?

PostPosted: 04 Aug 2009, 00:04
by voodoo ninja
What's the general method for adding cards into the game? Do you just add things into the cards.txt file? And then how do I get the art into the game as well? I don't really know how to code things (my limited java is self taught) but I'm able to fill things into a template easily enough. Thanks in advance?

Re: Adding cards?

PostPosted: 04 Aug 2009, 02:44
by Rob Cashwalker
Just about all the cards that can be done with just cards.txt are in cards.txt.

Look at the source code mostly in CardFactory.java. I don't have any real understanding of Java - just general programming concepts. CardFactory reads almost like a book. And what's missing is thrown around in a few other java files.

We're working towards adding more support for plain-text cards, which requires code to be written to support it. We've only got a few guys working on the project, so if you have any interest, give it a shot. We should have at least some form of most mechanics implemented already, so it's mostly a copy/paste and tweak process.

Re: Adding cards?

PostPosted: 05 Aug 2009, 17:21
by mtgrares
I like the phrase: copy, paste, tweak. Tweak is just a synonym for bug. :D