Forge version 1.2.15
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
41 posts
• Page 2 of 3 • 1, 2, 3
Re: Forge version 1.2.15
by friarsol » 28 Sep 2012, 02:22
My first "complaint" is that I can't actually tell what the state of the button is after I click on it, since the icon doesn't change and the label still says the same thing. But it looks pretty solid to me. Is Attackers/Blockers the next planned phase for this, once it seems to be working well?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Forge version 1.2.15
by Doublestrike » 28 Sep 2012, 03:27
Re: button state, was thinking that myself, just haven't executed yet.
Next planned phase is for artifacts, then other cards that affect the global state, then eventually attacking/blocking. I'm trying to address the situation "why won't this card tap click click click card detail...think...hover...card detail...ohhh".
Next planned phase is for artifacts, then other cards that affect the global state, then eventually attacking/blocking. I'm trying to address the situation "why won't this card tap click click click card detail...think...hover...card detail...ohhh".
---
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.15
by moomarc » 28 Sep 2012, 06:46
Looking good. Would still prefer to actually have auras appear on the side of the battlefield of the creature that it's actually enchanting, but this is definitely better than before in my opinion. Thanks!
-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.15
by Doublestrike » 28 Sep 2012, 07:04
@Moomarc - I know what you mean, but I'm trying to avoid redoing the whole battlefield - it's looming in the future though
needs some work.
====
I just committed what should be a significant performance improvement - all of the in-game (match) calculations were being performed on the EDT, which should be strictly for UI operations. That's now fixed. Please report on results, or if your fingers get burnt because it's TOO FAST.
(actually, I probably broke something...hope not
)

====
I just committed what should be a significant performance improvement - all of the in-game (match) calculations were being performed on the EDT, which should be strictly for UI operations. That's now fixed. Please report on results, or if your fingers get burnt because it's TOO FAST.

(actually, I probably broke something...hope not

---
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.15
by moomarc » 28 Sep 2012, 07:27
Isn't there some slightly easier way to do it? Maybe each card has a 'view controller' which essentially sets card ownership for purposes of the view only. So Aura's would, for instance, useDoublestrike wrote:@Moomarc - I know what you mean, but I'm trying to avoid redoing the whole battlefield - it's looming in the future thoughneeds some work.
- Code: Select all
if (enchantedEntity instanceof Card) {
enchantedEntity.setViewController(enchantedC.getController);
}
I don't mind looking into it (sometime after the RtR release) if you can point me in the right direction.
-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.15
by Doublestrike » 28 Sep 2012, 08:24
Actually part of the reason I'm a bit apprehensive is because I have not dug into the battlefield at all. I just used the PlayArea instances that the previous UI used (they aren't so bad, anyway).
Which is to say, can't really steer ya anywhere...only to forge.gui.match.nonsingleton.VField.java which is where it all starts...after that, the dark side clouds my vision, master moomarc.
Which is to say, can't really steer ya anywhere...only to forge.gui.match.nonsingleton.VField.java which is where it all starts...after that, the dark side clouds my vision, master moomarc.
---
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.15
by friarsol » 28 Sep 2012, 12:32
Hey Doublestrike,
While you were away I upgraded Forge Combat to the modern rules, which means players have to select order of blockers when more than one block happens. If you have a magical list (of not burning yourself out again) maybe you could add Gussying up the GuiAssignDamageFrame to it. I'm not exactly sure why the Images aren't showing up, and there could be some minor improvements to make it feel more like the rest of Forge, or better represent it's data to the user.
While you were away I upgraded Forge Combat to the modern rules, which means players have to select order of blockers when more than one block happens. If you have a magical list (of not burning yourself out again) maybe you could add Gussying up the GuiAssignDamageFrame to it. I'm not exactly sure why the Images aren't showing up, and there could be some minor improvements to make it feel more like the rest of Forge, or better represent it's data to the user.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Forge version 1.2.15
by Xitax » 28 Sep 2012, 23:39
Wow, Nice. What do you think of implementing it as a mouseover instead of a toggle option?Doublestrike wrote:Ok fellas, just pounded out a targeting overlay!
Got most of the rough stuff sorted out and just committed. Right now, it's ONLY FOR ENCHANTMENTS. There's a toggle button in the dock, and a preference setting which remembers the state.
Please report any bugs or performance issues. If it's smooth sailing, I can implement for more stuff pretty easily.
Re: Forge version 1.2.15
by Doublestrike » 29 Sep 2012, 01:33
@friarsol - can do.
@xitax - I prefer the toggle myself, but I'm just one voice...if consensus goes to mouseover no worries I'll program it up, easy enough. Other opinions, anyone?
I chose toggle since I'm anticipating a performance issue when all the targeting arcs are running (combat, enchantment, artifact...others?) if there's a token-heavy game. The user may not want arcs taking up processing power. Then, if the b
@xitax - I prefer the toggle myself, but I'm just one voice...if consensus goes to mouseover no worries I'll program it up, easy enough. Other opinions, anyone?
I chose toggle since I'm anticipating a performance issue when all the targeting arcs are running (combat, enchantment, artifact...others?) if there's a token-heavy game. The user may not want arcs taking up processing power. Then, if the b
---
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.15
by ArsenalNut » 29 Sep 2012, 04:40
Mouse over for enchantments and artifacts might be cool depending on the performance hit. I would prefer combat by toggle (and on by default).Doublestrike wrote:@xitax - I prefer the toggle myself, but I'm just one voice...if consensus goes to mouseover no worries I'll program it up, easy enough. Other opinions, anyone?
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.15
by moomarc » 29 Sep 2012, 06:37
I want to make life even more difficult and want the button to cycle through 3 modes: Off, All On, and On-for-card-mouse-is-currently-over.
But that's just in my ideal little Utopia.

-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.15
by Hellfish » 29 Sep 2012, 08:22
Man, lots of cliffhanger posts lately.Doublestrike wrote:@friarsol - can do.
@xitax - I prefer the toggle myself, but I'm just one voice...if consensus goes to mouseover no worries I'll program it up, easy enough. Other opinions, anyone?
I chose toggle since I'm anticipating a performance issue when all the targeting arcs are running (combat, enchantment, artifact...others?) if there's a token-heavy game. The user may not want arcs taking up processing power. Then, if the b

Marc's suggestion has my vote , unless it's an annoying amount of wotk, in which case toggle.
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: Forge version 1.2.15
by moomarc » 29 Sep 2012, 08:30
Haha! Noticed that as well and almost commented the exact same thing (replacing Marc's suggestion with my actual suggestion of course)Hellfish wrote:Man, lots of cliffhanger posts lately.Doublestrike wrote:Then, if the b...![]()
Marc's suggestion has my vote , unless it's an annoying amount of wotk, in which case toggle.

-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.15
by Doublestrike » 29 Sep 2012, 10:10
Okey doke, can do.
Actually, just had a brain wave - the dock button can toggle through the three options (none, mouseover, permanent). I'll change the tooltip to indicate.
Oh, and one super-amazing-game-changing idea - we should modify th

Actually, just had a brain wave - the dock button can toggle through the three options (none, mouseover, permanent). I'll change the tooltip to indicate.
Oh, and one super-amazing-game-changing idea - we should modify th

---
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.15
by moomarc » 29 Sep 2012, 10:17
Doublestrike wrote:Oh, and one super-amazing-game-changing idea - we should modify th

-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
41 posts
• Page 2 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 40 guests