Presets

aAVis allows users to save the current stage elements to a "preset". This file is then able to be loaded back on any version of aAVis. This allows more customisability and it allows users to interact with other users and share presets with eachother.

Object Data

When an object is created, it is added to a list of "elements" within the program. Each of these elements is drawn in turn

An example of a preset file looks something like this :

3&Default Particles&random( 800 )&random( 600 )&100 INVERSE&0.0&0.0&0.0&0.0&0&0.5 * low / 100&0.0&0&0.0&low / 10&aavis.jpg&255.0&255.0&255.0&255&0.0&0.0&0.0 3&Default Particles&random( 800 )&random( 600 )&0.0&0.0&0.0&0.0&0.0&0&random( 0.5 ) INVERSE * med / 100&0.0&0&0.0&med / 10&aavis.jpg&low / 2&med / 2&high / 2&255&0.0&0.0&0.0

It may look like garbage, but it is in fact the code to add two particle systems including all their saved properties to the stage. Each variable is split up by the & symbol, and consititues one of the parameters of the object that the user wishes to add. The number at the front of each line dictates what the system is. 3 is Particle System, 2 is Oscilloscope, etc. Although this is not the most elegent solution, it works perfectly and easially. Files are saved as .aav files ( which are .txt files with a new extension ), and are saved into the c:\aAVis folder on the computer ( Not having tested on a mac, I am unsure how it would work with that filesystem as I am not familiar with it). The user is then able to access "party mode" which will cycle through each of the presets stored on the hdd, and display them after a short period.