Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Candle on Fri 12/11/2004 02:56:39

Title: pink dots in background of sprite
Post by: Candle on Fri 12/11/2004 02:56:39
I can't seem to get rid of these spots
I have used bmps gifs and pngs . and can't get rid of them .
I copy then paste right over the sprite with res of 640 .
(http://img75.exs.cx/img75/6628/Human_11.png)
Title: Re: pink dots in background of sprite
Post by: Scummbuddy on Fri 12/11/2004 03:04:48
im not noticing any spots, except where there is transparent areas between the legs. can you be more specific or show a bigger image, perhaps with giant arrows pointing to what youre talking about?
Title: Re: pink dots in background of sprite
Post by: Candle on Fri 12/11/2004 03:08:24
well it only does it when the game is running ? I look at the picutres /sprites and don't see them ti;; the game runs .
Title: Re: pink dots in background of sprite
Post by: Scummbuddy on Fri 12/11/2004 03:15:26
when you import the graphics, what are you saying? transparency at top left pixel?
Title: Re: pink dots in background of sprite
Post by: Candle on Fri 12/11/2004 03:19:08
What I do is open the picture withj psp then copy it then open ags and bring up the image manager  i right click on the picture and click OverWrite with res 640 /
Title: Re: pink dots in background of sprite
Post by: Gilbert on Fri 12/11/2004 03:20:21
There're some pink dots around his right ears and hands, which are not exactly the same pink from the background (can be checked easily using flood fill of M$Pain), when AGS edit eliminates a colour as transparency, it can only eliminate the pixels with EXACTLY the same colour as that you had chosen (unless you use alpha channeled sprites).

Make sure you had anti-alias turned off (if you can) before rendering an image.
Title: Re: pink dots in background of sprite
Post by: Candle on Fri 12/11/2004 03:26:21
Ok I think I saw that was checked when I made the avi's .
What  I do is make the avi of the walk cycle then I have a program that grabs all the frames and saves each one as a bmp . then I  crop them to the size I need and do the copy and paste .
Title: Re: pink dots in background of sprite
Post by: Gilbert on Fri 12/11/2004 03:41:15
Was the AVI compressed ? If it was using lossy compression these kinds of artifacts WILL come up.
Could you just render the frames into separate images directly? And by separate image never use lossily compressed formats like JPEG, which will also create these kinds of problems.
Title: Re: pink dots in background of sprite
Post by: Candle on Fri 12/11/2004 03:51:48
shoot I did compress now that you said something .
I don't have to so I'll leave that off of the next ones I do .
I saved the file so I can run them off again .
I'll try that and if that don't help all post back .
Title: Re: pink dots in background of sprite
Post by: Candle on Fri 12/11/2004 04:50:06
Thank you Scummbuddy, Gilbot .
That did the trick , didn't do any compressing and they look fine now . Thanks for the help . if anyone would like a poser  har just IM and kind of let me know what you would like and I'll whip one up for you . I may do a help file on how I did it to .