Forge version 1.2.1
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
64 posts
• Page 4 of 5 • 1, 2, 3, 4, 5
Re: Forge version 1.2.1
by Doublestrike » 15 Jan 2012, 07:55
Fixed, r13156.Sloth wrote:I don't think they need another option. Who wants to turn off counters or the attack/block icons?
I also internalized the win/lose UI frame into the match UI. Looks good, tests good, but I'll keep an eye out here for The Unforeseen.
The only hiccup is that the match is not easily visible after the game ends. I'll be introducing a button into that eventually for a screenshot or a "return to field".
---
A joke is a very serious thing.
A joke is a very serious thing.
-

Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: Forge version 1.2.1
by friarsol » 15 Jan 2012, 16:44
Uhhh... is the cancel button missing in the input window? I can't cancel out of spells, or say I want to Mulligan?
Edit: It looks like it's underneath my hand, and largely inaccessible.
Edit: It looks like it's underneath my hand, and largely inaccessible.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Forge version 1.2.1
by Sloth » 15 Jan 2012, 21:04
I can confirm this. It has to be fixed for the beta.friarsol wrote:Uhhh... is the cancel button missing in the input window? I can't cancel out of spells, or say I want to Mulligan?
Edit: It looks like it's underneath my hand, and largely inaccessible.
-

Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Forge version 1.2.1
by Roujin » 15 Jan 2012, 22:50
Ummm.. is that screenshot how it actually looks in game, or did you edit it together for demonstration purposes? It looks rather strange I must say, with the gameplay result to the right of the you win screen.Doublestrike wrote:Fixed, r13156.Sloth wrote:I don't think they need another option. Who wants to turn off counters or the attack/block icons?
I also internalized the win/lose UI frame into the match UI. Looks good, tests good, but I'll keep an eye out here for The Unforeseen.
The only hiccup is that the match is not easily visible after the game ends. I'll be introducing a button into that eventually for a screenshot or a "return to field".
Also, how does it look with a small resolution?
Re: Forge version 1.2.1
by Chris H. » 15 Jan 2012, 22:51
`Sloth wrote:I can confirm this. It has to be fixed for the beta.friarsol wrote:Uhhh... is the cancel button missing in the input window? I can't cancel out of spells, or say I want to Mulligan?
Edit: It looks like it's underneath my hand, and largely inaccessible.
I noticed the same issue.
-

Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Forge version 1.2.1
by ArsenalNut » 16 Jan 2012, 00:24
I have some code updates to address the UI for the "any" mana keyword. The updates will
1) automatically choose the right color for a single color mana cost e.g. using an "any" source for a
{U} cost will automatically choose blue without prompting.
2) if a cost has 2 or more color, the choices shown to the user are only the required colors.
3) checks for Sunburst so all colors are given as choice
4) choose a color for colorless cost without prompting
5) checks for ManaNeededToAvoidNegativeEffect when choosing a color for colorless mana.
6) chooses the color part of a split cost, e.g. 2/R, without prompting
7) Added more descriptive title to choice menu.
The user will still get prompted for a color with a hybrid mana cost but the choices are only the two colors in the hybrid cost.
The changes also fix the issue with Shimmering Grotto reported in the Current Known Bugs list thread but may cause the user to get prompted to choose an ability when paying for colorless mana with a source with multiple mana abilities.
I tested all the cases with single cards but I have not done any play testing in more realistic game situations. Should I check in the changes now or wait till after version 1.2.1?
1) automatically choose the right color for a single color mana cost e.g. using an "any" source for a
{U} cost will automatically choose blue without prompting.2) if a cost has 2 or more color, the choices shown to the user are only the required colors.
3) checks for Sunburst so all colors are given as choice
4) choose a color for colorless cost without prompting
5) checks for ManaNeededToAvoidNegativeEffect when choosing a color for colorless mana.
6) chooses the color part of a split cost, e.g. 2/R, without prompting
7) Added more descriptive title to choice menu.
The user will still get prompted for a color with a hybrid mana cost but the choices are only the two colors in the hybrid cost.
The changes also fix the issue with Shimmering Grotto reported in the Current Known Bugs list thread but may cause the user to get prompted to choose an ability when paying for colorless mana with a source with multiple mana abilities.
I tested all the cases with single cards but I have not done any play testing in more realistic game situations. Should I check in the changes now or wait till after version 1.2.1?
So many cards, so little time
-

ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Forge version 1.2.1
by Doublestrike » 16 Jan 2012, 01:08
Thanks ArsenalNut
====
Re: cancel button - fixed. Just a little layout issue with the game counter I made before bed (the button was being pushed outside of a cell).
===
===
The alternative is place this information under the three trigger buttons, but then it's a) hidden and b) poor use of screen real estate.
====
Re: cancel button - fixed. Just a little layout issue with the game counter I made before bed (the button was being pushed outside of a cell).
===
The SVN copy can answer these questions.Roujin wrote:Ummm.. is that screenshot how it actually looks in game, or did you edit it together for demonstration purposes?...Also, how does it look with a small resolution?
===
It looked a bit odd to me too, but it grew on me. This was an attempt to avoid the crowded, hard-to-read, multiple-scrolling space of before.Roujin wrote:It looks rather strange I must say, with the gameplay result to the right of the you win screen.
The alternative is place this information under the three trigger buttons, but then it's a) hidden and b) poor use of screen real estate.
---
A joke is a very serious thing.
A joke is a very serious thing.
-

Doublestrike - UI Programmer
- Posts: 715
- Joined: 08 Aug 2011, 09:07
- Location: Bali
- Has thanked: 183 times
- Been thanked: 161 times
Re: Forge version 1.2.1
by Chris H. » 16 Jan 2012, 01:37
`ArsenalNut wrote:I tested all the cases with single cards but I have not done any play testing in more realistic game situations. Should I check in the changes now or wait till after version 1.2.1?
It sounds like this is far enough along to go ahead and add it to the SVN for the 1.2.1 release. The additional features should be worth the risk of an uncommon and untested bug.
Worse case scenario, I will release 1.2.2 with any needed fix to your merge shortly after the 1.2.1 release.
Looking forward to your work and will hold off of the 1.2.1 release until you merge your work in.
-

Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Forge version 1.2.1
by ArsenalNut » 16 Jan 2012, 04:58
I played constructed mode for an hour or so and didn't come across any problems. The changes were checked in r13187. If the feedback is good on these changes, I'll give reflected mana sources a similar treatment.Chris H. wrote:`ArsenalNut wrote:I tested all the cases with single cards but I have not done any play testing in more realistic game situations. Should I check in the changes now or wait till after version 1.2.1?
It sounds like this is far enough along to go ahead and add it to the SVN for the 1.2.1 release. The additional features should be worth the risk of an uncommon and untested bug.
Worse case scenario, I will release 1.2.2 with any needed fix to your merge shortly after the 1.2.1 release.
Looking forward to your work and will hold off of the 1.2.1 release until you merge your work in.
So many cards, so little time
-

ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Forge version 1.2.1
by PhoenixAvenger » 16 Jan 2012, 05:10
ArsenalNut, don't forget to add a check for ConditionManaSpent parameters in abilities (for Seed Spark and the like) in your new mana-choosing code. I'm not sure just checking ManaNeededToAvoidNegativeEffect will catch everything.
-

PhoenixAvenger - Posts: 62
- Joined: 31 Aug 2010, 23:34
- Location: NorCal
- Has thanked: 0 time
- Been thanked: 0 time
Re: Forge version 1.2.1
by slapshot5 » 16 Jan 2012, 05:12
Yep, was just going to say the same thing.PhoenixAvenger wrote:ArsenalNut, don't forget to add a check for ConditionManaSpent parameters in abilities (for Seed Spark and the like) in your new mana-choosing code. I'm not sure just checking ManaNeededToAvoidNegativeEffect will catch everything.
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: Forge version 1.2.1
by ArsenalNut » 16 Jan 2012, 06:35
Thanks for the heads up. I knew there were cards like that. Now I know what to look for to find these cards. I was planning to add another SVar, ManaNeededForPositiveEffect, rather than try to dig through the other SVar to find this information. The AI needs this information too.slapshot5 wrote:Yep, was just going to say the same thing.PhoenixAvenger wrote:ArsenalNut, don't forget to add a check for ConditionManaSpent parameters in abilities (for Seed Spark and the like) in your new mana-choosing code. I'm not sure just checking ManaNeededToAvoidNegativeEffect will catch everything.
Also keep in mind the code updates only effect how the "Any" keyword mana sources play. In general, colorless mana is always paid with the first mana ability found on a source. I think there are situations where this lead the "express" logic to play a less optimal mana choice depending on the order multiple mana abilities are stored. I plan to take a look at fixing this too at some point.
So many cards, so little time
-

ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Forge version 1.2.1
by Sloth » 16 Jan 2012, 09:59
I've tested the any mana abilities briefly and found only improvements.Chris H. wrote:It sounds like this is far enough along to go ahead and add it to the SVN for the 1.2.1 release. The additional features should be worth the risk of an uncommon and untested bug.
Worse case scenario, I will release 1.2.2 with any needed fix to your merge shortly after the 1.2.1 release.
Looking forward to your work and will hold off of the 1.2.1 release until you merge your work in.
I think the beta can be released now.
-

Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Forge version 1.2.1
by moomarc » 16 Jan 2012, 13:29
We might have our first "stop the presses'. Was Sudden Spoiling ever fixed properly. I see it's in the recently added cards for this release, but I remember issues with it and noticed it being deleted from the main branch at one stage. But then it reappeared so just want to make sure that its meant to be there and isn't just due to some branching shenanigans.
-Marc
-

moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Forge version 1.2.1
by Chris H. » 16 Jan 2012, 14:09
`moomarc wrote:We might have our first "stop the presses'. Was Sudden Spoiling ever fixed properly. I see it's in the recently added cards for this release, but I remember issues with it and noticed it being deleted from the main branch at one stage. But then it reappeared so just want to make sure that its meant to be there and isn't just due to some branching shenanigans.
I did not see this message until after the beta was released. I hope that Sudden Spoiling will not create too much of a problem for us.
It appears that the card is not listed in the deck editor. I guess that I forgot to delete this card from the card listing located in the changes.txt file.

-

Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
64 posts
• Page 4 of 5 • 1, 2, 3, 4, 5
Who is online
Users browsing this forum: No registered users and 14 guests