Skip to end of metadata
Go to start of metadata

This Scene Graph XML tutorial walks you through the development of a complete Roku Scene Graph application. We start with simple examples of defining renderable nodes to appear at certain locations on the display screen, and then how to animate those nodes to move around and appear on the display screen. We show you how to create a dynamic application that responds instantly to user inputs and changes in application data, and how to automatically and asynchronously download new data selected by the user. We demonstrate the many types of lists and grids that you can create to display choices to users, and the widgets available in Roku Scene Graph. And finally we show you how to play the media files requested by a user, so you can create your own custom video-on-demand application.

Each of the examples shown has a link to a downloadable ZIP file containing the example application. You should have a development and test setup, and you should download each ZIP file, and "side-load" it on your test Roku Player, to see how the XML markup shown in the example appears on the display screen connected to the Roku Player. Note carefully how each entire application is set up in the various files and directories included in the ZIP file, as described in Developing Scene Graph Applications.

Additionally, you may find this example application useful as an overview of all of the node types available in Roku Scene Graph: SceneGraphTutorial.zip. You can also skip ahead to see how a complete application is set up in Complete Tutorial Application, which describes this application. Since this application allows a user to select and play videos, it can give you a very good idea of how to develop a video-on-demand application, while allowing you to quickly see the various UI elements available in Roku Scene Graph. Every node class, and design and development principle, in this tutorial, is shown in the Complete Tutorial Application.

Throughout the tutorial examples, there are links to the sections of the Scene Graph XML Guide and Scene Graph XML Reference that describe the specific Scene Graph nodes or principles demonstrated by each example. 



 

  • No labels