Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
YungBlood
Streaming Star

HD Questions...

I would like to bring my games up to HD where possible. But since I only have sd equipment, I am hoping someone can answer a few questions.

1) How can I find out if someone has HD, so my games can automatically display in HD mode?

2) What is the resolution of HD?

3) Is there any dead space on HD like there is on SD?
YungBlood

Bringing more fun to Roku!
0 Kudos
7 REPLIES 7
renojim
Community Streaming Expert

Re: HD Questions...

"YungBlood" wrote:
1) How can I find out if someone has HD, so my games can automatically display in HD mode?

di = CreateObject("roDeviceInfo")
dsize = di.GetDisplaySize()
if disize.w = 720 then ' SD
else ' HD


"YungBlood" wrote:
2) What is the resolution of HD?

dsize.w is 1280
dsize.h is 720

"YungBlood" wrote:
3) Is there any dead space on HD like there is on SD?

It depends on the display/TV. I've been using a border of 25 on all sides just to be sure.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
YungBlood
Streaming Star

Re: HD Questions...

Thanks! 🙂 That's just what I needed! 🙂
YungBlood

Bringing more fun to Roku!
0 Kudos
TheEndless
Channel Surfer

Re: HD Questions...

CreateObject("roDeviceInfo").GetDisplayMode() returns "480p" or "720p" (maybe "1080p" but I don't have hardware to test that).

The "Safe Zones" section of the DesignGuidelines.pdf in the SDK states the following:
Keep text that you intend the audience to read within the Title Safe Zone.
• The HD Title Safe Zone is 1022X578, offset from the upper left corner (0,0) by 128,70.
• The SD Title Safe Zone is 576X384, offset from the upper left corner (0,0) by 72,48.

Keep important visual elements within the Action Safe Zone, content outside the Action Safe
Zone risks being cut off by the edge of the screen.
• The HD Action safe zone is 1150X646, offset from the upper left corner (0,0) by 64,35.
• The SD Action safe zone is 648X432, offset from the upper left corner (0,0) by 36,24.

I don't think 25 pixels as renojim suggested is sufficient in a lot of cases. It wouldn't be on any of the displays in my house...
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
renojim
Community Streaming Expert

Re: HD Questions...

"TheEndless" wrote:
I don't think 25 pixels as renojim suggested is sufficient in a lot of cases. It wouldn't be on any of the displays in my house...

Interesting. The only HD display I have to test on displays every pixel, but so far no one has told me any of my channels are clipping anything. The 25 is also just a starting point since, for instance, I wouldn't draw anything like text only 25 pixels in since it's always nice to have an additional border of blank space around everything.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
TheEndless
Channel Surfer

Re: HD Questions...

"renojim" wrote:
"TheEndless" wrote:
I don't think 25 pixels as renojim suggested is sufficient in a lot of cases. It wouldn't be on any of the displays in my house...

Interesting. The only HD display I have to test on displays every pixel, but so far no one has told me any of my channels are clipping anything. The 25 is also just a starting point since, for instance, I wouldn't draw anything like text only 25 pixels in since it's always nice to have an additional border of blank space around everything.

-JT

On my primary HD display, which admittedly has a higher than normal overscan, the top left corner is at (80, 40), so I try to stick within the (64, 35) that the Roku guidelines suggest.

As a point of reference, in your Video Poker channel, the top, left, and right yellow borders of the pay table can't be seen, the very top of the game name is cut off, and "Royal Flush" is about 3 pixels off of the left edge. I can check it now, but I would wager that they fit within the screen on the 37" LCD in my bedroom.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
renojim
Community Streaming Expert

Re: HD Questions...

Thanks for the report. I'll adjust everything the next time I release an update. It's kind of funny, but it was easier to get everything to fit on an SD display, mostly because the HD version uses a larger font.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
RokuKevin
Visitor

Re: HD Questions...

In the v2.8 sdk, the simplegrid example has an overhang that shows on-screen the title safe and action safe zones.

--Kevin
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.