[Laszlo-dev] Subtitles system

Yannick Warnier ywarnier at beeznest.org
Mon Jun 2 14:46:13 PDT 2008


Hello,

I would like to implement a kind of subtitles feature for an animated
character. I'm trying to get my head around the problem, but the only
type of solution I got so far is to make a timer check every tenth of
second if there is something new to display.

My idea of the subtitles file is to have an XML structure of this kind:
<subtitles>
  <subtitle time="00:00:00.0">Welcome</subtitle>
  <subtitle time="00:00:00.0">This animation will take you
through ...</subtitle>
  ...
</subtitles>

However, considering how easy it is, in OpenLaszlo, to use datasets from
XML files, I was wondering if there would be any special mechanism to
build an "animation" (in the OpenLaszlo sense) based on a dataset's time
markers, somehow, and that would make this little project far easier to
implement.

I'm open to any interesting suggestion...

Yannick



More information about the Laszlo-dev mailing list