
# -------------------------------------------------
# Grover Script...
# -------------------------------------------------




fullscreen=true
screen-title=hydrogen power!
screen-width=1280
screen-height=720
debug=false
debug-verbose=false


/*
Global vars we use for all macros
Change this var by re-setting its value before using a macro
to control transition speeds
*/

var moveDuration=30

#------------------------------
# MACROS START HERE!
#------------------------------
#------------------------------
#------------------------------


macro:label=sebastian
	$:sprite;start=<start>;dur=*
		id=sebastianall
		filename=sebastianall
		pos=(0,$height+(700/2))
	:$

	$:sprite;start=<start>;dur=*
		id=sebastian
		filename=sebastian
		pos=(0,$height+(700/2))
	:$
	
	$:sprite;start=<start>;dur=*
		id=mouth
		filename=sebastianmouth
		pos=(0,$height+(25/2))
	:$
	
	$:srotate;start=<start>;dur=1
		id=sebastianall
		delta=0.2
		steps=0
	:$

	$:srotate;start=<start>;dur=1
		id=sebastian
		delta=0.2
		steps=0
	:$

	$:srotate;start=<start>;dur=1
		id=mouth
		delta=0.2
		steps=0
	:$

:macro

macro:label=move_sebastian_in
	var yEnd=(700/2)+40
	var yStart=$height+(700/2)
	var mouthOffsetX=39
	var mouthOffsetY=-222
	$:shide;start=<start>;dur=1
		id=sebastian
	:$

	$:shide;start=<start>;dur=1
		id=mouth
	:$

	$:sshow;start=<start>;dur=1
		id=sebastianall
	:$
	
	$:smove;start=<start>;dur=moveDuration
		id=sebastianall
		start-pos=(<x>,yStart)
		end-pos=(<x>,yEnd)
		smooth=true
	:$

	$:smove;start=<start>;dur=1
		id=sebastian
		start-pos=(<x>,yEnd)
		end-pos=(<x>,yEnd)
	:$

	$:smove;start=<start>;dur=1
		id=mouth
		start-pos=(<x>+mouthOffsetX,yEnd+mouthOffsetY)
		end-pos=(<x>+mouthOffsetX,yEnd+mouthOffsetY)
	:$
	
	$:sshow;start=<start>+moveDuration;dur=1
		id=sebastian
	:$
	
	$:sshow;start=<start>+moveDuration;dur=1
		id=mouth
	:$

	$:shide;start=<start>+moveDuration;dur=1
		id=sebastianall
	:$
:macro

macro:label=talk_sebastian
	$:sjitter;start=<start>;dur=*
		id=mouth
		x-range=2
		y-range=6
		steps=10
		delay=0
		smooth=true
	:$
:macro


#------------------------------
#define a macro for titles
macro:label=intro_titles
	$:text;start=<start>;dur=*;
		id=<id>
		text=<text>
		font=titlefont1
		color=#ffffff
		pos=center
	:$

	$:sfade;start=<start>;dur=1000;
		id=<id>
		start-color=#ffffff
		end-color=#ff0000
		ping-pong=true
		delay=0
		steps=40
	:$

	$:szoom;start=<start>;dur=10;
		id=<id>
		start-scale=(0.0,0.0)
		end-scale=(1.0,1.0)
		smooth=true
	:$

	$:szoom;start=<start>+30;dur=10;
		id=<id>
		start-scale=(1.0,1.0)
		end-scale=(0.0,0.0)
		smooth=true
	:$

	/*
	var <id>offset=$random + 0.2

	$:sjitter;start=<start>;dur=*
		id=<id>
		start-off=(-1*<id>offset,<id>offset)
		end-off=(<id>offset,-1*<id>offset)
		steps=25
		delay=1
		ping-pong=true
		smooth=false
	:$
	*/
:macro
#------------------------------

#SCREEN SIZE BLOCK MACRO
#------------------------------
macro:label=block
	$:rect;start=0;dur=*
		id=<id>
		width=$width
		height=$height
		pos=($width*1.5,$height/2)
		color=<color>
	:$
:macro
#------------------------------

#TEXT TITLE
#------------------------------
macro:label=title
	$:text;start=0;dur=*;
		id=<id>
		text=<text>
		font=titlefont3
		color=<color>
		pos=(-1.5*$width,-1.5*$height)
	:$
:macro
#------------------------------


