defineEffect tKnark as FxKnarkPlatta
  object : data/knarkplatta.lwo
  textureFilename : data/env2.jpg
  mode : modulating
  numParticles : %1
  pmode : modulating
  particleFilename : data/part1.jpg
  particleSize : 20
end

defineEffect tBall as FxBallFuck
  object : data/ball.lwo
  mode : modulating
  numParticles : %1
  pmode : modulating
  particleFilename : data/part1.jpg
  particleSize : 20
end

defineEffect tJumping as FxJumpingBoxes
  object : data/hopplatta.lwo
  textureFilename : data/envgrey2.jpg
  mode : modulating
  numParticles : %1
  pmode : modulating
  particleFilename : data/part1.jpg
  particleSize : 20
end

defineEffect tTunnel as FxSyncedTunnel
  object : data/stock.lwo
  textureFilename : data/envmap.jpg
  length : 130
  depth : %26
  n : 14
  speed : 30
  radius : 16
  mode : modulating
  numParticles : %25600
  pmode : modulating
  particleFilename : data/redpart.jpg
  particleSize : 30
  pDepth : %3200
  pRadius : 0.01
  pSpeed : 0.06
end

defineEffect tShell as FxShellObjects
  object : data/cylinder5.lwo
  textureFilename : data/envmap.jpg
  mode : modulating
  object2 : data/starflip.lwo
  mode2 : modulating
  numParticles : %6000
  pmode : modulating
  particleFilename : data/redpart.jpg
  particleSize : 40
end

defineEffect tNappScene as FxScriptedScene
  scriptFileName : data/nappFlaska.scn
end

defineEffect tFastScene as FxScriptedScene
  scriptFileName : data/fastShit.scn
end

defineEffect tParticleShit as FxAsmParticles
  calc : ShitCalc
  numParticles : %1000
  textureFilename : data/redpart.jpg
end


defineEffect tDrawSpectrum as FxDrawSpectrum
end


defineEffect tTunnelScene as FxScriptedScene
  scriptFileName : tunnel.scn
end

defineEffect tFireScene as FxScriptedScene
  scriptFileName : data/fireplace.scn
end

defineEffect tSpikeScene as FxScriptedScene
  scriptFileName : data/spikeball.scn
end

defineEffect tEnvSpikeScene as FxScriptedScene
  scriptFileName : data/envspike.scn
end


defineEffect tBak as FxGLLayerObject
  textureFilename : data/gammabak2.jpg
  motionx : "0"
  motiony : "0"
  sizex   : "1+0.2/(t*t*t*t*t)+(t>6)*(3*(t-6)*(t-6)*(t-6)*(t-6))"
  sizey   : "1+0.2/(t*t*t*t*t)+(t>6)*(3*(t-6)*(t-6)*(t-6)*(t-6))"
  alpha   : "1-(t>6)*((t-6)*2)"
  transparency : modulating
end

defineEffect tBak2 as FxGLLayerObject
  textureFilename : data/pegasus.jpg
  motionx : "0"
  motiony : "0"
  sizex   : "1+0.2/(t*t*t*t*t)+(t>6)*(3*(t-6)*(t-6)*(t-6)*(t-6))"
  sizey   : "1+0.2/(t*t*t*t*t)+(t>6)*(3*(t-6)*(t-6)*(t-6)*(t-6))"
  alpha   : "1-(t>6)*((t-6)*2)-(t<1)/(t*t*t*20)"
  transparency : modulating
end

defineEffect tBak3 as FxGLLayerObject
  textureFilename : data/dalezybak.jpg
  motionx : "0"
  motiony : "0"
  sizex   : "1+0.2/(t*t*t*t*t)+(t>6)*(3*(t-6)*(t-6)*(t-6)*(t-6))"
  sizey   : "1+0.2/(t*t*t*t*t)+(t>6)*(3*(t-6)*(t-6)*(t-6)*(t-6))"
  alpha   : "1-(t>6)*((t-6)*2)-(t<1)/(t*t*t*20)"
  transparency : modulating
end

defineEffect tNoise as FxGLLayerObject
  textureFilename : data/noise.jpg
  motionx : "0"
  motiony : "0"
  sizex   : "1"
  sizey   : "1"
  uscroll : "40*t"
  vscroll : "37*t"
  alpha   : "0.05+0.05*sin(t*16)"
  transparency : additive
end

defineEffect tAmc as FxGLLayerObject
  textureFilename : data/amclogo.jpg
  motionx : "0"
  motiony : "0"
  sizex   : "1"
  sizey   : "1"
  alpha   : "(0.2*t*(1+(1/t)*sin(t*300)))*(t<5)+(t>5)*(t<10)+(t>10)*(1-(t-10)*0.3)"
  transparency : modulating
end

defineEffect tEmbryonic as FxGLLayerObject
  textureFilename : data/embryonic.jpg
  alphaFilename : data/embryonica.jpg
  motionx : "0"
  motiony : "0"
  sizex   : "0.8*(1+3/(t*t))"
  sizey   : "0.25*(1+3/(t*t))"
  alpha   : "1"
  transparency : modulating
end

defineEffect jpgmma as FxGLLayerObject
  textureFilename : data/gwlogo.jpg
  alphaFilename : data/gwlogoa.jpg
  motionx : "-0.15-(t>3)*((t-3)*(t-3))"
  motiony : "0.06+(0.01/(t*t*t*t))*cos(t*120)"
  sizex   : "0.75"
  sizey   : "0.75*0.17"
  alpha   : "1"
  transparency : modulating
end

defineEffect tPeggy as FxGLLayerObject
  textureFilename : data/pegasuscred.jpg
  alphaFilename : data/pegasuscreda.jpg
  motionx : "0+(t>2)*(2*(t-2)*(t-2))"
  motiony : "0.06+(0.01/(t*t*t*t))*cos(t*120)"
  sizex   : "0.65*0.7"
  sizey   : "0.12*0.5"
  alpha   : "1"
  transparency : modulating
end

defineEffect tJuck as FxGLLayerObject
  textureFilename : data/juck.jpg
  alphaFilename : data/jucka.jpg
  motionx : "-0.72-(t>2)*((t-2)*(t-2))"
  motiony : "-0.3"
  sizex   : "0.45*0.62"
  sizey   : "0.7"
  alpha   : "1"
  transparency : modulating
end

defineEffect tDalezy as FxGLLayerObject
  textureFilename : data/dalezylogo.jpg
  alphaFilename : data/dalezyloga.jpg
  motionx : "0.2+(t>2)*(2*(t-2)*(t-2))"
  motiony : "-0.5+(0.01/(t*t*t*t))*cos(t*120)"
  sizex   : "0.65*0.7"
  sizey   : "0.12*0.7"
  alpha   : "1"
  transparency : modulating
end

defineEffect tPresents as FxGLLayerObject
  textureFilename : data/presents.jpg
  motionx : "0"
  motiony : "0"
  sizex   : "0.4*(0.6+t*t*t*t)"
  sizey   : "0.125*(0.6+t*t*t*t)"
  alpha   : "(t*4)-t*t*t*0.7"
  transparency : additive
end

defineEffect tEnd as FxGLLayerObject
  textureFilename : data/endtext.jpg
  motionx : "0"
  motiony : "0"
  sizex   : "1"
  sizey   : "1"
  alpha   : "(t<1)*(t)+(t>1)*(t<6)*1-(t>6)*((t-6)*2)"
  transparency : modulating
end

defineEffect tDemo as Effect
end

defineEffect tPart as Effect
end

createInstance of tPart as iIntro at 0 32
createInstance of tPart as iFlum at 32 42
createInstance of tPart as iCreds at 42 62
createInstance of tPart as iShellScene at 62 74
createInstance of tPart as iFastScene at 74 80
createInstance of tPart as iJumpingScene at 80 100
createInstance of tPart as iBallScene at 100 114
createInstance of tPart as iShellScene2 at 114 120
createInstance of tPart as iJumpingScene2 at 120 130
createInstance of tPart as iIntro2 at 130 138
createInstance of tPart as iShellScene3 at 138 150
createInstance of tPart as iFastScene2 at 150 160
createInstance of tPart as iJumpingScene3 at 160 164
createInstance of tEnd as iEnd at 164 170






