Skip to content
Danny Develop edited this page Sep 9, 2015 · 5 revisions

Formats doctrines

  • easy to exchange between servers and clients
  • vector graphics
  • pixel tiles
  • mp3 audio
  • binary data in separate files/location (absolute and/or relative)
  • storage for logic

Static Contents

  • audio file
  • vector paths per element
  • colours

Dynamic Contents

Exchangeable programmatic logic will be stored here, such as audio-reactive behaviors, particle systems. A library of possibilities has to be develop step by step.

JSON example

{
    graphics: {
        elements:[
            {
                type:vectorpath, 
                points:[{x:1,y:2}, {x:234, y:3445} ...], 
                audioReactMode:"sizeReactsToVolume"
            },
            {type:rectangle, x= ....},  //evtl
            ....
        ],
        background: "#ffffff",
        ...
   },
   audio:{
       file: database_id
   }
}
Clone this wiki locally