Changes between Version 10 and Version 11 of TIMELINES


Ignore:
Timestamp:
04/27/09 16:44:58 (16 years ago)
Author:
boyan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TIMELINES

    v10 v11  
    1111A book in Sophie2 cannot have timelines than span all over it. Instead, each page of the book has its own timeline (that can be only one). Each group of objects on the page can also have its own single timeline. This separation ensures that there won't be situations when the timeline says the user is simultaneously on more than one page and prevents having actions involving a frame that is not on the current page. It is a substitute to the single/multiple page timelines in Sophie 1.0. The timelines of the grouped objects provide more interactive content. For example, a movie playing or some objects moving while a table of contents is shown is now possible. 
    1212 
    13 Each timeline visually has three parts - intro, main part and outro (internally these will be implemented as three different timelines). The intro and outro cannot be looped, while the main part can. By default both the intro and outro are 0 seconds long, while the main part is infinitely looped with all objects on the page shown (or hidden if the author has provided so). This will ensure that if an author wants a simple book with no interactions and animations, he doesn't have to bother with timelines. On the other hand, it is robust enough for the experienced. The intro and outro allow fade in/out effects to be created not only for the page, but for grouped elements as well. 
     13Each timeline visually has three parts - intro, main part and outro. The intro and outro cannot be looped, while the main part can. By default both the intro and outro are 0 seconds long, while the main part is infinitely looped with all objects on the page shown (or hidden if the author has provided so). This will ensure that if an author wants a simple book with no interactions and animations, he doesn't have to bother with timelines. On the other hand, it is robust enough for the experienced. The intro and outro allow fade in/out effects to be created not only for the page, but for grouped elements as well. 
    1414 
    1515There are two areas of timeline channels. The first one contains group channels - one for each group of elements on the page. This channel is specialised for this group and can contain only entries holding this group. This will prevent constructing invalid sets of actions by overlapping the same object on several channels. Still, it will provide flexibility to work with multiple channels and objects easily. The second type of channeles does not hold an object or group that is on the page. Instead, it can hold an audio resource or eventually some other events (for example opening a book in a new window). There can be several such channels, similarly to what Sophie 1 allows. 
     
    2323=== Internal design === 
    2424 
    25 ^Here will be the description of the internal design of the timelines. 
     25Timelines, channels and timeline entries will be pro-objects instead of resources (similarly to links, linк actions, triggers and rules). Each page will keep references to its timeline. The same applies for each group of page elements. For each of these groups, a channel will be added to the timeline. 
     26 
     27Each timeline will keep a list of channels and a reference to its parent, i.e. the page it controls. Timelines will have methods for playing, stopping, jumping to a location, adding and removing of channels and entries, etc. Timelines cannot be created or deleted by the user. They are automatically created for each page and group of page elements. 
     28 
     29Each channel will contain a reference to the group of elements it holds and a list of timeline entries. Group channels are added automatically and cannot be created/deleted by the user. This does not apply to channels for audio and misc actions. 
     30 
     31There will be two types of entries. Each entry will have a start time and a duration. Group channel entries will play the timeline of the corresponding element. If that timeline's length is finite, the duration of the entry cannot exceed it. Entries for the second type of channels will perform the action specified instead of playing the timeline of the element. 
    2632 
    2733== Discussion log == 
     
    4147  * Each top-level group in the page can have its own timeline. 
    4248  * There are no different kinds of timelines (single page/multiple page). 
    43   * A timeline consists of three parts - intro, main and outro. The main part can be looped. These can be internally implemented as three different timelines. 
     49  * A timeline consists of three parts - intro, main and outro. The main part can be looped. 
    4450  * There are two sections in a timeline - channels for groups and channels for media and misc events (e.g. audio background). 
    4551   * For each group in the page, a channel is created. It can contain only this group in its timeline entries.