Pictures get larger in Gleed

Mar 22, 2011 at 2:14 PM

Hello,

all Textures loaded into Gleed become larger than they actually are: For example, when I load an image of 50x50, it becomes 64x64 (origin is computed as 32;32 - scale is 1).

Any ideas?

Thanks!

Max

Mar 23, 2011 at 5:16 PM

To get an idea what I mean, this is how a texture of 100x100 looks in Gleed2D (gridsize 50x50):

Mar 23, 2011 at 8:25 PM

Looks like it's being changed to 128x128. I wonder if your graphics card can't handle textures that aren't sized to a power of two.

As a test, try a texture that's 64, 128, or 256 and see if it messes up on those.

Mar 24, 2011 at 10:10 AM

Yes, that seems to be the problem! I am developing on my laptop...

I tried a texture with 64x64 and it worked fine. Any chance this could be fixed?

(in XNA itself, I don´t have this problem btw.)

Jun 5, 2012 at 2:26 AM

Hey, I'm having the same problem too, anyone with a solution please.

I'm new with this software.

 

Jun 5, 2012 at 1:42 PM

 

Hi,

Have you tried the new version at https://github.com/SteveDunn/Gleed2D/wiki?

The code has changed quite a bit and there's some new features such as shadows and lights.

It's also now compatible with Windows Phone 7.x

Cheers,

Steve.