Deck-builder sneak peek
by ubeefx
Moderators: ubeefx, beholder, melvin, ShawnieBoy, Lodici, CCGHQ Admins
Deck-builder sneak peek
by madmarcel » 04 Aug 2011, 12:31
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.
all knight creature cards with converted casting cost of and a casting cost that contains
Big ugly tooltip:
Bigger is better, find cards with converted casting cost of :
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.
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}
all knight creature cards with converted casting cost of and a casting cost that contains
Big ugly tooltip:
Bigger is better, find cards with converted casting cost of :
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.
-
madmarcel - Posts: 18
- Joined: 17 Jul 2011, 03:18
- Location: New Zealand
- Has thanked: 0 time
- Been thanked: 0 time
Re: Deck-builder sneak peek
by melvin » 04 Aug 2011, 12:52
Looks awesome 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.
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Deck-builder sneak peek
by beholder » 04 Aug 2011, 14:43
Hooray! good job.
What will happen to the card explorer now? Will this replace it?
What will happen to the card explorer now? Will this replace it?
If debugging is the process of removing bugs, then programming must be the process of putting them in.
-
beholder - Programmer
- Posts: 123
- Joined: 17 Jul 2011, 17:56
- Location: Netherlands
- Has thanked: 16 times
- Been thanked: 25 times
Re: Deck-builder sneak peek
by melvin » 04 Aug 2011, 15:22
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.
-
melvin - AI Programmer
- Posts: 1062
- Joined: 21 Mar 2010, 12:26
- Location: Singapore
- Has thanked: 36 times
- Been thanked: 459 times
Re: Deck-builder sneak peek
by ubeefx » 04 Aug 2011, 17:05
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.
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
by madmarcel » 05 Aug 2011, 05:34
Just had a tinker, can now use multiple filters, so
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...
- Code: Select all
conv:3 type:knight {W}{W}
- 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
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...
-
madmarcel - Posts: 18
- Joined: 17 Jul 2011, 03:18
- Location: New Zealand
- Has thanked: 0 time
- Been thanked: 0 time
Re: Deck-builder sneak peek
by madmarcel » 07 Aug 2011, 01:40
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.
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.
-
madmarcel - Posts: 18
- Joined: 17 Jul 2011, 03:18
- Location: New Zealand
- Has thanked: 0 time
- Been thanked: 0 time
-
Huggybaby - Administrator
- Posts: 3205
- Joined: 15 Jan 2006, 19:44
- Location: Finally out of Atlanta
- Has thanked: 696 times
- Been thanked: 594 times
Re: Deck-builder sneak peek
by mtgrares » 25 Aug 2011, 17:14
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.madmarcel wrote:Slowly getting there.
The card layout/space usage is not quite optimal, but almost there.
- mtgrares
- DEVELOPER
- Posts: 1352
- Joined: 08 Sep 2008, 22:10
- Has thanked: 3 times
- Been thanked: 12 times
Re: Deck-builder sneak peek
by pedro1973 » 03 Sep 2011, 11:15
Looks very nice:)
It could be a nice addition!
It could be a nice addition!
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 22 guests