I programmed a code-snippet which should display fonts in the color the user picked. It runs perfectly on my computer (black background colored strings) but not on the one I am currently using (pink background).
Could anyone test this on his machine ?
EDIT by Schranz0r:
File now on attachments
[attachment deleted by admin]
SETTRANSPARENCY RGB(255,255,255)
LOADFONT "Font_Color.png", 0
SETTRANSPARENCY RGB(255,0,128)
The pink of the image is not rgb (255,0,128).
Try this
(http://img30.imageshack.us/img30/1896/fontcolor.png)
Thanks. I know now why it ran perfectly on my computer: I had 16 bit color depth.
Please attach your project to a message, zdshare gives my computer problems.
if you want to re-color a sprite, do this:
loadsprite 1,...
getspritesize 1,sx,sy
createscreen 0,0,sx,sy
usescreen 0
drawrect 0,0,sx,sy,rgb(255,0,128)
// use polyvector to draw the sprite, but use the colours the user chose
startpoly....
usescreen -1
savesprite 0, outname$
... sort of.
Quote from: Hemlos on 2009-Jul-02
Please attach your project to a message, zdshare gives my computer problems.
Done