#TEXT TITLE
#------------------------------
macro:label=image
	$:sprite;start=0;dur=*;
		id=<id>
		filename=<filename>
		color=#ffffff
		pos=(-1.5*$width,-1.5*$height)
	:$
:macro
#------------------------------

#MOVEMENT MACROS
#------------------------------
macro:label=scroll_hl
	$:smove;start=<start>;dur=moveDuration
		id=<id>
		start-pos=($width*1.5,$height/2)
		end-pos=(-1.5*$width,$height/2)
		smooth=false
	:$
:macro
#------------------------------

#------------------------------
macro:label=in_hl
	$:smove;start=<start>;dur=moveDuration
		id=<id>
		start-pos=($width*1.5,$height/2)
		end-pos=($width/2,$height/2)
		smooth=true
	:$
:macro
#------------------------------

#------------------------------
macro:label=out_hl
	$:smove;start=<start>;dur=moveDuration
		id=<id>
		start-pos=($width/2,$height/2)
		end-pos=($width*1.5,$height/2)
		smooth=true
	:$
:macro
#------------------------------

#------------------------------
macro:label=scroll_hr
	$:smove;start=<start>;dur=moveDuration
		id=<id>
		start-pos=(-1.5*$width,$height/2)
		end-pos=($width*1.5,$height/2)
		smooth=false
	:$
:macro
#------------------------------

#------------------------------
macro:label=in_hr
	$:smove;start=<start>;dur=moveDuration
		id=<id>
		start-pos=(-1.5*$width,$height/2)
		end-pos=($width/2,$height/2)
		smooth=true
	:$
:macro
#------------------------------

#------------------------------
macro:label=out_hr
	$:smove;start=<start>;dur=moveDuration
		id=<id>
		start-pos=($width/2,$height/2)
		end-pos=(-1.5*$width,$height/2)
		smooth=true
	:$
:macro
#------------------------------

#------------------------------
macro:label=scroll_vb
	$:smove;start=<start>;dur=moveDuration
		id=<id>
		start-pos=($width/2,1.5*$height)
		end-pos=($width/2,-1.5*$height)
		smooth=false
	:$
:macro
#------------------------------

#------------------------------
macro:label=in_vb
	$:smove;start=<start>;dur=moveDuration
		id=<id>
		start-pos=($width/2,1.5*$height)
		end-pos=($width/2,$height/2)
		smooth=true
	:$
:macro
#------------------------------

#------------------------------
macro:label=out_vb
	$:smove;start=<start>;dur=moveDuration
		id=<id>
		start-pos=($width/2,$height/2)
		end-pos=($width/2,1.5*$height)
		smooth=true
	:$
:macro
#------------------------------

#------------------------------
macro:label=scroll_vt
	$:smove;start=<start>;dur=moveDuration
		id=<id>
		start-pos=($width/2,-1.5*$height)
		end-pos=($width/2,1.5*$height)
		smooth=false
	:$
:macro
#------------------------------

#------------------------------
macro:label=in_vt
	$:smove;start=<start>;dur=moveDuration
		id=<id>
		start-pos=($width/2,-1.5*$height)
		end-pos=($width/2,$height/2)
		smooth=true
	:$
:macro
#------------------------------

#------------------------------
macro:label=out_vt
	$:smove;start=<start>;dur=moveDuration
		id=<id>
		start-pos=($width/2,$height/2)
		end-pos=($width/2,-1.5*$height)
		smooth=true
	:$
:macro
#------------------------------

#------------------------------
# MACROS END HERE!
#------------------------------
#------------------------------
#------------------------------





scene:label=start;dur=130;
	$:fxwiggle;start=0;dur=*;
		speed=0.05
		amplitude-x=5.1
		amplitude-y=4.0
		radians-x=0.156
		radians-y=0.151
		style=1
	:$

	$:bgfade;start=0;end=20;
		start-color=#000000
		end-color=#7A7567
	:$

	$:songstart;start=0;dur=*;
		filename=funkychickenstuff
	:$

	$:songvolume;start=0;end=1;
		volume=1.0
	:$

	/*
	Blocks for the scene
	*/

	!:block
		<id>=block1
		<color>=#ffffff
	:!

	var moveDuration=20	

	!:intro_titles
		<id>=txta
		<start>=10
		<text>=sebastian
	:!

	!:intro_titles
		<id>=txtb
		<start>=30
		<text>=presents
	:!

	
	!:intro_titles
		<id>=txtc
		<start>=50
		ffffff=000000
		<text>=hydrogen
	:!

	!:intro_titles
		<id>=txtd
		<start>=70
		<text>=power!
		ffffff=000000
	:!

	!:in_hl
		<id>=block1
		<start>=50
	:!

	$:songvolume;start=100;dur=30;
		volume=0.0
	:$
	
