Animation High-Level

Vector: 

This is a collection of atoms and/or other vectors

·      x – float

·      y – float

·      dx – float: x-velocity

·      dy – float: y-velocity

·      parent – parent vector

·      vector-list – list of components

·      trans-mat – 3 x 3 linear transformation matrix

·      object – pointer to associated Treescript object, if any

·      class-name – name of class to which object belongs

·      name – string: name of vector, if any

·      stationary – yes/no

·      mouse – yes/no

·      collision – yes/no

·      visible – yes/no

 

Window: 

Rectangular area on screen, static or animated. Board games always take place in static windows.

·      x – number

·      y – number

·      width – number

·      height – number

·      static – yes/no

·      scrolling – yes/no

·      vector-list – list of vectors

·      component-list – list of static components

 

User: 

Game player

·      user-no – number

·      user-id – string

·      password

·      first-name

·      last-name

·      email

·      start-date – date of registration

·      active – yes/no

·      main-vec – vector

·      vector-list – list of vectors in user’s possession

 

Level: 

Arena containing game action

·      level-no – number

·      level-name – string

·      width – float

·      height – float

·      win-list – list of windows

·      user-list – list of users

·      vector-list – list of vectors

 

Game: 

Collection of levels making up a complete game

·      game-no - number

·      name – name of the game

·      descr – description of game

·      level-list – list of levels

·      start-date – date game went live

·      active – yes/no

 

In-Progress: 

Game in progress – web site includes list of these

·      game-no – number

·      level-list – list of levels

·      winner-list – list of users who are winners