createInstance of tDemo as iDemo at 0 210

# intro

createInstance of tSpikeScene as iSpikeScene at 0 32
createInstance of tAmc as iAmc at 15 32
createInstance of tPresents as iPresents at 31 32
createInstance of tFireScene as iFireFlash at 10 12

addChild iAmc to iIntro
addChild iSpikeScene to iIntro
addChild iPresents to iIntro
addChild iFireFlash to iIntro

addChild iSpikeScene to iIntro2

#creds 

createInstance of tBak as iBak at 0 80
createInstance of tEnvSpikeScene as iEnvSpikeScene at 0 20
createInstance of jpgmma as iGamma at 2 8

createInstance of tBak2 as iBak2 at 6.4 80
createInstance of tPeggy as iPeggy at 8 14
createInstance of tJuck as iJuck at 9 14
createInstance of tDrawSpectrum as iDrawSpectrum at 13 20
createInstance of tBak3 as iBak3 at 13 80
createInstance of tDalezy as iDalezy at 15.5 20

 

addChild iBak to iCreds
addChild iEnvSpikeScene to iCreds
addChild iGamma to iCreds
addChild iBak2 to iCreds
addChild iPeggy to iCreds
addChild iJuck to iCreds
addChild iBak3 to iCreds
addChild iDrawSpectrum to iCreds
addChild iDalezy to iCreds

#flum

createInstance of tFireScene as iFireScene at 0 80
createInstance of tNappScene as iNappScene at 0 32
createInstance of tTunnelScene as iTunnelScene at 0 32
createInstance of tEmbryonic as iEmbryonic at 0 32

addChild iNappScene to iFlum
addChild iFireScene to iFlum
addChild iEmbryonic to iFlum

# shell scene

createInstance of tShell as iShell at 0 80
addChild iShell to iShellScene

# shell scene 2
createInstance of tShell as iShell2 at 0 80
addChild iShell2 to iShellScene2

# shell scene 2
createInstance of tShell as iShell3 at 0 80
addChild iShell3 to iShellScene3


# Ball scene

createInstance of tTunnel as iTunnel at 0 6
createInstance of tBall as iBall at 6 10
createInstance of tTunnel as iTunnel2 at 10 14
createInstance of tNoise as iNoise at 6 10


addChild iBall to iBallScene
addChild iNoise to iBallScene
addChild iTunnel to iBallScene
addChild iTunnel2 to iBallScene

# Jumping scene

createInstance of tJumping as iJumping at 0 80
createInstance of tJumping as iJumping1 at 0 80
createInstance of tJumping as iJumping2 at 0 80
createInstance of tParticleShit as iParticleShit at 0 30

addChild iParticleShit to iJumpingScene
addChild iJumping to iJumpingScene

addChild iParticleShit to iJumpingScene2
addChild iJumping1 to iJumpingScene2

addChild iParticleShit to iJumpingScene3
addChild iJumping2 to iJumpingScene3

# knark scene

#createInstance of tKnark as iKnark at 0 80

#addChild iKnark to iKnarkScene

#fast scene

createInstance of tFastScene as iFast at 0 80
addChild iFast to iFastScene
addChild iFast to iFastScene2



addChild iIntro to iDemo
addChild iCreds to iDemo
addChild iFlum to iDemo
addChild iShellScene to iDemo
addChild iBallScene to iDemo
addChild iJumpingScene to iDemo
addChild iFastScene to iDemo
addChild iShellScene2 to iDemo
addChild iJumpingScene2 to iDemo
addChild iIntro2 to iDemo
addChild iShellScene3 to iDemo
addChild iFastScene2 to iDemo
addChild iJumpingScene3 to iDemo
addChild iEnd to iDemo


bah