Introduction
Assets are required in Roku apps for such things as logos, splash screens, placeholder images etc.
These assets can sourced from
- A default contained within the SDK.
- In the field for such an asset enter the path name pkg:/
- For example pkg:/images/focus.9.png is the default image for the focus state image around the Roku Simple Cell
- In the field for such an asset enter the path name pkg:/
- An asset from the bundle uploader file.
- In the field simply enter the asset's name as found within the uploaded file e.g. menulogo.png (case sensitive)
- A URL to upload from the web
Build time assets in the SDK
Go to Assets in Zapp App settings for your specific app
Here you can upload the following assets
Key | Use | Information |
top_banner | 1924px x174px | |
splash | A full screen image displayed during app loading | 1920px x 1080px |
logo_image | Displayed in your app, top left | 400px x 144px total Use transparent alpha around logo to ensure logo fits this size. |
menu_icon | The Roku Home Page Icon that will promote your app | 540px x 405px |
place_holder_roku | In cells when no image is available from the feed or has not yet been loaded | Size can match the largest cell size you have in your app |
lock_icon | Used in cells when content type in feed has locked status |
Size to match the cell this will be used in. Image is transparent alpha with lock icon in desired position |
Asset Bundle Uploader
It is also possible to upload a zip file of assets from which the file name of individual items can be entered in various places in the app to pull the required asset. Example uses might be the left app logo icon or a settings page icon in the menu or individual placeholder images for different cells.
Go to the plugins section of your app and ensure this plugin is installed before app build time
.
Create a file of all the assets required in your app and compress it. Make sure when zipping your assets that you highlight all the assets themselves and zip them into a compressed file. Do not just zip the existing folder name on your PC.
Click on the plugin and you can upload the assets bundle zip file of all assets to be used in your app.
Save and build your app.
Comments
0 comments
Please sign in to leave a comment.