:scene

scene:label=two;dur=63;overlap=0
	$:fxrender;start=0;dur=*;?normal...
	:$

	$:bgfade;start=0;end=0;
		start-color=#ffffff
		end-color=#ffffff
	:$

	$:sound;start=0;dur=*;
		filename=voiceover1
		volume=1.0
	:$

	!:block
		<id>=block2
		<color>=#ff0000
	:!

	!:title
		<id>=ttl1
		<text>=hydrogen
		<color>=#000000
	:!

	!:sebastian
		<start>=0
	:!

	var moveDuration=10

	!:move_sebastian_in
		<start>=0
		<x>=200
	:!
	
	!:talk_sebastian
		<start>=1
	:!
	
	!:in_vb
		<id>=block2
		<start>=30
	:!

	!:in_vt
		<id>=ttl1
		<start>=30
	:!
:scene

scene:label=three;dur=210;overlap=0
	$:fxrender;start=0;dur=175;?normal...
	:$

	$:fxwiggle;start=175;end=210;
		speed=0.05
		amplitude-x=5.0
		amplitude-y=6.0
		radians-x=0.01
		radians-y=0.01
		style=0
		fade-in=true
	:$
	
	$:bgfade;start=0;end=0;
		start-color=#ffffff
		end-color=#ffffff
	:$

	$:sound;start=0;dur=*;
		filename=voiceover2
		volume=1.0
	:$
	
	!:title
		<id>=ttl1
		<text>=what is it?
		<color>=#000000
	:!

	!:title
		<id>=ttl2
		<text>=the simplest element
		<color>=#000000
	:!

	!:title
		<id>=ttl3
		<text>=most common element in the universe
		<color>=#000000
	:!
	
	var moveDuration=10
	
	!:in_hl
		<id>=ttl1
		<start>=0
	:!
	
	!:out_hl
		<id>=ttl1
		<start>=20
	:!

	!:in_hr
		<id>=ttl2
		<start>=20
	:!
	
	!:out_hr
		<id>=ttl2
		<start>=40
	:!

	$:sprite;start=50;dur=*;
		id=proton
		filename=proton
		pos=(($width/2),($height/2))
	:$
	
	$:sprite;start=50;dur=*;
		id=electron
		filename=particle
		pos=(($width/2),($height/2))
		color=#D1CC45
		blur=true
		blur-frames=3
		blur-delay=1
	:$

	var startOffset=0
	var multiplier=340
	$:splot;start=50;dur=100
		id=electron
		points=([idx=startOffset->((startOffset)+(360*(pi/180)));step=0.1;($width/2)+(multiplier*sin(idx))],[idx=startOffset->((startOffset)+(360*(pi/180)));step=0.1;($height/2)+(multiplier*cos(idx))])
	:$

	$:sz;start=0;dur=*
		id=ttl3
		to-front=true
	:$

	!:in_vb
		<id>=ttl3
		<start>=90
	:!

	!:out_vb
		<id>=ttl3
		<start>=140
	:!

	
	$:shide;start=150;dur=*
		id=proton
	:$
	
	$:shide;start=150;dur=*
		id=electron
	:$
		
	!:image
		<id>=letterh
		<filename>=letterh
	:!

	!:in_hr
		<id>=letterh
		<start>=140
	:!

	!:block
		<id>=water1
		<color>=#0000ff
	:!

	!:block
		<id>=water2
		<color>=#0000c0
	:!

	!:block
		<id>=water3
		<color>=#000080
	:!
	
	var moveDuration=37
	
	!:in_vb
		<id>=water1
		<start>=170
	:!

	!:in_vb
		<id>=water2
		<start>=171
	:!

	!:in_vb
		<id>=water3
		<start>=173
	:!
	
	$:circle;start=175;dur=*
		id=bubble1
		radius=50
		pos=(100,$height+100)
		color=#000090
	:$
	
	$:smove;start=175;dur=40
		id=bubble1
		start-pos=(100,$height+100)
		end-pos=(130,-100)
	:$
	
	$:circle;start=175;dur=*
		id=bubble2
		radius=50
		pos=(100,$height+100)
		color=#000090
	:$
	
	$:smove;start=175;dur=20
		id=bubble2
		start-pos=(300,$height+600)
		end-pos=(400,-100)
	:$

	$:circle;start=175;dur=*
		id=bubble3
		radius=40
		pos=(100,$height+200)
		color=#000090
	:$
	
	$:smove;start=175;dur=40
		id=bubble3
		start-pos=(900,$height+200)
		end-pos=(1000,-100)
	:$
	
