Your Digital Media Has Never Looked So Good

Search found 805 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 54
by Komag
Tue Jun 04, 2019 6:48 pm
Forum: Roku Developer Program
Topic: How to skip an iteration in a FOR loop?
Replies: 15
Views: 1394

Re: How to skip an iteration in a FOR loop?

destruk, that gives me:

Syntax Error. (compile error &h02) in pkg:/source/mn.brs(1846)

which is the line with Next
by Komag
Sun Jun 02, 2019 7:47 pm
Forum: Roku Developer Program
Topic: How to skip an iteration in a FOR loop?
Replies: 15
Views: 1394

How to skip an iteration in a FOR loop?

FUNCTION testNext() testA = ["apple", 2, "carrot", "dapple", 5, "fapple", "gourd"] testInt = 0 FOR EACH fruit IN testA testInt++ IF TYPE(fruit) = "roString" THEN ? fruit ELSE testA.Next() ? "testNext() did one step, fruit " fruit...
by Komag
Thu May 16, 2019 8:54 pm
Forum: Roku Developer Program
Topic: [Solved] Continuous button press
Replies: 8
Views: 2627

Re: [Solved] Continuous button press

evnt = port.GetMessage() 'IF evnt <> INVALID THEN PRINT "evnt" evnt ", Type(evnt) = " Type(evnt) ' This prints everything (mainly button presses/releases) IF (Type(evnt) = "roUniversalControlEvent") THEN controls(evnt) ' CONTROL EVENTS - REMOTE ' Only send remote butto...
by Komag
Wed May 15, 2019 2:31 pm
Forum: Roku Developer Program
Topic: SDK Wiki Pages?
Replies: 10
Views: 887

Re: SDK Wiki Pages?

Except now the whole Brightscript language reference is gone! I can only see the Components, Interfaces, and Events, but not the language itself.

...and Depreciated APIs is broken too.
by Komag
Tue May 14, 2019 2:22 am
Forum: Roku Developer Program
Topic: SDK Wiki Pages?
Replies: 10
Views: 887

Re: SDK Wiki Pages?

This page on "Expressions, variables, and types" has a bunch of extra \ characters which really messes up the code!
https://developer.roku.com/docs/references/brightscript/expressions-variables-types.md
by Komag
Mon Apr 29, 2019 12:02 pm
Forum: Roku Developer Program
Topic: Documentation Request For 1920x1080 roScreen
Replies: 4
Views: 984

Re: Documentation Request For 1920x1080 roScreen

I'm curious about this as well!
by Komag
Sat Apr 13, 2019 4:16 am
Forum: Roku Developer Program
Topic: Sneak Peek at Komag's dungeon RPG game
Replies: 13
Views: 2561

Re: Sneak Peek at Komag's dungeon RPG game

Still working on this!

Meet the newest enemy:
Image
by Komag
Fri Apr 05, 2019 6:09 pm
Forum: Roku Developer Program
Topic: BrightScript Game Development Questions
Replies: 5
Views: 793

Re: BrightScript Game Development Questions

Yeah, it keeps out the riff-raff ;-)
by Komag
Fri Apr 05, 2019 7:12 am
Forum: Roku Developer Program
Topic: BrightScript Game Development Questions
Replies: 5
Views: 793

Re: BrightScript Game Development Questions

I'll take a stab: Q) Is it possible to set up a lower resolution for the game and have it scaled to the device? - Roku automatically does this, so you don't have to Q) What audio format(s) are used for sound effects and music? - SFX 44.1khz 16bit mono wav - Music: I currently hav...
by Komag
Thu Apr 04, 2019 12:03 pm
Forum: Roku Developer Program
Topic: rOS 7: [*] button => "deadend" sound, why?
Replies: 15
Views: 1874

Re: rOS 7: [*] button => "deadend" sound, why?

I just noticed that this issue seems to finally have been fixed! Yeehaw! It may have been months ago, not sure.
by Komag
Wed Apr 03, 2019 11:38 pm
Forum: Roku Developer Program
Topic: BrightScript feature request: string interpolation
Replies: 7
Views: 795

Re: BrightScript feature request: string interpolation

They have updated things over the years, there are changelogs, but usually it's for new stuff that didn't have an easy alternative.
by Komag
Sat Mar 30, 2019 4:11 pm
Forum: Roku Developer Program
Topic: BrightScript feature request: string interpolation
Replies: 7
Views: 795

Re: BrightScript feature request: string interpolation

What's wrong with:

Return "Welcome back, " + user + "!"
by Komag
Fri Mar 29, 2019 11:27 am
Forum: Roku Developer Program
Topic: Repeatable Roku CRASH - Delete channel while on screensaver
Replies: 8
Views: 1202

Re: Repeatable Roku CRASH - Delete channel while on screensaver

Since you're OK with the black screen, it would take a few minutes to add that as an internal screensaver, and then you'd never have to remember. Plus, you could add a logo flying around at a later time. (4200) Actually I'm planning such an internal screensaver, haven't decided on the design, but y...
by Komag
Thu Mar 28, 2019 11:30 pm
Forum: Roku Developer Program
Topic: Repeatable Roku CRASH - Delete channel while on screensaver
Replies: 8
Views: 1202

Re: Repeatable Roku CRASH - Delete channel while on screensaver

I bet you're right. I guess I'll just have to develop the habit of pressing something on the remote to exit any screensaver mode before deleting the channel. As an aside - I used to just upload the new version each time (to overwrite the existing version), but some time in the last year or two that ...
by Komag
Thu Mar 28, 2019 3:40 am
Forum: Roku Developer Program
Topic: Repeatable Roku CRASH - Delete channel while on screensaver
Replies: 8
Views: 1202

Repeatable Roku CRASH - Delete channel while on screensaver

I've discovered a repeatable crash. This happens on at least these models: - Roku TV 5000X - Roku 3 4200 - Roku TV 4k (which I now can't remember if it's a 6000X or 7000X) I believe all are on 9.0.0 (and I'm currently looking at my Roku TV 5000X which is 9.0.0 build 4148-08) If I let my 2D game (roS...
  • 1
  • 2
  • 3
  • 4
  • 5
  • 54