Page 1 of 2

Land Stacking

PostPosted: 04 Jun 2009, 18:38
by mtgrares
Dennis, where is the land stacking code? I wanted to look at it to see if I could understand it. Thanks.

Re: Land Stacking

PostPosted: 04 Jun 2009, 19:18
by DennisBergkamp
It's in GUIDisplayUtil, in "private static void setupPanel(JPanel p, ArrayList<Card> list, boolean stack)". I have changed a few things in my version, so it also stacks some of the non-basic lands.

Re: Land Stacking

PostPosted: 05 Jun 2009, 05:20
by DennisBergkamp
I got tokens of the same name to stack now, check it out :mrgreen:

Re: Land Stacking

PostPosted: 05 Jun 2009, 06:11
by zerker2000
NICE!!! (You won't believe how annoying it is to have to spend five minutes scrolling after spawning 25 tokens with Kiji/Pestermite )

EDIT: Yay I got links to work :) (I was having problems using the [url] tag before, and ended up just posting urls relying on autoparse)

... do you have any idea when people (e.g. me :oops:) will have a chance to get a version of forge with that? :-"

Re: Land Stacking

PostPosted: 05 Jun 2009, 13:19
by Huggybaby
That stacking looks good, keep it up!

Re: Land Stacking

PostPosted: 05 Jun 2009, 16:17
by DennisBergkamp
... do you have any idea when people (e.g. me :oops:) will have a chance to get a version of forge with that? :-"
If all goes well, sometime this weekend :)

EDIT: By the way, I've changed a bunch of other things.
The order from left to right of nonland permanents will look like this now:

Planeswalkers === Equipped Creatures (stacking with their currently equipped equipment) === non-token Creatures === token Creatures (in stacks of 4 if they have the same name) === Moxen (they will also stack if it's the same type of Mox) === non-creature Artifacts (includes equipment that's not equipping anything) === Global Enchantments

What do you guys think? I could even change things around some more...

Re: Land Stacking

PostPosted: 05 Jun 2009, 17:05
by Rob Cashwalker
DennisBergkamp wrote:
... do you have any idea when people (e.g. me :oops:) will have a chance to get a version of forge with that? :-"
If all goes well, sometime this weekend :)

EDIT: By the way, I've changed a bunch of other things.
The order from left to right of nonland permanents will look like this now:

Planeswalkers === Equipped Creatures (stacking with their currently equipped equipment) === non-token Creatures === token Creatures (in stacks of 4 if they have the same name) === Moxen (they will also stack if it's the same type of Mox) === non-creature Artifacts (includes equipment that's not equipping anything) === Global Enchantments

What do you guys think? I could even change things around some more...
What do you think about any way to put the moxen in the land area, since it seems to have extra space now?
What do you think about forcing two rows (which only used to occur if there were near-infinite tokens)? Putting Global Enchantments and Artifacts on the second row?

Re: Land Stacking

PostPosted: 05 Jun 2009, 17:15
by Chris H.
What happens if we try to equip a creature with more than three equipments?

How much of a slow down are you noticing with lands + tokens + creatures with equipments stacking into piles of cards? :)

Re: Land Stacking

PostPosted: 05 Jun 2009, 19:12
by DennisBergkamp
What do you think about any way to put the moxen in the land area, since it seems to have extra space now?
What do you think about forcing two rows (which only used to occur if there were near-infinite tokens)? Putting Global Enchantments and Artifacts on the second row?
I'm not sure about forcing two rows, since on lower res monitors it looks very funky, even with medium sized cards (only half the card is shown if I'm not mistaken).
Making the Moxen show up on the land panel is a great idea, since we do have a lot of extra space there now :)

What happens if we try to equip a creature with more than three equipments?

How much of a slow down are you noticing with lands + tokens + creatures with equipments stacking into piles of cards? :)
Normally stacks are made as a max of 4, but with an equipped creature I set it up so there's no limit... I've tried it with like 5 - 6 pieces of equipment, and things are fine (check screenshot - a Llanowar Elves is equipped with 5 Bonesplitter). Not sure what happens though when you put 20+ on a creature :)

As far as performance goes, I'm happy to say I haven't really noticed anything drastic. Maybe I'll test it again with 50+ tokens.

Re: Land Stacking

PostPosted: 05 Jun 2009, 20:33
by MageKing17
DennisBergkamp wrote:As far as performance goes, I'm happy to say I haven't really noticed anything drastic. Maybe I'll test it again with 50+ tokens
Since your UI doesn't do 3D rendering, you'll probably be lucky enough not to have massive slowdowns from a single Mycoloth. Sadly, the same cannot be said for us. ;)

Re: Land Stacking

PostPosted: 05 Jun 2009, 20:36
by DennisBergkamp
True that, but it don't look as purty :mrgreen:
Then again, I've had a Mycoloth near crash a game once, but that was after cranking out 500 or so tokens :o

Re: Land Stacking

PostPosted: 05 Jun 2009, 21:29
by Chris H.
DennisBergkamp wrote:Normally stacks are made as a max of 4, but with an equipped creature I set it up so there's no limit... I've tried it with like 5 - 6 pieces of equipment, and things are fine (check screenshot - a Llanowar Elves is equipped with 5 Bonesplitter). Not sure what happens though when you put 20+ on a creature :)

As far as performance goes, I'm happy to say I haven't really noticed anything drastic. Maybe I'll test it again with 50+ tokens.
Wow, awesome. I checked out the screenshot, that is one buffed Llanowar Elves. 8)

Re: Land Stacking

PostPosted: 05 Jun 2009, 22:21
by Huggybaby
It's interesting that the stacks go up and not down.

Re: Land Stacking

PostPosted: 06 Jun 2009, 05:55
by MageKing17
Huggybaby wrote:It's interesting that the stacks go up and not down.
I'm not sure what you mean. Do you normally put attachments behind and below the cards they're attached to? Wouldn't that make it hard to read the name?

Re: Land Stacking

PostPosted: 07 Jun 2009, 00:29
by Huggybaby
Of course, you're right. I don't know what I was thinking, for some reason it just seemed strange when I first looked at it. :oops: