Originally Posted by clowntable
Does anyone know how Stars etc. handle their card graphics (and other graphics as well)? Iirc there's usually one big image of all cards so I guess they have some sort of script to cut the right cards out?
Different sites probably handle it differentlya, looking ofr good ideas of going about it.
I guess SVG is the way to go?
SVG is probably the way to go, FTP moved to SVG shortly before imploding IIRC
Stars currently assembles cards from a few files, a base.bmp (which is say 4 cards wide and contains colours for suits) and cardrank.bmp which is 13 cards wide and contains (A, K, Q etc) and another one that contains the little suit symbols. I thinks there's an .a.bmp alphamask for these too to control blending. They are moving to PNG for a lot of table parts, but not yet on the cards. Take a poke about gx\chips&deck\deck\simple to see for yourself. There are numbered folders 0-7 for how large the bitmaps are.
Party just has separate .bmp for each card IIRC Ad.bmp, Kc.bmp etc. Been a while since looked at those.
I suppose anything using a single large image will use a technique similar to "CSS Sprites" to chop out the desired card.