Re: Aisleriot/Blackjack cards



Hi;

Le lundi 14 janvier 2008 à 16:07 +0100, Thomas Dybdahl Ahle a écrit :
> søn, 13 01 2008 kl. 22:38 +0100, skrev Christian Persch:
> > Le dimanche 13 janvier 2008 à 22:35 +0100, Thomas Dybdahl Ahle a écrit :
> > > So the mentioned speed problems are on window-resize?
> > > If so, couldn't the game do a pixmap scaling in the first place, and
> > > then redo the catche in a background thread or something?
> > 
> > That wouldn't help you on startup where you don't have any rendered
> > cards yet.
> 
> You could save them?

Well, aisleriot does support pre-rendered card themes (PNGs on disk).
However, the problem with that is that that to approximate card scaling
when the window size changes, you need to save many card sizes, which
takes huge amounts of disk space... 

Regards,
	Christian



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]