Adding cards?
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Adding cards?
by voodoo ninja » 04 Aug 2009, 00:04
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?
- voodoo ninja
- Posts: 1
- Joined: 03 Aug 2009, 23:48
- Has thanked: 0 time
- Been thanked: 0 time
Re: Adding cards?
by Rob Cashwalker » 04 Aug 2009, 02:44
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.
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.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Adding cards?
by mtgrares » 05 Aug 2009, 17:21
I like the phrase: copy, paste, tweak. Tweak is just a synonym for bug.
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: JustinzeStymn and 13 guests