Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, VoroneTZ, 1 invisible), 1,176 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
squik, AemStones, LucasJoshua, Baklazhan, Hanky27
19060 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
ugly black rim #250417
02/07/09 20:55
02/07/09 20:55
Joined: Sep 2005
Posts: 75
CA, Orange County
Gerrit Offline OP
Junior Member
Gerrit  Offline OP
Junior Member

Joined: Sep 2005
Posts: 75
CA, Orange County
Hi,
I am using sprites to indicate something in the game. I want to show a circle so using paint.net I drew a circle and added the text. The background is black when I add this to my WED, that works fine except that I see a black little (ugly) rim around my cercular sign. The sprite is a TA file

Anyone know how I can get rid of that?
Thanks
Gerrit

Re: ugly black rim [Re: Gerrit] #250423
02/07/09 21:12
02/07/09 21:12
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
TA file ?

You mean a tga file? Then you can make an alpha channel, copy the shape of the circle into the alpha channel, and there you go.

I don't know paint.net, and how to apply an alpha channel in it.

Here is a discussion of how to
apply alpha channel in tga!

Re: ugly black rim [Re: Pappenheimer] #250472
02/08/09 07:01
02/08/09 07:01
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Try going back to your TGA file and look VERY VERY closely at the edges of your circle and you
MAY find a circle of not-QUITE-black pixels around it.
This can be caused IF paint.net (never seen it myself) has anti-aliasing during 'fill' operations.

Make them evil pixels dead-black and all will be fine...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: ugly black rim [Re: EvilSOB] #250529
02/08/09 14:38
02/08/09 14:38
Joined: May 2008
Posts: 331
Lithuania, Vilnius
Jaxas Offline
Senior Member
Jaxas  Offline
Senior Member

Joined: May 2008
Posts: 331
Lithuania, Vilnius
then creating in paint.net, first of all create a background layer, and fill it black. All other work do in other layers, then you done, save tga 32bit,compress (RLE). That work fine for me wink


The smaller the bug, the harder it is to kill.
_________________________________________
Forklift DEMO (3dgs)
Re: ugly black rim [Re: Jaxas] #250561
02/08/09 19:07
02/08/09 19:07
Joined: Sep 2005
Posts: 75
CA, Orange County
Gerrit Offline OP
Junior Member
Gerrit  Offline OP
Junior Member

Joined: Sep 2005
Posts: 75
CA, Orange County
Yes it is TGA (sorry about the typo) I did fill the background layer with black (0,0,0) but when I save it in 32 bit format RLE compressed I actually see the black background. If I save it "auto detect" and RLE, I don't see the background (wich is what I want)BUT I have that ugly black rim.

When I make the sprite translucent the black ungly border is still there but then you can barely see it.

Gerrit

Re: ugly black rim [Re: Gerrit] #250565
02/08/09 19:18
02/08/09 19:18
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
upload the file, then we may understand your exact problem(and the reason) better.


3333333333
Re: ugly black rim [Re: Quad] #250588
02/08/09 21:44
02/08/09 21:44
Joined: Sep 2005
Posts: 75
CA, Orange County
Gerrit Offline OP
Junior Member
Gerrit  Offline OP
Junior Member

Joined: Sep 2005
Posts: 75
CA, Orange County
Quadraxas,

Sorry but I don't know how to uplaod a file. Can you tell me how to do that?
Thanks
Gerrit

Re: ugly black rim [Re: Gerrit] #250652
02/09/09 08:46
02/09/09 08:46
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
You can use Rapidshare, Mediafire or Z-Share.

Re: ugly black rim [Re: Cowabanga] #250834
02/10/09 04:53
02/10/09 04:53
Joined: Sep 2005
Posts: 75
CA, Orange County
Gerrit Offline OP
Junior Member
Gerrit  Offline OP
Junior Member

Joined: Sep 2005
Posts: 75
CA, Orange County
Hi

I did upload the file at http://rapidshare.com/files/196226732/pole_2.tga.html

Thanks for helping me
Gerrit

Re: ugly black rim [Re: Gerrit] #250845
02/10/09 07:23
02/10/09 07:23
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
It is like I said, look close at the edge pixels, they dont go from
true green STRAIGHT to dead black, they fade between green and black.

You'll need to find the setting in paint.net to stop it doing that, or
touch up the pixels manually.
Or try another paint program, its a simple image so it shouldnt be hard.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Page 1 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1