:scene

scene:label=four;dur=73;overlap=0
	$:fxrender;start=0;dur=*;?normal...
	:$

	$:bgfade;start=0;end=0
		start-color=#000080
		end-color=#000080
	:$

	$:sound;start=0;dur=*;
		filename=voiceover3
		volume=1.0
	:$
	
	!:block
		<id>=bgwhite
		<color>=#ffffff
	:!

	var moveDuration=30

	!:in_hl
		<id>=bgwhite
		<start>=0
	:!
	
	!:image
		<id>=tanker
		<filename>=truck
	:!
	
	!:title
		<id>=ttl1
		<text>=hydrogen is also found in hydrocarbons
		<color>=#ff0000
	:!
	
	var moveDuration=80

	!:scroll_hl
		<id>=ttl1
		<start>=5
	:!

	var moveDuration=90
	
	!:scroll_hl
		<id>=tanker
		<start>=22
	:!
	
:scene

scene:label=five;dur=202;overlap=0
	$:fxrender;start=0;dur=*;?normal...
	:$

	$:bgfade;start=0;end=0
		start-color=#ffffff
		end-color=#ffffff
	:$

	$:sound;start=0;dur=*;
		filename=voiceover4
		volume=1.0
	:$
	
	$:video;start=0;dur=*
		id=rocket
		filename=rocket
		width=720
		height=480
		volume=0.0
		pos=($width*1.5,$height/2)
	:$
	
	$:szoom;$start=0;dur=1
		id=rocket
		scale=($width/720,$height/480)
	:$

	!:title
		<id>=ttl1
		<text>=hydrogen is high in energy
		<color>=#ffffff
	:!

	!:title
		<id>=ttl2
		<text>=almost no pollution
		<color>=#ffffff
	:!

	!:title
		<id>=ttl3
		<text>=produces pure water
		<color>=#ffffff
	:!

	var moveDuration=10
	
	!:in_vb
		<id>=rocket
		<start>=0
	:!
	
	
	!:in_vt
		<id>=ttl1
		<start>=1
	:!

	!:out_vb
		<id>=ttl1
		<start>=40
	:!
	
	!:in_vb
		<id>=ttl2
		<start>=40
	:!

	!:out_vt
		<id>=ttl2
		<start>=75
	:!
	
	$:sfade;start=170;dur=1000;
		id=ttl3
		start-color=#000000
		end-color=#101010
		ping-pong=true
		delay=0
		steps=20
	:$
	
	!:in_hl
		<id>=ttl3
		<start>=170
	:!

	!:out_hr
		<id>=ttl3
		<start>=190
	:!
	
	!:sebastian
		<start>=160
	:!

	var moveDuration=10

	!:move_sebastian_in
		<start>=160
		<x>=200
	:!
	
	!:talk_sebastian
		<start>=160
	:!

:scene

scene:label=six;dur=164;overlap=0
	$:fxrender;start=0;dur=*;?normal...
	:$

	$:bgfade;start=0;end=0
		start-color=#ffffff
		end-color=#ffffff
	:$

	$:sound;start=0;dur=*;
		filename=voiceover5
		volume=1.0
	:$
	
	$:sprite;start=0;dur=*
		filename=thumbsdown
		id=question
		pos=center
	:$
	
	$:sfade;start=15;end=20
		id=question
		start-color=#ffffffff
		end-color=#00000000
	:$
	
	!:image
		<id>=tanker
		<filename>=truck
	:!
	
	var moveDuration=70

	!:scroll_hl
		<id>=tanker
		<start>=10
	:!

	!:title
		<id>=ttl1
		<text>=hydrogen is not an energy source
		<color>=#ff0000
	:!

	!:scroll_hl
		<id>=ttl1
		<start>=30
	:!
	

	/*
	Bolt!
	*/
	$:sprite;start=0;dur=*
		id=bolt
		filename=bolt
		pos=center
	:$
	
	$:szoom;start=0;dur=1
		id=bolt
		scale=(0,0)
	:$
	
	$:szoom;start=75;dur=5
		id=bolt
		start-scale=(0.0,0.0)
		end-scale=(1.0,1.0)
	:$

	$:szoom;start=115;end=164
		id=bolt
		start-scale=(1.0,1.0)
		end-scale=(35.0,25.0)
	:$

	$:sjitter;start=75;dur=*
		id=bolt
		x-range=20
		y-range=20
		steps=5
		delay=0
	:$

	/* 
	title 
	*/
	
	$:text;start=0;dur=*
		id=ttl2
		text=storing
		font=titlefont3
		color=#000000
		pos=($width,1.5*$height)
	:$

	$:smove;start=80;dur=10;
		id=ttl2
		end-pos=(240,$height/2)
	:$

	$:smove;start=115;dur=10;
		id=ttl2
		end-pos=($width,-1.5*$height)
	:$

	$:text;start=0;dur=*
		id=ttl3
		text=transporting
		font=titlefont3
		color=#000000
		pos=(0,-1.5*$height)
	:$

	$:smove;start=80;dur=10;
		id=ttl3
		end-pos=($width-250,$height/2)
	:$
	
	$:smove;start=115;dur=10;
		id=ttl3
		end-pos=(0,1.5*$height)
	:$

	$:text;start=0;dur=*
		id=ttl4
		text=you need to get it first
		font=titlefont3
		color=#000000
		pos=($width/2,$height/2)
	:$
	
	$:szoom;start=0;dur=1
		id=ttl4
		scale=(0,0)
	:$
	
	$:szoom;start=130;dur=10
		id=ttl4
		start-scale=(0,0)
		end-scale=(1,1)
	:$
	
:scene

scene:label=seven;dur=173;overlap=0
	$:fxrender;start=0;dur=*;?normal...
	:$

	$:bgfade;start=0;end=20
		start-color=#ffffff
		end-color=#808080
	:$

	$:sound;start=0;dur=*;
		filename=voiceover6
		volume=1.0
	:$

	$:sprite;start=0;dur=*
		filename=question
		id=question
		pos=center
	:$
	
	$:sfade;start=15;end=20
		id=question
		start-color=#ffffffff
		end-color=#00000000
	:$
	
	var xChartOffset=300
	
	$:rect;start=30;dur=*
		id=g1
		width=100
		height=$height
		pos=($width/2-xChartOffset,$height/2)
		color=#ED3232
	:$

	$:rect;start=30;dur=*
		id=g2
		width=100
		height=$height
		pos=($width/2+xChartOffset,$height/2)
		color=#E0A51B
	:$

	$:rect;start=30;dur=*
		id=c1
		width=100
		height=$height
		pos=($width/2-xChartOffset,$height/2)
		color=#808080
	:$

	$:rect;start=30;dur=*
		id=c2
		width=100
		height=$height
		pos=($width/2+xChartOffset,$height/2)
		color=#808080
	:$
	
	$:smove;start=30;dur=30
		id=c1
		end-pos=($width/2-xChartOffset,$height/2-200)
	:$

	$:smove;start=30;dur=30
		id=c2
		end-pos=($width/2+xChartOffset,$height/2-600)
	:$
	
	var moveDuration=10
	
	!:title
		<id>=ttl1
		<text>=3 times!
		<color>=#ffffff
	:!

	!:in_vt
		<id>=ttl1
		<start>=35
	:!
	
	!:block
		<id>=blk1
		<color>=#ffffff
	:!
	
	!:in_vb
		<id>=blk1
		<start>=80
	:!
	
	!:image
		<filename>=water
		<id>=water
	:!
	
	!:in_vb
		<id>=water
		<start>=82
	:!
	
	!:out_hl
		<id>=water
		<start>=110
	:!
	
	!:image
		<filename>=tick
		<id>=tick
	:!
	
	!:in_hl
		<id>=tick
		<start>=110
	:!
	
	!:out_hr
		<id>=tick
		<start>=140
	:!
	
	$:video;start=140;dur=*
		id=rocket
		filename=space
		width=720
		height=480
		volume=0.0
		pos=($width*1.5,$height/2)
	:$
	
	$:szoom;start=140;dur=1
		id=rocket
		scale=($width/720,$height/480)
	:$
	
	!:in_hl
		<id>=rocket
		<start>=140
	:!
	
:scene

scene:label=eight;dur=130;overlap=0
	$:fxrender;start=0;dur=*;?normal...
	:$

	$:bgfade;start=0;end=0
		start-color=#ffffff
		end-color=#ffffff
	:$

	$:sound;start=0;dur=*;
		filename=voiceover7
		volume=1.0
	:$
	
	!:title
		<id>=ttl1
		<text>=why don't we use it?
		<color>=#000000
	:!
	
	var moveDuration=10
	
	!:in_hl
		<id>=ttl1
		<start>=0
	:!
	
	!:out_hr
		<id>=ttl1
		<start>=40
	:!
	
	$:video;start=27;dur=*
		id=explode
		filename=explode
		width=720
		height=480
		volume=0.0
		pos=($width/2,-1.5*$height)
	:$
	
	$:szoom;start=27;dur=1
		id=explode
		scale=($width/720,$height/480)
	:$
	
	!:in_vt
		<id>=explode
		<start>=27
	:!
	
	$:video;start=75;dur=*
		id=money
		filename=money
		width=720
		height=480
		volume=0.0
		pos=($width/2,-1.5*$height)
	:$
	
	$:szoom;start=75;dur=1
		id=money
		scale=($width/720,$height/480)
	:$
	
	!:in_vb
		<id>=money
		<start>=75
	:!	
:scene


scene:label=nine;dur=217;overlap=0
	$:fxrender;start=0;dur=*;?normal...
	:$

	$:fxwiggle;start=120;end=168;
		speed=0.05
		amplitude-x=15.0
		amplitude-y=16.0
		radians-x=0.01
		radians-y=0.01
		style=1
		fade-in=true
		fade-out=true
	:$
	
	$:bgfade;start=0;end=0
		start-color=#ffffff
		end-color=#ffffff
	:$

	$:sound;start=0;dur=*;
		filename=voiceover8
		volume=1.0
	:$
	
	!:title
		<id>=ttl1
		<text>=how do we get hydrogen?
		<color>=#000000
	:!
	
	var moveDuration=13
	
	!:in_hl
		<id>=ttl1
		<start>=0
	:!
	
	!:out_hr
		<id>=ttl1
		<start>=35
	:!
	
	$:video;start=30;dur=*
		id=earth
		filename=earth
		width=720
		height=480
		volume=0.0
		pos=($width/2,$height/2)
		color=#00000000
	:$
	
	$:szoom;start=30;dur=1
		id=earth
		scale=($width/720,$height/480)
	:$
	
	$:sfade;start=30;dur=20
		id=earth
		start-color=#00000000
		end-color=#ffffffff
	:$
	
	!:block
		<id>=blk1
		<color>=#ffffff
	:!
	
	!:image
		<id>=reforming
		<filename>=reforming
	:!
	
	!:image
		<id>=thumbsdown
		<filename>=thumbsdown
	:!
	
	!:in_vb
		<id>=blk1
		<start>=120
	:!
	
	!:in_vb
		<id>=reforming
		<start>=120
	:!

	!:out_vt
		<id>=reforming
		<start>=170
	:!
	
	!:in_vb
		<id>=thumbsdown
		<start>=170
	:!
	
	$:szoom;start=130;end=170
		id=reforming
		start-scale=(1,1)
		end-scale=(2,2)
	:$

	!:sebastian
		<start>=170
	:!

	var moveDuration=10
	!:move_sebastian_in
		<start>=170
		<x>=200
	:!
	
	!:talk_sebastian
		<start>=170
	:!
	
	
:scene

