Your Digital Media Has Never Looked So Good

Search found 869 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 58
by squirreltown
Thu Sep 12, 2019 7:19 pm
Forum: Roku Developer Program
Topic: BrightScript Draw 2D Emulator (in development)
Replies: 23
Views: 546

Re: BrightScript Draw 2D Emulator (in development)

my understanding this parameter only affects the alpha of the image, do you guys use it in other scenarios ?

I use reversed/white graphics, and use it to assign a color in addition to the alpha at runtime. So, I'm using it all the time.
by squirreltown
Mon Sep 09, 2019 6:54 am
Forum: Roku Developer Program
Topic: BrightScript Draw 2D Emulator (in development)
Replies: 23
Views: 546

Re: BrightScript Draw 2D Emulator (in development)

Yeah, it's a roScreen.  SetMessagePort works. This thing is from 2014, you used to be able to use either ( never that clear on why there were two different ways).
I'll look forward to the RGBA fix.
by squirreltown
Sun Sep 08, 2019 1:07 pm
Forum: Roku Developer Program
Topic: BrightScript Draw 2D Emulator (in development)
Replies: 23
Views: 546

Re: BrightScript Draw 2D Emulator (in development)

/brs/lib/brsEmu.min.js:33 source/Main.brs(11,25-26): 'SetPort' is not a function and cannot be called.

             
 m.screen.SetPort(m.port)

I've made a stripped-down thing, with stuff commented out, and got all the way to drawobject, so I'll have to wait for that one.
by squirreltown
Tue Sep 03, 2019 10:00 am
Forum: Roku Developer Program
Topic: BrightScript Draw 2D Emulator (in development)
Replies: 23
Views: 546

Re: BrightScript Draw 2D Emulator (in development)

I've gotten one channel to show the splash screen,  and then nothing after. It's got about 20 errors like this: index.ts:156 source/mediarsstoolkit.brs(175,35-36): Unexpected character '@' g @ index.ts:156 and one of these: index.ts:156 source/main.brs(23,4-19): Attempting to retrieve property from ...
by squirreltown
Tue Sep 03, 2019 6:36 am
Forum: Roku Developer Program
Topic: How can pass roAssociativeArray in URL parameters?
Replies: 1
Views: 103

Re: How can pass roAssociativeArray in URL parameters?

GetFunction("http://mydomain.com/webservices/webservices.php?route=option&custom_option="+"[{'option_id' : '7', 'option_value': 24}]")



Obviously I can't test it but this doesn't throw a syntax error like yours did.
by squirreltown
Fri Aug 23, 2019 10:33 am
Forum: Roku Developer Program
Topic: animated sprite animation tick counter?
Replies: 3
Views: 164

Re: animated sprite animation tick counter?

I was under the impression that an animation-tick and one pass through the event loop were the same thing, so you could at least store that tick-# in the sprite user-data and access it. I'm not aware of any other way to know it, but I don't use the compositor much.
by squirreltown
Wed Jul 10, 2019 11:11 am
Forum: Roku Developer Program
Topic: Someone published my game as theirs
Replies: 8
Views: 436

Re: Someone published my game as theirs

Man, that is just rude.
by squirreltown
Thu Jun 27, 2019 1:58 pm
Forum: Roku Developer Program
Topic: Playing audio stops when screensaver activates
Replies: 3
Views: 321

Re: Playing audio stops when screensaver activates

not, you could also use ECP while audio is playing to send a keypress from within the app every 59 seconds or so, that will prevent screensaver. Mercifully, this trick has been replaced with the  appmanager.UpdateLastKeyPressTime()  trick. you can also use  appmanager.GetScreensaverTimeout()  to fi...
by squirreltown
Sat Jun 08, 2019 4:04 pm
Forum: Roku Developer Program
Topic: Roku Screensaver Input
Replies: 3
Views: 241

Re: Roku Screensaver Input

I believe Roku has not yet exposed that billboard trick to us peons.
Screensavers run in their own thread, so the only way to swap any kind of data is write it to the registry, so the screensaver or the channel could read it.
by squirreltown
Sat Jun 08, 2019 8:43 am
Forum: Roku Developer Program
Topic: SetURL Not Setting URL
Replies: 5
Views: 230

Re: SetURL Not Setting URL

try it this way. 

plreq.GetToFile("tmp:/" + channel)
code = readAsciiFile( "tmp/"+channel)
? code
by squirreltown
Sat Jun 08, 2019 8:16 am
Forum: Roku Developer Program
Topic: SetURL Not Setting URL
Replies: 5
Views: 230

Re: SetURL Not Setting URL

Just a guess, but .m3u8 is probably not a recognized extension. Try dropping it from the title and just use the channel var.  You actually don't need extensions when saving as far as the OS is concerned.
by squirreltown
Sat Jun 08, 2019 8:03 am
Forum: Roku Developer Program
Topic: String Concatenation
Replies: 3
Views: 185

Re: String Concatenation

No sweat. I've done it. :D
by squirreltown
Sat Jun 08, 2019 6:09 am
Forum: Roku Developer Program
Topic: String Concatenation
Replies: 3
Views: 185

Re: String Concatenation

both are  missing a + after the sig variable.
by squirreltown
Fri Jun 07, 2019 9:35 am
Forum: Roku Developer Program
Topic: How to skip an iteration in a FOR loop?
Replies: 15
Views: 611

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

FUNCTION testNext()    testA = ["apple", 2, "carrot", "dapple", 5, "fapple", "gourd"]    testInt = 0    FOR i = 0 to testA.count()-1         IF TYPE( testA[i]) = "roString"          testInt++          ? "testNext() found a String, fru...
by squirreltown
Wed Jun 05, 2019 9:31 am
Forum: Roku Developer Program
Topic: How to skip an iteration in a FOR loop?
Replies: 15
Views: 611

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

NEXT does not work for me  inside that if statement. Syntax error.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 58