Crossfire Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CF: images & caching.



>>>>[From Mark Wedel]
    ...
     For example, lets take the current case of some grass, a sword, and a player.
    ...
    
     But is it possible to have the grass, sword, and player png images in
    memory?  Then, you make a new png, draw the grass, sword, player using
    png functions, and then copy that onto the display.  The temporary
    composite image is then tossed away.

I don't really see any need to use PNG for anything other than loading the
image, unless you have sucky local graphics formats.
Use PNG for the transfer format, either from the server, or from
local disk cache. Put it into native image format, in memory, and that's
that. Nice, quick image drawing.

For the record, what windowing systems do not support putting images with
some kind of "transparency" feature?

X does.
Java does.
I don't know about mac or ms-win32

[to unsubscribe etc., send mail to crossfire-request@ifi.uio.no]


Follow-Ups: References: