Main Menu

about images

Started by blackmeadow, November 24, 2007, 11:25:48 PM

Previous topic - Next topic

blackmeadow

hey, guys, i'd like to know what format to save my images.  recently i used a .png of grass to tile the bottom half of a screen that's background is changing colors and i still see black spots around the surface of the tiles after setting it to transparent.  is there a better way to implement transparency or should i use another format?  :-\

nrasool

Hi there :),
PNG are great in my opinion. Maybe the black outline, it not pure black, can you upload the sample, so we can test it

blackmeadow

#2
k, checked it out in photoshop 5.5, it is pure black  ??? hmm, i have a different question.  is there a way to manipulate the transparency color to, say, (255,0,255)? now i kinda want a black outline...

blackmeadow

#3
alright, got the image


dead link removed

kevin


Use ImageMaskColour to set the transparent colour.

blackmeadow


blackmeadow

hmm, what is the purpose of pre-initializing the sprites x/y positions and default image with the newsprite() function?

kevin


blackmeadow