Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / AntiAlias??

Author
Message
Jack LOL
19
Years of Service
User Offline
Joined: 4th Aug 2006
Location: Near the CPU Close to the graphic card
Posted: 28th Aug 2006 11:18
is there any antialias dll or function, that will antialias a sprite while its background changing?
ty.

lol?! xD
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 28th Aug 2006 13:32
Really the fastest way to AA a sprite, is to AA it!

Just draw your stuff at double the required resolution, scale down by half - and you have a sprites with smooth edges - assuming you have an art package that supports layers and alpha of course.

You can also add glows, or drop shadows using PNG and other alpha transparency supporting images (TGA and DDS IIRC).

''Stick that in your text and scroll it!.''
Jack LOL
19
Years of Service
User Offline
Joined: 4th Aug 2006
Location: Near the CPU Close to the graphic card
Posted: 28th Aug 2006 20:36 Edited at: 28th Aug 2006 20:37
I dont think i got u right..
but if i did, so u say to AA it outside the game.
but AA is being done according the background(as much as i know)
and in the game the background is changing so a AA with a black background wont be the same as AA with white background right?
oh and i did'nt understood the double resolution scale technique or the glows and drop shadows(well actually i know what a drop shadow is )

lol?! xD
Digital Awakening
AGK Developer
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 28th Aug 2006 21:45
If you use a software that is capable of handling transparency, like Photoshop. You can make images that are smoothed against transparency and then save it out to a 32bit PNG (with alpha chanel). Now when you load in the image it will be anti aliased against what ever you put behind it.

Jack LOL
19
Years of Service
User Offline
Joined: 4th Aug 2006
Location: Near the CPU Close to the graphic card
Posted: 29th Aug 2006 00:34
@Digital Awakening
wow it works like magic
Thanks

lol?! xD
Digital Awakening
AGK Developer
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 29th Aug 2006 02:54 Edited at: 29th Aug 2006 02:56
Well, that's what Van said but with different words

Been using it myself ever since DBP was released. And yeah, it do work like magic Makes stuff look real nice.

Jack LOL
19
Years of Service
User Offline
Joined: 4th Aug 2006
Location: Near the CPU Close to the graphic card
Posted: 29th Aug 2006 11:33
Well ive looked at like three 2D games and they have used the same method with AA png files.

lol?! xD
BiggAdd
Retired Moderator
21
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 30th Aug 2006 20:28
Wow i diddn't know you could do this!!!! Niiiiice.

Login to post a reply

Server time is: 2026-07-08 01:53:41
Your offset time is: 2026-07-08 01:53:41