Hi,
I’m new to BrightScript and Roku development. I’m going through the Roku SDK and I’m on the 4.12.2 v30/bslDefender.brs section. There’s an example there and when I added it to the Roku Sample app and run, I get the following message in the debug console:
dfNewBitmapSet: no tag in BitmapSet
I’m developing on Roku model 4200x with software version 5.3 build 4016. I’ve included the bslDefender library. I’ve made sure the .xml file is deployed and that the image exists. I even simplified the xml to
<DefenderBitmapSet>
<ExtraInfo cellsize="40"/>
<Bitmap name="Background" filespec="pkg:/images/background_hd.png" />
</DefenderBitmapSet>
bitmapset = dfNewBitmapSet(ReadAsciiFile("pkg:/images/spriteMap.xml"))
I’ve looked in other areas of the document for troubleshooting, but to no avail. I can’t continue because the bitmapset is still null. What am I doing wrong, what am I missing, or what gives???
Thanks
