Jump to content

Image rendering


H5N1

Recommended Posts

Posted

Im making speedometer to my edited race gamemode. First I designed it in photoshop and then scripted it into mta. But imo it looks awful. But only in mta! I dont understand why images in MTA are blured.

http://i51.tinypic.com/4qsilv.png - photoshop design

http://i52.tinypic.com/f4npqv.jpg - MTA

Only background for speed (number) and gear looks okey because they are rendered by dxDrawRectangle...

PS: I use dx functions to draw images.

Posted

Try to make the DX parameters bigger or smaller.

By the way, the resolution should affect that too, try to see how does it look in normal resolution (800x600)

Posted

1. use images with sizes that are a power of 2. like 16x16, 32x64, 64x16, 128x32, etc.

for your image you can use 512x128, for example

2. resize images carefully, or better not resize at all.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...