Resources and Support
 Pixel Joint Forum : The Lounge : Resources and Support
Message Icon Topic: pixel art resizing? Post Reply Post New Topic
Author Message
HaitoH3
Seaman
Seaman


Joined: 22 July 2012
Online Status: Offline
Posts: 3
Quote HaitoH3 Replybullet Topic: pixel art resizing?
    Posted: 23 July 2012 at 11:38am
Noob here, was trying to find a answer for this. I am working on a game specifically for tv (without a game engine built from the ground up)....

What would my pixel dimensions be for HD resolution? I have seen tutorials and examples of 16 x 16, 32 x 32 and the max I've seen thus far is 100 x 100.

If I scale up in any art with the low pixel sizes the image becomes blurred, any help in this area would be great thx, and you guys are great




Edited by HaitoH3 - 23 July 2012 at 5:40pm
IP IP Logged
jalonso
Admiral
Admiral
Avatar

Joined: 29 November 2022
Online Status: Offline
Posts: 13537
Quote jalonso Replybullet Posted: 26 July 2012 at 12:55pm
Good question. Hope we all get to find out.
Old TVs are 640x480 :/
IP IP Logged
Dash
Seaman
Seaman


Joined: 11 January 2006
Location: Canada
Online Status: Offline
Posts: 23
Quote Dash Replybullet Posted: 26 July 2012 at 1:17pm
I'm not sure, but wouldn't simple math be able to tell you this?

Standard TV is 480i, and the highest HDTV can go right now is 1080p. AFAIK, either interlace or progressive has no real meaning when it comes to image creation, so we can easily do this formula:

1080/480 = 2.25 ratio.

If you have a 32x32 sprite for SDTV, then multiply by 2.25 and you'd need the same sprite to be 72x72 pixels to display properly on HDTV.

As for the fact that SDTV is 4:3 and HDTV is 16:9, you'd have to also take into consideration the whole layout/viewport of whatever you're developing.
IP IP Logged
shampoop
Commander
Commander
Avatar

Joined: 12 January 2015
Online Status: Offline
Posts: 202
Quote shampoop Replybullet Posted: 26 July 2012 at 1:26pm
Hey,

Unfortunately you will not get a standard resolution for all of today's televisions. I assume you want your game to be "full screen" meaning your grid will cover all areas of the screen. The 32x32 or 16x16 sized tiles and the 640x480 resolution mentioned by jalonso worked well because 16 and 32 divide into 480 and 640 evenly. This is not the case with all resolutions. For example, the popular resolution today is 1920x1080, 32/16 sized tiles don't divide into 1080(but 8 divides into both). Anyway, what I did in my game engine is have a screen resolution setting and I fit my grid in the middle of the screen with proper re-sizing. If you want, you could only support resolutions that will give you a 1:1 ratio. I do have to put up with "bars" on the side on some resolutions though. By proper re-sizing I mean I will re-size each tile by a ratio that will fill the screen optimally.

Hope that helps.
IP IP Logged
Pixogen Pixels
Seaman
Seaman
Avatar

Joined: 11 April 2023
Online Status: Offline
Posts: 2
Quote Pixogen Pixels Replybullet Posted: 28 July 2012 at 2:30pm
"If I scale up in any art with the low pixel sizes the image becomes blurred, any help in this area would be great thx, and you guys are great "

Use nearest neighbor interpolation.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum