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! / Problem with sprite quality! please help!

Author
Message
Invalid Cola
22
Years of Service
User Offline
Joined: 5th Jun 2004
Location:
Posted: 5th Jun 2004 16:36
I use DB pro, and I have a problem with the quality of my sprites

When I try to use a Sprite the quality gets a lot worse than the image I made it from!

Here is a picture of the quality difference between the sprites and images:


and here is the code I used:



Any help towards solving this problem would be very much appriciated
Invalid Cola
22
Years of Service
User Offline
Joined: 5th Jun 2004
Location:
Posted: 5th Jun 2004 16:37 Edited at: 5th Jun 2004 16:39
Picture doesn't work :/

Try this link:

http://thelodge.dk/viewpic.php?image=/upload/testpic.GIF

pizzaman
22
Years of Service
User Offline
Joined: 18th Feb 2004
Location: Gateshead, UK
Posted: 5th Jun 2004 17:25
hey

add a 1 after the load image command

eg

load image "picture.bmp", imagenum, 1

so yours would be

load image "c:\walking_sprite2.bmp",2,1
load image "c:\Gobling.bmp",50,1

the extra 1 turns off mipmapping which is the cause of your problem

hope it helps
Emperor Baal
22
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 6th Jun 2004 16:37
and setting the mode to fullscreen exclusive instead of windowed will also boost the quality (A LOT)

Quote: "
UPDATED

Amd 2800+ 1024mb pc3200 A7N8X - Deluxe Ati Radeon 9800PRO 256mb
"
Invalid Cola
22
Years of Service
User Offline
Joined: 5th Jun 2004
Location:
Posted: 7th Jun 2004 17:39
I tried adding a 1 after the load image command:



But when I compile it says:

"#100008: Parameter for 'LOAD IMAGE' do not match 'Filename, Image Number' at line 1."

I also tried setting the mode to "Fullscreen Exclusive Mode" instead of "Windowed - Full Screen" but that didn't work either

Anyone got any ideas?
pizzaman
22
Years of Service
User Offline
Joined: 18th Feb 2004
Location: Gateshead, UK
Posted: 7th Jun 2004 18:39 Edited at: 7th Jun 2004 18:40
hmmm....

well it shouldn't come up with that, have you got the latest upgrade for DBpro, upgrade 5.2 if you haven't click the link below

http://darkbasicpro.thegamecreators.com/?f=upgrades

i'm sure you just haven't upgraded because i tried your code with 2 of my images (with the extra 1 after the load image command) and they showed perfectly

the only other things i can think of if this is not the case is you haven't got direct x 9.0b, you haven't got the lastest driver's for your graphics card, your graphics card has got something like anti-alaising on (or however its spelt)

post back if you still haven't got it sorted out maybe one of the more advanced 2d people can answer your problem

pizzaman
Invalid Cola
22
Years of Service
User Offline
Joined: 5th Jun 2004
Location:
Posted: 7th Jun 2004 19:24
Many thanks Pizzaman,
you're my hero!

It just needed patching and it worked

Login to post a reply

Server time is: 2026-06-09 15:43:32
Your offset time is: 2026-06-09 15:43:32