Page 5 of 5

Re: UI update, prep for round 2: In-game UI feature requests

PostPosted: 19 Oct 2011, 05:01
by slapshot5
Doublestrike wrote:
slapshot5 wrote:If I create a AlphaComposite and specifically assign it to enabled, the buttons become somewhat readable:

Code: Select all
private AlphaComposite enabledComposite = AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.75f);
Oooh that's a good clue. Alpha composite is the transparency of the button. It's dropped down to 25% for disabled buttons. Maybe the buttons aren't showing because a composite isn't defined for them...so your code would work, but should use 100% opacity (1.0f).

From that clue, could you try this - in the inits section:
Code: Select all
private AlphaComposite disabledComposite =
            AlphaComposite.getInstance(AlphaComposite.SRC_OVER,0.25f);
private AlphaComposite defaultComposite =
            AlphaComposite.getInstance(AlphaComposite.SRC_OVER,1.0f);
In the paintComponent override:
Code: Select all
if(!isEnabled()) {
    g2d.setComposite(disabledComposite);
}
else {
    g2d.setComposite(defaultComposite);
}
1.0f doesn't work. It looks just the same as without an AlphaComposite.

-slapshot5

Re: UI update, prep for round 2: In-game UI feature requests

PostPosted: 25 Oct 2011, 20:04
by Jaedayr
Maybe I can get this request in the queue for consideration in round 3. :D

When you mouse over the quest opponent icon in-game would it be possible to display the opponent name and difficulty in the text window at the right? When in a normal match against a generated deck or theme, would it be possible to have the info available as well, even though there may not be a picture icon?

Re: UI update, prep for round 2: In-game UI feature requests

PostPosted: 26 Oct 2011, 08:55
by Doublestrike
Jaedayr wrote:Maybe I can get this request in the queue for consideration in round 3. :D

When you mouse over the quest opponent icon in-game would it be possible to display the opponent name and difficulty in the text window at the right? When in a normal match against a generated deck or theme, would it be possible to have the info available as well, even though there may not be a picture icon?
Yep yep yep actually can probably squeeze it into work right now. Is a tooltip alright? I've got piles of tooltips everywhere since ya can't beat 'em for efficiency. Another static piece of information is difficult to jam in neatly, since there's so much stuff that demands immediate display priority.

Re: UI update, prep for round 2: In-game UI feature requests

PostPosted: 06 Nov 2011, 04:26
by haganjj42
hey, just want to say thanks alot for this program.
and im very much looking forward to the ability to add a background image to the battlefield... the white looks so boring :D
===
also, sorry if this is already taken into consideration...
but; what about making the card view resizable on the deck creator...
to get bigger and make the fake card detail screen smaller.
i have the HQ pics and the size is made for LQ pics i guess.
i like to have the right side card view BIIG when i play, and in the deck editor it is smaller.