Sunday, February 20, 2011

Card Creatures code base and creating card art

I'm posting the first stable version of our game! Only, it's not really a game yet, since there are no rules for capturing cards yet. But you can alternate turns with a super-dumb AI player, placing cards on the board. And more importantly, you can test new art for the cards in-game:
  1. Download it here.
  2. Double click on CardGame.swf or drag and drop it into your web-browser to play the game - you'll get an error message on screen about missing image files, just click on it to make it go away.
  3. Add your own images for existing cards, or make new cards!
    1. Double click on CardDef.ini - it should open in Notepad. This is where the available cards are specified. Any line starting with ; is a comment and is ignored by the program. Any line with [ ] around it is the name of a card. The next line is the four numbers on the card (we might go with more than four numbers later, but this is just a start). The next line (if there is one) is how much randomness there is for the four numbers. Add more card definitions like that to this list if you want.
    2. Open the folder img/cards. This is where you should put the images for the cards. The images should be named the same thing as the card name from CardDef.ini. So, the first card in that list should have a file named level1.1.png. Please change the names in that file so that they match the actual picture though! Because "Bugbear" is a cooler name for a card than "level1.1". Card names can probably only be 1 word though.
    3. Play the game to see your image on the card in action! Cards are picked randomly for the 2 hands right now.
PLEASE let me know if it doesn't work or if it's too confusing of a process. I really want feedback to improve how we work on the game. You don't have to do this right away of course, just try it out sometime when you're working on the creature designs.

No comments:

Post a Comment