Imported graphic gets blurry in Picture Editor

For questions about using Classic.

Post » Thu Jan 06, 2011 7:08 pm

[quote="namre":rapj2y5a][...]The biggest and max size that I have is around 1068 pixels wide. I do this so that my game would look good on different resolutions.[...][/quote:rapj2y5a]
Just to point out: you should always try to work with textures with dimensions on the powers of two. If a texture isn't in these dimensions its dimensions will be stretched to the next power of two. Graphics wise it doesn't make any difference since it's just how graphics cards handle textures but if not applied correctly textures will end up taking enormous amounts of video ram with no gain.

A 1068x texture will stretch up to 2048x2048 which is 16mb worth of vram. If you can fit your texture in a size of 1024x instead it'd instantly be cut down to "just" 4mb.

Not that it really has much to do with the thread though. I've never had any problems importing any kind of graphics.

Edit: fixed a typo
B
11
S
2
G
3
Posts: 100
Reputation: 2,150

Post » Thu Jan 06, 2011 7:20 pm

Hi Zotged,

So let's say I have a 20x20 image that I need to import. Do I blow up the image to fit 32x32 or can I just place white space around the 20x20 image and make its canvas 32x32?

So lets say for example...

<--32px-->
XXXXXXXXX
XXXXXXXXX
XXOOOOXX
XXOOOOXX
XXOOOOXX
XXOOOOXX
XXXXXXXXX
XXXXXXXXX

Where the "O" is the actual image, and "X" is the white space.

I hope I'm making sense :D
B
3
S
1
G
2
Posts: 86
Reputation: 997

Post » Fri Jan 07, 2011 11:35 am

I don't think there's sense in stretching the canvas especially with very small textures, the graphics card does that automagically anyway, but when you're approaching, say, 256x 512x or 1024x I recommend to try and make them fit in or under those dimensions.
B
11
S
2
G
3
Posts: 100
Reputation: 2,150

Post » Fri Jan 07, 2011 11:43 am

Got it. Thanks for you tip.Will keep this in mind in the future.
B
3
S
1
G
2
Posts: 86
Reputation: 997

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests