It is currently 19 Aug 2019, 17:07
   
Text Size

Annotated card image popup

Moderators: melvin, beholder, ubeefx, ShawnieBoy, Lodici, CCGHQ Admins

Annotated card image popup

Postby Lodici » 10 Nov 2014, 13:20

2014-11-10_125959.jpg

This is gonna need testing!

The idea behind this is to show the affects/abilities on a card in the image popup during a game because depending on your screen size and the number of cards on the battlefield it can be very difficult if impossible to know exactly what is going on. The other goal is to make it easier for us beginners to quickly see how an ability actually works.

So in no particular order of importance here are the main features of the new annotated card popup -

  • You can now specify the size of the popup via new settings in the preferences dialog under the GamePlay -> Images tab. You can scale it to either the default maximum card size of (480 x 680) or to the screen size.
  • If an ability has been associated with an ability icon it will be displayed in the popup on the left-hand side of the card if it has that ability. This is most useful where permanaents have been granted abilities over and above any default abilities (see screenshot above).
  • If you move the mouse cursor over an ability icon it will display the name of the ability and a short description of what it actually does in a tooltip.
  • The popup will now show the effective Power/Toughness with the base P/T beside it in superscript (see screenshot). This kind of works but will look a bit out of place on some card frames - but I still think it is better than nothing at all.
  • Different ability icons sets (currently, for the popup only) can be specified as part of a theme. The above screenshot is using test_theme.zip. See the Themes wiki page on how to install.
Please note the ability icon tooltips feature will only work with the mouse-wheel popup option. If you use the auto-popup the card will still be annotated but as soon as you move the mouse the card will close.
Attachments
test_theme.zip
(1.03 MiB) Downloaded 234 times
User avatar
Lodici
Programmer
 
Posts: 399
Joined: 13 Oct 2013, 09:44
Has thanked: 29 times
Been thanked: 71 times

Re: Annotated card image popup

Postby Lodici » 22 Nov 2014, 15:20

Latest set of updates starting at 9d9b4c4...

  • Highlight card on mouse-over
  • Improve card popup behaviour during game.
  • New style of ability icons (see screenshot).
  • Mousewheel can be used to close/open popup when auto-popup mode is active.
  • Removed ability icon tooltip feature for the time being as I have yet to find a satisfactory implementation that works consistently for both auto- and manual popup modes.
Attachments
2014-11-22_151557.jpg
User avatar
Lodici
Programmer
 
Posts: 399
Joined: 13 Oct 2013, 09:44
Has thanked: 29 times
Been thanked: 71 times


Return to Development

Who is online

Users browsing this forum: No registered users and 0 guests


Who is online

In total there are 0 users online :: 0 registered, 0 hidden and 0 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 0 guests

Login Form