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.

Newcomers DBPro Corner / Matrix textures have lines between

Author
Message
Pyro_guy
21
Years of Service
User Offline
Joined: 10th Oct 2003
Location: England
Posted: 5th Dec 2004 00:09
When I fill my matrix with any texture from my texture sheet image, lines appear running along one edge of the tile. I've tried adjusting the image, and using the trim command, but I cant seem to get a result.
Can anyone show me the correct way to do this?

Screw the rules...what can i blow up?
Chris K
21
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 5th Dec 2004 02:46
Make sure your copy of DBPro is fully updated.
Pyro_guy
21
Years of Service
User Offline
Joined: 10th Oct 2003
Location: England
Posted: 5th Dec 2004 21:46
It most certianly is

Screw the rules...what can i blow up?
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 6th Dec 2004 04:26
SET MATRIX TRIM Matrix Number, TrimX, TrimY

this will cut a bit of the texture along tile edge..use little values..like 0.1 or similar
GameKit
21
Years of Service
User Offline
Joined: 6th Mar 2003
Location: USA, Staring Blankly at a Computer
Posted: 6th Dec 2004 22:25
You could try this... In your load image command for your matrix texture add a ",1" behind it... It might slow your game down a bit however...

Load Image "YourTexture.bmp",Img#,1

I think the reason there a "lines" on the matrix is because DarkBasic tries to reduce the image size of the texture in a JPG sort of way. Combining the edge of each texture square with the one to the side of it... This will force DarkBasic to load it exactly as it is...

(The Set Matrix Trim should work too...)

Well... I hope I helped...


The computer isn't an addiction, its more of a mental and social dependancy.

Login to post a reply

Server time is: 2024-11-13 18:40:07
Your offset time is: 2024-11-13 18:40:07