Jump to content

dxDrawImage problem


Recommended Posts

Posted

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.

Paid developer. Twitter: @willia_am -

http://www.williamdasilva.fr
Posted

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

Do you require a paid scripter? Contact me! (Unavailable) Currently I am experienced in Lua, PHP, HTML, CSS, SQL and JS.

Developer and owner of

https://projectbea.st - Project Beast
Posted

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

http://vk.com/the_kenix

Вопросы задавайте на форуме, не пишите мне в личку.

Please don't pm me.

Posted
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?

Paid developer. Twitter: @willia_am -

http://www.williamdasilva.fr
Posted

Just change a resolution of image. It's what i said in upper post.

Nobody have any other solutions?

Only this should resolve your problem.

http://vk.com/the_kenix

Вопросы задавайте на форуме, не пишите мне в личку.

Please don't pm me.

Posted

I actually get this problem when the image is at the limit of the screen, move it just a little from it and it should be fixed.

Not sure if it will work.

bruh

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