scene:label=ten;dur=150;overlap=0

	$:fxrender;start=0;dur=*;?normal...
	:$

	$:bgfade;start=0;end=0
		start-color=#ffffff
		end-color=#ffffff
	:$

	$:sound;start=0;dur=*;
		filename=voiceover9
		volume=1.0
	
	:$
	
	!:title
		<id>=ttl1
		<text>=there is another way to get hydrogen
		<color>=#000000
	:!
	
	var moveDuration=13
	
	!:in_hl
		<id>=ttl1
		<start>=0
	:!
	
	!:out_hr
		<id>=ttl1
		<start>=35
	:!
	
	!:image
		<id>=electrolysis
		<filename>=electrolysis
	:!
	
	!:in_hl
		<id>=electrolysis
		<start>=35
	:!
	
	$:szoom;start=0;dur=1;
		id=electrolysis
		scale=(0.7,0.7)
	:$
	
	$:fxwiggle;start=35;dur=40;
		speed=0.05
		amplitude-x=15.0
		amplitude-y=16.0
		radians-x=0.01
		radians-y=0.01
		style=1
		fade-in=true
		fade-out=true
	:$

	$:fxwiggle;start=75;dur=40;
		speed=0.05
		amplitude-x=15.0
		amplitude-y=16.0
		radians-x=0.01
		radians-y=0.01
		style=0
		fade-in=true
		fade-out=true
	:$
	
	$:sprite;start=0;dur=*
		id=solarwind
		filename=solarwind
		pos=($width+1562,$height/2)
	:$
	
	$:szoom;start=0;dur=1
		id=solarwind
		scale=($width/1562,$height/1202)
	:$
	
	$:smove;start=75;dur=20
		id=solarwind
		start-pos=($width*1.5,$height/2)
		end-pos=($width/2,$height/2)
	:$
	
	
	!:block
		<id>=blk1
		<color>=#ffffff
	:!
	
	!:image
		<id>=thumbsup
		<filename>=thumbsup
	:!
	
	!:in_vb
		<id>=blk1
		<start>=110
	:!
	
	!:in_vb
		<id>=thumbsup
		<start>=110
	:!

	!:sebastian
		<start>=110
	:!

	var moveDuration=10

	!:move_sebastian_in
		<start>=110
		<x>=200
	:!
	
	!:talk_sebastian
		<start>=110
	:!
:scene

scene:label=fourteen;dur=213;overlap=0
	$:fxrender;start=0;dur=*;?normal...
	:$

	$:bgfade;start=0;end=0
		start-color=#ffffff
		end-color=#ffffff
	:$

	$:sound;start=0;dur=*;
		filename=voiceoverD
		volume=1.0
	:$

	!:title
		<id>=ttl1
		<text>=so what's the point?
		<color>=#000000
	:!
	
	var moveDuration=13
	
	!:in_hl
		<id>=ttl1
		<start>=0
	:!
	
	!:out_hr
		<id>=ttl1
		<start>=30
	:!
	
	$:video;start=30;dur=*
		id=earth
		filename=earth
		width=720
		height=480
		volume=0.0
		pos=($width/2,$height/2)
		color=#00000000
	:$
	
	$:szoom;start=30;dur=1
		id=earth
		scale=($width/720,$height/480)
	:$
	
	$:sfade;start=30;dur=5
		id=earth
		start-color=#00000000
		end-color=#ffffffff
	:$
	

	!:block
		<id>=water1
		<color>=#0000ff
	:!

	!:block
		<id>=water2
		<color>=#0000c0
	:!

	!:block
		<id>=water3
		<color>=#000080
	:!
	
	var moveDuration=30
	var waterStart=90
	
	$:fxwiggle;start=waterStart;dur=moveDuration;
		speed=0.05
		amplitude-x=15.0
		amplitude-y=16.0
		radians-x=0.01
		radians-y=0.01
		style=0
		fade-in=true
		fade-out=true
	:$
	
	!:in_vb
		<id>=water1
		<start>=waterStart
	:!

	!:in_vb
		<id>=water2
		<start>=waterStart+1
	:!

	!:in_vb
		<id>=water3
		<start>=waterStart+3
	:!
	
	$:circle;start=waterStart+5;dur=*
		id=bubble1
		radius=50
		pos=(100,$height+100)
		color=#000090
	:$
	
	$:smove;start=waterStart+5;dur=40
		id=bubble1
		start-pos=(100,$height+100)
		end-pos=(130,-100)
	:$
	
	$:circle;start=waterStart+5;dur=*
		id=bubble2
		radius=50
		pos=(100,$height+100)
		color=#000090
	:$
	
	$:smove;start=waterStart+5;dur=20
		id=bubble2
		start-pos=(300,$height+600)
		end-pos=(400,-100)
	:$

	$:circle;start=waterStart+5;dur=*
		id=bubble3
		radius=40
		pos=(100,$height+200)
		color=#000090
	:$
	
	$:smove;start=waterStart+5;dur=40
		id=bubble3
		start-pos=(900,$height+200)
		end-pos=(1000,-100)
	:$
	
	var moveDuration=10

	
	!:block
		<id>=blk1
		<color>=#ffffff
	:!

	!:image 
		<filename>=battery
		<id>=battery
	:!
	
	!:in_hl
		<id>=blk1
		<start>=125
	:!
	
	!:in_hl
		<id>=battery
		<start>=125
	:!

	$:video;start=135;dur=*
		id=engine
		filename=engine
		width=720
		height=480
		volume=0.0
		pos=($width/2,$height/2)
		color=#00000000
	:$
	
	$:szoom;start=135;dur=1
		id=engine
		scale=($width/720,$height/480)
	:$

	$:smove;start=135;dur=20
		id=engine
		start-pos=($width*1.5,$height/2)
		end-pos=($width/2,$height/2)
	:$

	$:sfade;start=170;dur=1
		id=blk1
		start-color=#00000000
		end-color=#00000000
	:$
	
	$:sz;start=170;dur=1
		id=blk1
		to-front=true
	:$

	$:sz;start=170;dur=1
		id=sebastianall
		to-front=true
	:$

	$:sz;start=170;dur=1
		id=sebastian
		to-front=true
	:$

	$:sz;start=170;dur=1
		id=mouth
		to-front=true
	:$

	!:sebastian
		<start>=170
	:!

	var moveDuration=10
	!:move_sebastian_in
		<start>=170
		<x>=$width/2
	:!
	
	!:talk_sebastian
		<start>=170
	:!

	$:sfade;start=170;dur=10
		id=blk1
		start-color=#00000000
		end-color=#ffffffff
	:$
	
