Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

LSR file for tvOS Top Shelf Images?
Started by borderleap Dec 01 2016 06:16 AM

2 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

borderleap

[GLOBAL: userInfoPane.html]
borderleap
  • Contributor

  • 394 posts
  • Corona SDK

Based on the guide, I've got layered PNG files for my icons and they work great.  However, I'd like to create a .lsr file and use it for the top shelf images too...  Getting ready to try this out but just curious from your end if there's anything special I need to do other than this?

topShelfImage = "Icon-tvOS-TopShelf.lsr", -- 1920x720
topShelfImageWide = "Icon-tvOS-TopShelfWide.lsr", -- 2320x720


[TOPIC: post.html]
#2

bjsorrentino

[GLOBAL: userInfoPane.html]
bjsorrentino
  • Veteran

  • 8,506 posts
  • Corona SDK

Hi Nate,

Honestly, I've never tried using a .lsr image for this. Have you tested if it works? If it does, I'll add a note to our documentation on it. :)

 

Brent



[TOPIC: post.html]
#3

Michael W.

[GLOBAL: userInfoPane.html]
Michael W.
  • Contributor

  • 276 posts
  • Alumni

We're not doing anything terribly fancy with the files, and it should just work, depending on the specifics of the format.

 

Failing that, you can forgo defining top shelf images and icon images in build.settings and supply your own .xcasset bundle in your project directory and Corona will pick it up.

 

I can't promise this will work for Runtime Layered Images. Please let us know of any issues you run into.




[topic_controls]
[/topic_controls]