[Kde-games-devel] Kpat and card style chooser

Luciano Montanaro mikelima at gmail.com
Tue Nov 18 09:37:17 CET 2008


On Tue, Nov 18, 2008 at 1:59 AM, Matthew Woehlke
<mw_triad at users.sourceforge.net> wrote:
> Luciano Montanaro wrote:
>> Uh... I've been busy, and I did not notice for a while, but it looks like it's
>> not possible anymore to chose the "internal" back of the card deck of SVG
>> decks. At least, it looks like it alway tries to use an external back...
>
> Hmm... yes, right now we always use associated backs from the set of
> backs (internal back is never used).
>
> I'd say we should drop internal backs altogether and just ship the
> correct "external" backs. The downside is that GHNS decks would have to
> either use an existing back or ship a back also, which could lead to
> decks shipping the same back. Or make it possible to select the
> "internal" back from decks when picking backs separate from the deck...
> but then decks using the same back lead again to duplicates.
>
> Or... solve it the right way, make GHNS smart enough to download the
> requested external back if needed.
>

Well, my point is that external backs are not the right way, since you can have
tall thin card decks or wide fat card decks, and you cannot really
graft any card back to any card deck design.
Or you can have fancy decks with strange shapes...
By splitting fronts from backs, we limit the deck designs that can be used.

How can you use the same back for all of these card decks?

http://www.cirulla.net/listing/kde_stuff/tigullio-international-new.svg
(the standard deck)
http://www.cirulla.net/listing/kde_stuff/tigullio-rounded.svg (top and
bottom borders are curved)
http://www.cirulla.net/listing/kde_stuff/tigullio-modern.svg (fancy colors)
http://www.cirulla.net/listing/kde_stuff/tigullio-bridge.svg (wider
card set with indices in the 4 corners and different suit symbols)

Notice I ship four back variations in each deck (they have simply
different colours, but that is just because i did not bother with
anything fancier) and there is no need to restrict ourselves to that.
It's just as easy to ship ten back designs.

So I'd rather ship the appropriate backs within the same file -- there
is no way the back for Tigullio Rounded will be useful for other card
decks and vice versa.

If anything, we should allow the decks to provide also the placeholder
shape that is drawn over the background...

Obviously it's not to be done for next release, but I think we should
really drop the "decks" directory in 4.3, and provide a way to select
the back variants from the card requester, if it's really needed. I'm
not really that much interested in having back variants, myself, as
long as the default one is reasonable, but choice is good, isn't it?

> --
> Matthew
> Please do not quote my e-mail address unobfuscated in message bodies.
> --
> Sendmail administration is not black magic. There are legitimate
> technical reasons why it requires the sacrifice of a live chicken. --
> Unknown
>
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel
>



-- 
Luciano Montanaro

Anyone who is capable of getting themselves made President should on
no account be allowed to do the job. -- Douglas Adams


More information about the kde-games-devel mailing list