:scene

scene:label=closingcredits;dur=270;overlap=0
	$:fxwiggle;start=0;dur=*;
		speed=0.09
		amplitude-x=10.2
		amplitude-y=10.1
		radians-x=0.025
		radians-y=0.025
		style=0
	:$
	
	$:songstart;start=0;dur=*;
		filename=funkychickenstuff
	:$

	$:songvolume;start=0;end=1;
		volume=1.0
	:$

	$:songvolume;start=60;end=100;
		volume=0.0
	:$
	
	
	$:bgfade;start=0;end=5
		start-color=#ffffff
		end-color=#7A7567
	:$
	
	$:bgfade;start=250;end=270
		start-color=#7A7567
		end-color=#000000
	:$
	
	macro:label=endtitle
		$:text;start=0;dur=*
			id=<id>
			text=<text>
			font=creditsfont
			color=#ffffff
			pos=($width*1.6,$height*1.6)
		:$
		
/*
		$:srotate;start=0;dur=1
			id=<id>
			delta=-0.2
			steps=0
		:$

		start-pos=($width+20,$height+20)
		end-pos=(-40,-40)
*/		
		$:smove;start=<start>;dur=150
			id=<id>
			start-pos=(($width/2)-25,$height+20)
			end-pos=(($width/2)-25,-120)
			smooth=false
		:$
		
		$:sfade;start=<start>;dur=*
			id=<id>
			start-color=#ffffff
			end-color=#ffc0c0
			ping-pong=true
			delay=0
			steps=40
		:$
		
		$:sswing;start=<start>;dur=*
			id=<id>
			start-off=(0,-7)
			end-off=(0,7)
			smooth=true
			ping-pong=true
			steps=23
			delay=0
		:$
		
	:macro
	
	var toffset=11
	!:endtitle
		<id>=tx0
		<start>=toffset*1
		<text>=Sebastian presents hydrogen power
	:!

	!:endtitle
		<id>=tx1
		<start>=toffset*2
		<text>=What? A Defame production??? Yez!
	:!

	!:endtitle
		<id>=tx2
		<start>=toffset*5
		<text>=Research, writing, storyboard and voiceover by Exploding Chicken
	:!

	!:endtitle
		<id>=tx3
		<start>=toffset*6
		<text>=Animation by Ziggy using our "GROVER 2D" engine
	:!

	!:endtitle
		<id>=tx4
		<start>=toffset*8
		<text>=Soundtrack is FunkyChickenStuff by ScareCrow available at remix.kwed.org
	:!

	!:endtitle
		<id>=tx5
		<start>=toffset*9
		<text>=Stock imagery and video licensed from 123RF.com 
	:!

	!:endtitle
		<id>=tx6
		<start>=toffset*10
		<text>=Spaceshuttle footage copyright NASA
	:!

	!:endtitle
		<id>=tx7
		<start>=toffset*11
		<text>=Reforming image thanks to Panasonic Japan 
	:!
	
	!:endtitle
		<id>=tx8
		<start>=toffset*12
		<text>=Electrolysis image thanks to Wikipedia 
	:!
	
:scene

scene:label=black;dur=7
	$:fxrender;start=0;dur=*;?normal...
	:$

	$:bgfade;start=0;end=0
		start-color=#000000
		end-color=#000000
	:$
:scene