Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Komag
Roku Guru

bitmapset.ticklist ? What is it?

I'm diving deeper into my understand of how sprite animations work. I'm setting SetTime() for my sprite regions. Then using AnimationTick() on the compositors. But what is the .ticklist, as in bitmapset.ticklist? It always seems to be an empty array.

I can't find any documentation or mention of this on the Forums or anywhere else - is there some info I'm missing?
0 Kudos
6 REPLIES 6
Komag
Roku Guru

Re: bitmapset.ticklist ? What is it?

I've tried breaking into the game at various points, and always I find an empty ticklist array. Might it be used very very briefly under-the-hood somehow?

It SOUNDS like some sort of counter for the AnimationTick()s we do to compositors, but that's just a wild guess.
0 Kudos
EnTerr
Roku Guru

Re: bitmapset.ticklist ? What is it?

No clue what you are talking about. Is it about the "v30/bslDefender.brs" thing i have never used?
If so, why don't you look at its source code?
0 Kudos
Komag
Roku Guru

Re: bitmapset.ticklist ? What is it?

I just spend about 15 minutes searching for that without any luck, where can I find it?
0 Kudos
EnTerr
Roku Guru

Re: bitmapset.ticklist ? What is it?

"Komag" wrote:
I just spend about 15 minutes searching for that without any luck, where can I find it?

You'll have to "brave the Leopard" for that one (to borrow from RokuKC). 
Source is exhibited in Co's display department. So go to the console cellar with a `ListDir()` torch and look for a disused "common:/" lavatory "LibCore/" and in a filing cabinet labeled "v30/" you'll find that "bslDefender.brs". Does that make you feel more like Indiana Jones or like Arthur Dent? 
0 Kudos
Komag
Roku Guru

Re: bitmapset.ticklist ? What is it?

Thanks, I've learned a couple things in there! (But not anything about TickList, sadly)
0 Kudos
TheEndless
Channel Surfer

Re: bitmapset.ticklist ? What is it?

"Komag" wrote:
Thanks, I've learned a couple things in there! (But not anything about TickList, sadly)

Actually, I suspect you did, without realizing it.  TickList is defined as an empty array in this line:
set = { ExtraInfo: {}, Backgrounds: {}, Regions: {}, Animations: {}, TickList: [] }

but is never populated, nor accessed anywhere else in the code.  So, the answer to your question is quite simply, it's an empty array that serves no purpose.  Perhaps at one time they considered supporting defining animation ticks in the BitmapSet XML, but never got around to implementing it.

With that said, this line doesn't instill any confidence that they'll be adding support anytime soon...
' Aug 23, 2010

FWIW, I can honestly say, in the countless 2D API apps I've written, I've never found a need to use bslDefender.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.