Jump to content

dxDrawImage problem


Recommended Posts

Hi everyone.

I've a little problem with my image.

When I want to draw my transparent image, he make a sort of border in the transparent area.

I'm using the power of two for my image size: (1024x128).

2x0hl

  
dxDrawImage(        Area.background.x, Area.background.y+(Area.background.h/2), Area.background.w, Area.background.h, 
                        "img/lolcat.png", 
                        0,0,0, 
                        tocolor(255, 255, 255, 255), 
                        false); 
  

I don't know how to fix it.

If you have any solutions give. I'm here.

Thanks for your help.

FatalTerror.

Link to comment
That's the problem from the image. I had the same problem but in my case, I used dxDrawImageSection.

I try this but it's not very simple to use.

Problem in image resolution. If you want to resolve this problem you need use resolutions such like: 16x16, 32x32, 64x64, 128x128, ...

A square image? :|

Nobody have any other solutions?

Link to comment

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...