# Scene 1 Setup

CreateNode Scene1Node Root
EnableNode \Scene1Node 0
CreateVariable Scene1NodeMotion Linear 3
SetVariableKeyFrame Scene1NodeMotion 0  1.9 1.9 1.9 
SetVariableKeyFrame Scene1NodeMotion 12 2 2 2
SetScale \Scene1Node Scene1NodeMotion


# CREATE THE SLP BACKGROUND
CreateNode N_SLP_BG Scene1Node
CreateTexture T_SLP_BG "Data\SLP_bg.png"
CreateMaterial MT_SLP_BG Data\Mats\BasicMaterial.txt
BindTexture MT_SLP_BG Texture T_SLP_BG
SetColour MT_SLP_BG AmbientColour 1.0f 1.0f 1.0f
CreateQuad MO_SLP_BG
AddProperty ModelRenderer SLP_BGRenderer \Scene1Node\N_SLP_BG MO_SLP_BG
BindMaterial SLP_BGRenderer Material MT_SLP_BG
SetPosition \Scene1Node\N_SLP_BG 0.0 0.0 0.001
SetScale \Scene1Node\N_SLP_BG T_SLP_BG

CreateVariable N_SLP_FGSLIDEOUT Linear 3
SetVariableKeyFrame N_SLP_FGSLIDEOUT 0 0 0 0
SetVariableKeyFrame N_SLP_FGSLIDEOUT 0.08 0 0 0
SetVariableKeyFrame N_SLP_FGSLIDEOUT 0.3 -2 0 0


CreateNode N_SLP_FG Scene1Node
CreateNode N_SLP_FGScale N_SLP_FG
CreateTexture T_SLP_FG "Data\SLP_fg.png"
CreateMaterial MT_SLP_FG Data\Mats\BasicMaterial.txt
BindTexture MT_SLP_FG Texture T_SLP_FG
SetColour MT_SLP_FG AmbientColour 1.0f 1.0f 1.0f
CreateQuad MO_SLP_FG
AddProperty ModelRenderer SLP_FGRenderer \Scene1Node\N_SLP_FG\N_SLP_FGScale MO_SLP_FG
BindMaterial SLP_FGRenderer Material MT_SLP_FG
SetScale \Scene1Node\N_SLP_FG T_SLP_FG
CreateVariable S_SLP_FB_SCALE Linear 3
SetVariableKeyFrame S_SLP_FB_SCALE 0 0.8 0.8 0.8
SetVariableKeyFrame S_SLP_FB_SCALE 8 0.7 0.7 0.7
SetScale \Scene1Node\N_SLP_FG\N_SLP_FGScale S_SLP_FB_SCALE

CreateVariable S_SLP_FB_TURN Linear 3
SetVariableKeyFrame S_SLP_FB_TURN 0 0.0 0.0 0.0 
SetVariableKeyFrame S_SLP_FB_TURN 0.1 0 0 20

CreateNode N_TZT Scene1Node
CreateNode N_TZTScale N_TZT
SetScale \Scene1Node\N_TZT\N_TZTScale 0.6 0.6 0.6
CreateTexture T_TZT "Data\tzt.png"
CreateMaterial MT_TZT Data\Mats\BasicMaterial.txt
BindTexture MT_TZT Texture T_TZT
SetColour MT_TZT AmbientColour 1.0f 1.0f 1.0f
CreateQuad MO_TZT
AddProperty ModelRenderer TZTRenderer \Scene1Node\N_TZT\N_TZTScale MO_TZT
BindMaterial TZTRenderer Material MT_TZT
SetScale \Scene1Node\N_TZT T_TZT
EnableNode \Scene1Node\N_TZT 0

CreateVariable N_TZT_SLIDEIN Linear 3
SetVariableKeyFrame N_TZT_SLIDEIN 0 2 0 0
SetVariableKeyFrame N_TZT_SLIDEIN 0.3 0 0 0


#SetScale \Scene1Node\N_SLP S_SLP_Scale
#SetRotation \Scene1Node\N_SLP S_SLP_Rotation
