REQUIREMENT2: MAKE a JSON Object that runs a movieā¦
LOOP, SEQUENCE, FRAME. Easy. Right?
For anyone who wants to try, here is a GETTING STARTED objectā¦
We call it the EPIC~OBJECT, and you can call it whatever you want. : )-.
//TEMPLATE-EPIC-OBJECT-.
var aEPIC = {
0:{epicID:0},
1:{epicID:1,name:'AScene',initfn:function(){}},
2:{epicID:1,name:'Scene2',initfn:function(){},runfn:function(){},endfn:function(){}},
8:{epicID:8,name:'FinalSeq',initfn:function(){
aSeqIdx[10] = {on:1}; //ANMETHODOLOGY: AUTO-START-FRAMESET-on Sequence-.
nx.runCinematicSequence("FinalSequence"); //COOL PATTERN for FRAME-SET, run Sequence-.
},runfn:function(){},endfn:function(){}},
}
BARE-BONES:
var aMovie = { 2:{epicID:2,name:āScene2ā,initfn:function(){},runfn:function(){},endfn:function(){}} }
DESCRIPTION: Three simpleā¦Callback-Functions: init, run, and end. That is it! You add anything.
PURPOSE: The EPIC~OBJECT is the JSON~SCRIPT. : )
INSTRUCTIONS: LOOP. Andā¦ drop in your SEQUENCES.
Why did we choose number-keys? (more later, if you like).
GOAL: One thousand ANMZ encapsulated (neatly) in aSCRIPT of SEQUENCE and FRAME.
We think that is cool!
