Chaos Orb
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
6 posts
• Page 1 of 1
Chaos Orb
by slapshot5 » 06 Feb 2012, 04:14
There was a discussion started in the Card Requests thread regarding Chaos Orb by sagephoenix.
viewtopic.php?f=26&t=2091&p=78403&hilit=Chaos#p78391
Moving that discussion here.
I made some headway on implementing this, but I ran into a problem which I cannot think of how to fairly resolve. Looking for input here. Basically, I was going to get a card size from the battlefield and use that to simulate the dropped Chaos Orb. However, cards on the computer side and cards on the human side of the battlefield can be different sizes. What size should the dropped card be? The only way I think that makes this fair is if all cards are the same size.
The first solution I thought of was to force a resize temporarily so that all cards are the same size, then prompt for the drop point.
Anyone have other thoughts?
-slapshot5
viewtopic.php?f=26&t=2091&p=78403&hilit=Chaos#p78391
Moving that discussion here.
I made some headway on implementing this, but I ran into a problem which I cannot think of how to fairly resolve. Looking for input here. Basically, I was going to get a card size from the battlefield and use that to simulate the dropped Chaos Orb. However, cards on the computer side and cards on the human side of the battlefield can be different sizes. What size should the dropped card be? The only way I think that makes this fair is if all cards are the same size.
The first solution I thought of was to force a resize temporarily so that all cards are the same size, then prompt for the drop point.
Anyone have other thoughts?
-slapshot5
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: Chaos Orb
by jeffwadsworth » 06 Feb 2012, 05:08
So there is no way to have the card assume the size of the cards on whichever side it falls on?
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: Chaos Orb
by jeffwadsworth » 06 Feb 2012, 05:12
Then your solution is best. Same size and prompt.
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Re: Chaos Orb
by Hellfish » 06 Feb 2012, 08:50
This is nuts. I was thinking we'd simply implement the houserule of it being a "1, Sac ~: Vindicate". Looking forward to see what you come up with!
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-

Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: Chaos Orb
by slapshot5 » 07 Feb 2012, 23:51
Ok. That was a little easier than I thought it was going to be since height and width are calculated in doLayout.
I'm going with a temporary resize.
Onward!
I'm going with a temporary resize.
Onward!
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 14 guests