[Kde-games-devel] Lskat update to SVG

Martin Heni kde at heni-online.de
Sun Apr 22 19:07:57 CEST 2007


LSkat is now converted to full usage of SVG.

However, I made the SVG graphics only as a first draft as I am not very good 
at this. It would be good if an artist could improve them. Fortunately, it 
uses only a small amount of easy elements (mainly boxes and arrows).

[For the artist: The input device icons can be the same as in KWin4. The trump  
icon #4 is meant to be the face of a "jack" card. The other trump icons can 
keep the card symbols and only need the background improved.]

When an old PNG card set is choosen lskat can use these old pixmap cardsets 
and scales them accordingly. Actually this looks not so bad! Probably we 
should keep the old cardsets for KDE 4.0 as there are some nice ones and I 
dont think we will be able to move them over to SVG in time.

When a new SVG cardset is choosen it uses the full SVG capapbilties. 
Unfortunately, using so much SVG rendering is not exceedingly fast. KPat uses
threading and pixmap chaches to speed this up: Maybe it would be useful to 
have something like this in the lib.

Card deck backsides are not yet available as SVG (or actually they are part of 
the SVG cardsets. We should discuss whether they should be available 
independently in decks/*. Currently the player can choose card set (cards-*) 
and deck backside (deck/*) to his/her liking. Using them both from one SVG 
file would probably bind them together (unless we render two files -which we 
dont...).

Btw you need to update libkdegames to use this latest update.



More information about the kde-games-devel mailing list