FatalTerror Posted April 9, 2013 Share Posted April 9, 2013 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). 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
GTX Posted April 9, 2013 Share Posted April 9, 2013 That's the problem from the image. I had the same problem but in my case, I used dxDrawImageSection. Link to comment
Kenix Posted April 9, 2013 Share Posted April 9, 2013 Problem in image resolution. If you want to resolve this problem you need use resolutions such like: 16x16, 32x32, 64x64, 128x128, ... Link to comment
FatalTerror Posted April 10, 2013 Author Share Posted April 10, 2013 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
Kenix Posted April 11, 2013 Share Posted April 11, 2013 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. Link to comment
itoko Posted April 11, 2013 Share Posted April 11, 2013 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. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now