Your Digital Media Has Never Looked So Good

Search found 97 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 7
by Rek
Wed Sep 02, 2015 3:19 pm
Forum: Roku Developer Program
Topic: Reversing a String in BrightScript
Replies: 5
Views: 1453

Re: Reversing a String in BrightScript

I'm guessing you're new to coding, so it's worth pointing out that you can put Komag's snippet into a re-usable function: function stringReverse(input as String) as String newStr = "" len = len(input) for i = len to 1 step -1 newStr = newStr + mid(input, i, 1) end for return newStr end fun...
by Rek
Mon Jun 29, 2015 3:08 pm
Forum: Roku Developer Program
Topic: Problem with roScreen stack
Replies: 5
Views: 1491

Re: Problem with roScreen stack

How would I do that? I only saw how to get a byteArray from the roScreen. Is there a way to cast it to a roBitmap or would I need to do something else? roBitmap implements the ifDraw2D interface. That means you can call all the same draw*() methods on a bitmap as you do on the roScreen. Once you've...
by Rek
Wed May 13, 2015 8:58 am
Forum: Roku Developer Program
Topic: Automated publishing
Replies: 12
Views: 2285

Re: Automated publishing

Thanks for all the great info everyone. I think we'll just stick with the old fashioned upload process for now. Although I am very tempted to build the staging server you speak of EnTerr -- but it doesn't quite meet our needs. With that solution, the Roku devices and staging server would either need...
by Rek
Wed May 06, 2015 7:33 am
Forum: Roku Developer Program
Topic: Automated publishing
Replies: 12
Views: 2285

Re: Automated publishing

I can't think of a single good reason to do this, and about a million good reasons not to. How often are you publishing updates to channels that you need to automate it, and is it often enough to risk writing a script that could do it accidentally? Sounds very dangerous to me... I agree that it has...
by Rek
Tue May 05, 2015 5:43 pm
Forum: Roku Developer Program
Topic: Automated publishing
Replies: 12
Views: 2285

Re: Automated publishing

Komag wrote:
But it's only been one day!

But probably you're right. :P


One day and 30+ thread views... I figured there's a good chance that you, enterr, endless, squirrel, and belltown would've likely seen it :lol:
by Rek
Tue May 05, 2015 2:48 pm
Forum: Roku Developer Program
Topic: Automated publishing
Replies: 12
Views: 2285

Re: Automated publishing

Does anyone know of a way to automate publishing of a Roku channel? I've built a toolchain that performs some custom build steps and outputs either a .zip or .pkg file. I often do builds which I upload to a private channel for testing, and I find it cumbersome to login and navigate the website each...
by Rek
Tue May 05, 2015 9:36 am
Forum: Roku Developer Program
Topic: OOP: access parent obj & Inheritance
Replies: 8
Views: 1973

Re: OOP: access parent obj & Inheritance

Meet a new friend, her name is YAGNI Oh, YAGNI, I know ye well. Then I forget you exist. Met you again for the first time... New OOP Vocab Inquiry: ⋅ a DialogBox is something that returns a value, but doesn't have to. ⋅ a Menu is something that does something. Does that work for...
by Rek
Mon May 04, 2015 3:03 pm
Forum: Roku Developer Program
Topic: Developing rich UI contents
Replies: 42
Views: 7805

Re: Developing rich UI contents

Thanks. By "draw" you mean having a few hundred image canvas everywhere? ImageCanvas is likely too slow for a whole application. You'll probably want to use roScreen. Any idea on how to achieve something similar to YouTube's left side scrolling menu? It slides in and out of the screen and...
by Rek
Mon May 04, 2015 2:55 pm
Forum: Roku Developer Program
Topic: Automated publishing
Replies: 12
Views: 2285

Automated publishing

Does anyone know of a way to automate publishing of a Roku channel? I've built a toolchain that performs some custom build steps and outputs either a .zip or .pkg file. I often do builds which I upload to a private channel for testing, and I find it cumbersome to login and navigate the website each ...
by Rek
Mon May 04, 2015 12:26 pm
Forum: Roku Developer Program
Topic: monitoring the refcnt
Replies: 3
Views: 911

Re: monitoring the refcnt

Is it possible via the debugger to print the refcnt for an arbitrary variable? If I put a stop statement in my code the debugger will show the refcnt for the immediate scope: Local Variables: cpx roAssociativeArray refcnt=4 count:20 global rotINTERFACE:ifGlobal m roAssociativeArray refcnt=5 count:1...
by Rek
Fri May 01, 2015 9:28 am
Forum: Roku Developer Program
Topic: Overlay roPosterScreen with ImageCanvas
Replies: 6
Views: 1665

Re: Overlay roPosterScreen with ImageCanvas

squirreltown wrote:
The magic 8-ball can see your future though, "it is decidedly ...roScreen".


Image
by Rek
Mon Apr 20, 2015 1:15 pm
Forum: Roku Developer Program
Topic: OOP: access parent obj & Inheritance
Replies: 8
Views: 1973

Re: OOP: access parent obj & Inheritance

Would it be OK to make allObjsToDrawStackList a global? It might be OK, but probably wouldn't be best. It seems like that variable should be confined to some sort of render manager object. Making it a global will just limit you in the future. For example, what if you wanted to support two render sy...
by Rek
Thu Apr 09, 2015 12:27 pm
Forum: Roku Developer Program
Topic: eclipse brightscript file syntax highlight
Replies: 10
Views: 3317

Re: eclipse brightscript file syntax highlight

Eclipse has a project outliner that brings in the entire workspace, anything In your project can be included in the project tree. This means all file types in your channel. JSON XML images video can all be associated with a plugin or another program on your device. So it's easy to get into these fi...
by Rek
Thu Apr 09, 2015 11:28 am
Forum: Roku Developer Program
Topic: fake Modal Menu with getMessagePort()
Replies: 14
Views: 2377

Re: fake Modal Menu with getMessagePort()

Sounds like maybe you want a stack of components instead of a hierarchy. I was thinking more about a generic UI system like android's where different components on the screen can react to events (i.e. buttons, text boxes, etc.). But if you're trying to achieve something more like a pause screen in a...
by Rek
Thu Apr 09, 2015 11:16 am
Forum: Roku Developer Program
Topic: eclipse brightscript file syntax highlight
Replies: 10
Views: 3317

Re: eclipse brightscript file syntax highlight

The only real advantage to using the eclipse plugin is the integrated build system For me, the real advantage to using the eclipse plugin is complete project management. Not sure if sublime is that advanced. Don't have it, but from the screenshots it just appears to be a text editor. Apologies in a...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 7