It is currently 19 Jun 2019, 20:57
   
Text Size

graphical selection from libraries, graveyards, etc.

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, friarsol, Blacksmith, KrazyTheFox, Agetian, CCGHQ Admins

graphical selection from libraries, graveyards, etc.

Postby pfps » 05 Jan 2019, 21:50

Right now, selection of cards from most Zones (in particular selection from
the player's library) is done using text selection boxes. It would be
better to permit selection from a visual depiction of the Zone itself.

Most of the code is already present for this, at least in the desktop GUI,
as cards in FloatingCardAreas are selectable. The changes needed are to
track the selected status of cards, to make the cards visible as necessary,
to show all cards in the area if appropriate, and to control the visibility
of the areas themselves.

I have already done the first two parts using interface components that
should work for all GUIs. I also added the last part, but for the desktop GUI only.

I have attached a screenshot.
Attachments
foo.jpg
screenshot of graphical library selection
pfps
 
Posts: 53
Joined: 09 Jan 2015, 14:34
Has thanked: 0 time
Been thanked: 7 times

Re: graphical selection from libraries, graveyards, etc.

Postby twosat » 04 Mar 2019, 15:17

In some cases graphical selection is a nice feature. But on some devices and resolutions the card pictures are very tiny. So selection isn't much fun.
And scrying on a commander deck is a pain in the ass. :? (Sorry for my blatant speech.) It's uncomfortable to drag cards to the bottom. The older textbased function was more usable.

Reverting by setting UI_SELECT_FROM_CARD_DISPLAYS=false in forge.preferences does not realy work. Some cards, like Kodama's Reach, are broken then, 'cause you can't select more than one card anymore. This has been reported somewhereelse in this forum.
Maybe someone can have a look into this issue.

At the moment neither variant is satisfactory. Sorry. [-X
twosat
 
Posts: 32
Joined: 09 Jan 2017, 11:04
Location: Germany
Has thanked: 2 times
Been thanked: 2 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 9 guests


Who is online

In total there are 9 users online :: 0 registered, 0 hidden and 9 guests (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 9 guests

Login Form