Your Digital Media Has Never Looked So Good

Search found 15 matches

by pjforde1978
Thu Apr 25, 2019 1:09 am
Forum: Roku Developer Program
Topic: roSGNode subclass type reflection
Replies: 5
Views: 340

Re: roSGNode subclass type reflection

As it happens, roSGNode has an ifSGNodeDict interface that provides a subtype() function that returns the information I was looking for. In my original example, calling node.subtype() on my UrlNode component would return "UrlNode". https://sdkdocs.roku.com/display/sdkdoc/ifSGNodeDict Case ...
by pjforde1978
Fri Apr 19, 2019 2:20 am
Forum: Roku Developer Program
Topic: Telnet re-connection
Replies: 3
Views: 384

Re: Telnet re-connection

First, type CTRL + ]

Then type: close
by pjforde1978
Mon Apr 15, 2019 5:54 pm
Forum: Roku Developer Program
Topic: BrightScript feature request: string interpolation
Replies: 7
Views: 469

Re: BrightScript feature request: string interpolation

That would seem to be a reasonable implementation, but it's still implemented in BrightScript and seems to require explicitly calling a function. I'm definitely talking about / proposing adding string interpolation to your basic string handling in the BrightScript language for a future OS upgrade re...
by pjforde1978
Wed Apr 03, 2019 11:19 pm
Forum: Roku Developer Program
Topic: BrightScript feature request: string interpolation
Replies: 7
Views: 469

Re: BrightScript feature request: string interpolation

Thanks so much for taking the time to answer. All of your suggestions have their places, except possibly the horror that is the 3rd code pattern with all of the Replace calls. Burn it with fire! :) Moving past all of the "is it plugged in?" suggestions - I didn't ask how to fake string int...
by pjforde1978
Mon Apr 01, 2019 10:41 am
Forum: Roku Developer Program
Topic: Global font setting
Replies: 0
Views: 271

Global font setting

Is there a mechanism that allows a developer to set a font that can be used across all font-capable nodes in your application? I just realized that even roAppManager doesn't appear to have font attributes. If application-level font-setting is not possible, is there a way to define a named font in yo...
by pjforde1978
Sun Mar 31, 2019 8:42 pm
Forum: Roku Developer Program
Topic: roSGNode subclass type reflection
Replies: 5
Views: 340

Re: roSGNode subclass type reflection

Thanks for the amazing answers.

I'm still surprised that there's no capacity for reflection but tonight I also realized that there's no || assignment operator either. Every language has its idiosyncrasies.
by pjforde1978
Sun Mar 31, 2019 6:04 pm
Forum: Roku Developer Program
Topic: roSGNode subclass type reflection
Replies: 5
Views: 340

Re: roSGNode subclass type reflection

That's an answer I was not expecting. I see that you've made over 2500 posts, so I don't quickly discard your opinion. That said, I would like to benefit from your experience by digging a little deeper. What's your confidence level regarding the performance impacts of subclassing in BrightScript? Is...
by pjforde1978
Sun Mar 31, 2019 4:38 pm
Forum: Roku Developer Program
Topic: roSGNode subclass type reflection
Replies: 5
Views: 340

roSGNode subclass type reflection

I've created a UrlNode, which is a ContentNode with a feed_url field added. <?xml version="1.0" encoding="utf-8" ?> <component name="UrlNode" extends="ContentNode">   <interface>     <field id="feed_url" type="string" />   </interface> </co...
by pjforde1978
Sat Mar 30, 2019 5:04 pm
Forum: Roku Developer Program
Topic: BrightScript feature request: string interpolation
Replies: 7
Views: 469

Re: BrightScript feature request: string interpolation

There's nothing explicitly wrong with it, and I didn't suggest that there was. However, there's a reason that people love to work with some languages more than others. You'll note that interpolation doesn't stop Ruby/JS devs from appending strings. It's just far shorter and arguably easier to visual...
by pjforde1978
Sat Mar 30, 2019 3:06 pm
Forum: Roku Developer Program
Topic: BrightScript feature request: string interpolation
Replies: 7
Views: 469

BrightScript feature request: string interpolation

Coming from Ruby/ES6, there are some language niceties that would go a long way towards increasing developer happiness which perhaps your team could borrow. Top of mind is string interpolation: ' Ruby-style user = "PJ" return "Welcome back, #{user}!" In JavaScript, we have to use...
by pjforde1978
Sat Mar 30, 2019 1:42 pm
Forum: Roku Developer Program
Topic: How is Aquatic Life implemented?
Replies: 7
Views: 765

Re: How is Aquatic Life implemented?

@RokuNB let's try this again... I take from the silence that we're a long ways off being able to access the GL rendering layer. Sad, but we can move on. When I look at the Roku opening sequence, I see a combination of perspective flips and reflections. Coming from the HTML world, we got some pretty ...
by pjforde1978
Wed Mar 27, 2019 12:30 am
Forum: Roku Developer Program
Topic: The challenges to develop my first public SceneGraph channel
Replies: 4
Views: 1446

Re: The challenges to develop my first public SceneGraph channel

*slow claps* I wish that it was somehow possible to see (some of) your code, without harming your ability to sell the pro channel upgrade. I'm curious about how you integrate your Roku <-> Rokanban <-> Trello bridge. Specifically, in the product video, you show going to your site to enter a 5-digit ...
by pjforde1978
Tue Mar 26, 2019 10:42 pm
Forum: Roku Developer Program
Topic: How is Aquatic Life implemented?
Replies: 7
Views: 765

Re: How is Aquatic Life implemented?

Thanks for the reply.

Is there a meaningful path for a mortal to work with the lower-level SDKs at this point? I would love to be able to work in a 3D rendering context, even if the environmental constraints are harsh.

CreateObject("roScreen3D")

Come on, you know you want to... :)
by pjforde1978
Mon Mar 25, 2019 7:52 pm
Forum: Roku Developer Program
Topic: Can I stream my Roku channel to my website?
Replies: 2
Views: 458

Re: Can I stream my Roku channel to my website?

For better or worse, you should be able to embed your Roku video content... because Roku doesn't host content. All videos that you watch on the Roku platform are hosted on a CDN. In fact, the very first message on this forum is a pinned thread about video CDNs and service providers. https://forums.r...
by pjforde1978
Mon Mar 25, 2019 6:58 pm
Forum: Roku Developer Program
Topic: How is Aquatic Life implemented?
Replies: 7
Views: 765

How is Aquatic Life implemented?

Forgive me if this is a taboo question, but how does the Aquatic Life screensaver actually work behind the scenes? I'm trying to figure out if it's just a video loop or a slick combination of animated models and shaders... given that I haven't seen anything that suggests 3D engine support, I figure ...