jeet1224
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2017
01:50 AM
Is it possible to keep the source code in one location and target many replications in Roku SG ?
I have a many applications with different assets like font, image and color etc. but source code are same.
For example: I have 5 or more than 5 different Roku SG application but the all application has same code with different assets like(image, color, font and etc.)
I want to place the code section at specific location and all application access this code from this location.
Is it possible in Roku scene graph?
If yes then please provide me example or URL.
For example: I have 5 or more than 5 different Roku SG application but the all application has same code with different assets like(image, color, font and etc.)
I want to place the code section at specific location and all application access this code from this location.
Is it possible in Roku scene graph?
If yes then please provide me example or URL.
3 REPLIES 3
taylorcw
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2017
11:18 AM
Re: Manage many project in single project with same scene graph code and different resources
While your description is a little unclear, with scene graph you are able to share resources across different components.
For example, say you have a foobar.xml and you want to share fonts.brs across components. You can pull in fonts.brs and all components using this can share the same functions, subs, fonts, etc.
For example, say you have a foobar.xml and you want to share fonts.brs across components. You can pull in fonts.brs and all components using this can share the same functions, subs, fonts, etc.
<component name = "foo" extends = "Group">
<script type="text/brightscript" uri="pkg:/components/foobar/foobar.brs"/>
<script type="text/brightscript" uri="pkg:/components/Common/fonts.brs" />
</component>
NB_
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2017
02:02 PM
Re: Manage many project in single project with same scene graph code and different resources
Seems he means 5 separate apps with (about?) the same source and only difference in resources.
I'd think how best to arrange that depends on the source control system used (git, svn, cvs...)
I'd think how best to arrange that depends on the source control system used (git, svn, cvs...)
jeet1224
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2017
10:26 PM
Re: Manage many project in single project with same scene graph code and different resources
For Example: I have 5 different Roku sg application but the all application has same code with different resources like(image, color, font and etc.)
I want to place the code section at specific location and all application access this code from this location.
I want to manage application like Xcode of "APPLE" in Roku sg.
taylorcw:While your description is a little unclear, with scene graph you are able to share resources across different components.
For example, say you have a foobar.xml and you want to share fonts.brs across components. You can pull in fonts.brs and all components using this can share the same functions, subs, fonts, etc.
<component name = "foo" extends = "Group">
<script type="text/brightscript" uri="pkg:/components/foobar/foobar.brs"/>
<script type="text/brightscript" uri="pkg:/components/Common/fonts.brs" />
</component>