Check me on this gang. The following
msg = wait(1, msgport)
is coming in at around 15 milliseconds. Now, for a 30 fps render loop I only have a 33.33 millisecond window to operate in. The render loop requires getting user input. Now, on a Roku 1 this comes in at 1 ms (still too long in my opinion, but I can probably live with it). On the roku 2 boxes they have "hooked" the wait/sleep routines for other purposes, or they otherwise take longer, such that it is using almost 50% of my available time... not to render but to check for remote input. I still have to render when done waiting for input.
Maybe it's me. Can someone check on this and confirm? It makes a Roku 2 render loop almost impossible in BrightScript if I'm correct.
Maybe they could check if they are "in game mode" and not take so long with whatever it is doing on a Roku 2 vs a Roku 1????
Pardon my post if this is already a known issue...
Thanks in advance for the feedback.
MW
EDIT: I should note that the wait is on a ro UniversalControlEvent for an roScreen.