Page 1 of 1

Deck-builder sneak peek

PostPosted: 04 Aug 2011, 12:31
by madmarcel
Sneak peek of what I'm working on at the moment...

Not much too look at just yet, but I've got the 'live' search working,
only filters missing are full text search and filter by set (because we haven't got that data in the card definition file :)

It's well past midnight, I'll have another tinker tomorrow night and change the code so that you can combine filters.
i.e.
Code: Select all
conv:3 type:knight {W}{W}
would find
all knight creature cards with converted casting cost of {3} and a casting cost that contains {W} {W}

Big ugly tooltip:
ImageBigger is better, find cards with converted casting cost of {7} :
Image

Feel free to suggest features you would like to see in the deckbuilder...

Initial goal is to run this as separate app and just be able to load and save decklists to .dec files, you would still have to load your newly made deck from inside the MagArena program.

Re: Deck-builder sneak peek

PostPosted: 04 Aug 2011, 12:52
by melvin
Looks awesome =D> The advance search is a nice feature, reminds me of the advance search page at http://magiccards.info/search.html Perhaps you can consider using a similar syntax as magiccards.info since folks may be familiar with that.

Re: Deck-builder sneak peek

PostPosted: 04 Aug 2011, 14:43
by beholder
Hooray! :) good job.

What will happen to the card explorer now? Will this replace it?

Re: Deck-builder sneak peek

PostPosted: 04 Aug 2011, 15:22
by melvin
Hard to say, the card explorer is integrated into the game while the deck editor is a separate program. So for simple browsing while playing the game, the card explorer is still useful. For serious deck building, the deck editor will be the tool of choice.

Re: Deck-builder sneak peek

PostPosted: 04 Aug 2011, 17:05
by ubeefx
Nice work! :)

For the conv: filter, maybe you can use cmc:, which is the abbreviation for converted mana cost, as in gatherer.
The Add 1 and Add 4 buttons are cool, but why no have all of them (+1, +2, +3 and +4).
Instead of making it a separate app, add a "Deck Builder..." option to menu.
That just starts the deck builder as a separate frame.
When you are done editing, close the deck editor and you can play with the deck.

Re: Deck-builder sneak peek

PostPosted: 05 Aug 2011, 05:34
by madmarcel
Just had a tinker, can now use multiple filters, so
Code: Select all
conv:3 type:knight {W}{W}
now works, so my list of filters is now any combination of:

Code: Select all
pow|power:X|X+
tough|toughness:X|X+
rare|rarity:c|b|r|m|u
type:creature|artifact|enchantment|aura|equipment|land|instant|sorcery|legendary|<creaturetype>
cmc|ccc|conv:X|X+
{G|B|U|W|R|X
mana:w|b|r|g|u
where X of course is any number.

will add these four later
set: ...
block: ...
text:<anything>
format:standard|extended|legacy|vintage

Not too fussed about having filters the same as MtG or Magiccards website at the moment, just want get it working and out there for people to use and we'll go from there. Going to work on the important part tonight...the actual deck 'views'.

Have only put in +1 and +4 buttons, seems sufficient to me and only have limited space there.

I am tempted to add a 'card browser' mode, like the old shandalar game. (enable/disable with a toggle)
A list of cardnames and fancy search filters is nice if you know what you are looking for, but it doesn't quite match up to rifling through a pile of cards, especially if you are a new player and/or unfamiliar with what a lot of the cards do.
So this would be a bar at the bottom of the screen where you could see say 10 cards at once and you can flick 10 cards left or right. Something like that...

Re: Deck-builder sneak peek

PostPosted: 07 Aug 2011, 01:40
by madmarcel
Slowly getting there.

Can load and save decks, can add cards...
The card layout/space usage is not quite optimal, but almost there.
Now to figure out a way to remove cards that is intuitive.

Image

Re: Deck-builder sneak peek

PostPosted: 07 Aug 2011, 05:24
by Huggybaby
Right click on it to remove?

Re: Deck-builder sneak peek

PostPosted: 25 Aug 2011, 17:14
by mtgrares
madmarcel wrote:Slowly getting there.
The card layout/space usage is not quite optimal, but almost there.
The deck editor looks great. Nothing is ever perfect but I know that us programmers try to get as close as possible. Sometimes you should just stop at good enough.

Re: Deck-builder sneak peek

PostPosted: 03 Sep 2011, 11:15
by pedro1973
Looks very nice:)


It could be a nice addition!