This code is part of a nested loop, where it creates 6 regions in each of the 4 quadrants in the middle loop, then the outer loop changes the angle (RotDegree) to either 270, 180, 90, or 0 for the next 6. Right now, only the quadrant that isn't rotated works (12:30-3:00), the rest do not throw any type of error, debug shows the code being called, but the rotated images do not appear on screen on the 3100X. This makes it seem logical that the problem is in the rotation and not something else.
The goal is to have 24 ship images so the player experience is that the ship is rotating. Ideally this should be done with only using one image, but in this case 6 images for each quadrant if that's the best we can do. I can manually create all 24 images if there is no good way to do it in brightscript that will work on every roku (well I know it doesn't work on the oldest models, but that makes sense), it's just a bit odd (to me) that this works fine on 2, but not a third.
The only idea I can come up with is that SetPretranslation has something to do with it, but when I added that, it did not make a difference. I'm also using scaled object in a similar fashion and that works fine on all the rokus.
I'll take any help, if you have any crazy ideas, throw them out there. If the function is deprecated in the newer roku, or I missed something, or maybe the newer roku is just borked and this should work ok. Appreciate any suggestions.
My best guess without testing this out is there may be a bug in the firmware, as there are two different hardware platforms you are testing on. If you can private message me a dropbox type link to a zipped example that I can attach to a bug report, it would save me some time in trying to recreate your issue from scratch to attach to the bug report.