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! / Disabling Anti-Aliasing

Author
Message
The Great Poe
User Deleted
Posted: 25th Aug 2004 05:18
Okay. How do you disable anti-aliasing? I'm posting this a second time cause no one knew on the first forum. (A lot of people were saying it's impossible. ) I guess this is a better place to go though. Anyways, anyone know what to do?

BTW, this picture shows what\'s happening. The tiles look kinda funky, and that text in the top-left, which is part of the background, looks REALLY messed up.

[img]http://img17.exs.cx/my.php?loc=img17?=pixesdof.jpg
[/img]
If anyone knows how, I would love to hear it.
The Great Poe
User Deleted
Posted: 25th Aug 2004 05:20
The link messed up for some reason. Here it is again.

the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 25th Aug 2004 05:24 Edited at: 25th Aug 2004 05:26
Other that the texture flag on load and get image which disables filtering which you where told about in your other post
http://forum.thegamecreators.com/?m=forum_view&t=37698&b=1
There is no way to control anti-aliasing from within dbpro. Change it with your graphics card properties.

Can you provide the actual images you are using and sample code?

shrink those dbpro exes
Create patches for your dbpro games
The Great Poe
User Deleted
Posted: 25th Aug 2004 06:53
Wh.... but that means all 2D games suck in DB.




There ya go.

What script would I include?

I HAVE DARKBASIC PROFESSIONAL!!!!!!!
The Great Poe
User Deleted
Posted: 25th Aug 2004 06:58
And here's an in-editor photo that doesn't have the jpeg compression.



I HAVE DARKBASIC PROFESSIONAL!!!!!!!
the_winch
23
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 25th Aug 2004 07:01 Edited at: 25th Aug 2004 07:07
It works fine for me. You not using the LOAD IMAGE texture flag are you.

load image "file.bmp",1,1
for get image
get image 1,0,0,10,10,1

from the help

Quote: "LOAD IMAGE
This command will load a picture file as an image. The picture file must be of the BMP, JPG, TGA, DDS, DIB or PNG format. All images loaded are prepared with mipmaps if they do not already have them. TGA, DDS and PNG will retain their alpha channel data when loaded, providing the required transparency information when combined with transparency commands. A Texture Flag of zero will treat the image as a texture and load to fill a texture surface in memory. A value of one will preserve the image without adding mipmaps, scaling or filtering and so retaining its pixel perfect quality.

SYNTAX
LOAD IMAGE Filename, Image Number
LOAD IMAGE Filename, Image Number, Texture Flag"


code I used


screenshot


shrink those dbpro exes
Create patches for your dbpro games
The Great Poe
User Deleted
Posted: 25th Aug 2004 09:37
That work for the sprite command too?

I HAVE DARKBASIC PROFESSIONAL!!!!!!!
The Great Poe
User Deleted
Posted: 25th Aug 2004 17:21
OH MY GOD!!!!!!! I DIDN'T USE THE FLAG!!!!!

I used it on 2 of the images, but not the others....

Well, that resolves everything.

Thanks.

I HAVE DARKBASIC PROFESSIONAL!!!!!!!
Tapewormz
23
Years of Service
User Offline
Joined: 15th Sep 2002
Location: Winnipeg, Mantoba, Canada
Posted: 12th Sep 2004 21:13
Ah, That fixes my problem too.

Login to post a reply

Server time is: 2026-06-11 17:33:43
Your offset time is: 2026-06-11 17:33:43