; ****************************************
; * InFeRnO demoengine script for ReBoRn *
; ****************************************

; ****************
; * general vars *
; ****************

g_demoname ReBoRn
g_debug 0
g_packeddata 0
g_demostart 0.0

; ******************
; * gl driver vars *
; ******************

gl_fullscreen 1
gl_info 0

; Final screen size
; ********************
gl_width 800
gl_height 600

; Renter to texture dimensions
; ********************
gl_rttWidth 512
gl_rttHeight 512

; *********************
; * sound driver vars *
; *********************

snd_enable 1
snd_mp3file data/music/reborn.ogg

; *****************
; * demo sections *
; *****************

; ******************
; * title sections *
; ******************

[efxFader]
start 0
end 1
layer 4200
syncs 0

;RGBA init colors and alpha
param 0
param 0
param 0
param 1

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; *********************

[paintex]
start 0
end 10
layer 4000
syncs 2
sync 8
sync 8

; texture ID
param 4

; location
param 0
param 0
param 0

; rotation axis
param 0
param 0
param 0

; *****************************

[efxFader]
start 8
end 10
layer 4200
syncs 0

;RGBA init colors and alpha
param 0
param 0
param 0
param 0

;RGBA end colors and alpha
param 0
param 0
param 0
param 1


; ******************

[efxRadialBlur]
start 0.0
end 10.0
layer 4100
syncs 0
;n iterations (2^n)
param 7

;initial alpha and separation
param 0.35
param 0.02

;final alpha and separation
param 0.0
param 0.08

;initial position (x,y) from 0 to 1
param 0.5
param 1.0

;final position (x,y) from 0 to 1
param 0.5
param 0.0

; ***********************************************************************************
; * knots sections *
; ******************

[efxFader]
start 10
end 11
layer 4200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 1

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; ********************

[knots]
start 10.0
end 42.0
layer 20
syncs 3

sync 8
sync 16
sync 24

; ******************

[efxRadialBlur]
start 10.0
end 18.0
layer 1000
syncs 0
;n iterations (2^n)
param 7

;initial alpha and separation
param 0.1
param 0.005

;final alpha and separation
param 0.0
param 0.005

;initial position (x,y) from 0 to 1
param 0.5
param 0.5

;final position (x,y) from 0 to 1
param 0.5
param 0.5

; ******************

[efxDiffusion]
start 18.0
end 26.0
layer 2000
syncs 0

; deform type
param 1

; alpha
param 0.35

; ******************

[efxRadialBlur]
start 26.0
end 34.0
layer 1000
syncs 0
;n iterations (2^n)
param 10

;initial alpha and separation
param 0.04
param 0.0005

;final alpha and separation
param 0.04
param 0.005

;initial position (x,y) from 0 to 1
param 0.0
param 0.0

;final position (x,y) from 0 to 1
param 1.0
param 1.0

; ******************

[efxFader]
start 10
end 12
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; ******************

[efxFader]
start 12
end 14
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; ******************

[efxFader]
start 14
end 16
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

[efxFader]
start 16
end 18
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; ******************

[efxFader]
start 18
end 20
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; ******************

[efxFader]
start 20
end 22
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; ******************

[efxFader]
start 22
end 24
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; ******************

[efxFader]
start 24
end 26
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; ******************

[efxFader]
start 26
end 28
layer 200
syncs 0

;RGBA init colors and alpha
param 0
param 0
param 0
param 1

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; ******************

[efxFader]
start 28
end 30
layer 200
syncs 0

;RGBA init colors and alpha
param 0
param 0
param 0
param 1

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; ******************

[efxFader]
start 30
end 32
layer 200
syncs 0

;RGBA init colors and alpha
param 0
param 0
param 0
param 1

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; ******************

[efxFader]
start 32
end 34
layer 200
syncs 0

;RGBA init colors and alpha
param 0
param 0
param 0
param 1

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; ******************

[efxFader]
start 34
end 36
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; ******************

[efxFader]
start 36
end 38
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; ******************

[efxFader]
start 38
end 40
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; ******************

[efxFader]
start 40
end 42
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; ********************

[efxDiffusion]
start 34.0
end 42.0
layer 4000
syncs 0

; deform type
param 3

; alpha
param 0.35

; ***************************************************************************************
; * guitar 1 sections *
; *********************

[guitar]
start 42
end 50
layer 15
syncs 0

[paintex]
start 42
end 50
layer 4000
syncs 2
sync 6
sync 6

; texture ID
param 1

; location
param -3
param -10
param 0

; rotation axis
param 0
param 1
param 1

; ***************************************************************************************
; * flash sections *
; ******************

[flash]
start 50.0
end 82.0
layer 20
syncs 2

sync 16
sync 24

[paintex]
start 66
end 74
layer 4100
syncs 2
sync 6
sync 6

; texture ID
param 0

; location
param 4
param -10
param 0

; rotation axis
param -1
param -1
param 0

; *****************

[efxRadialBlur]
start 50.0
end 66.0
layer 2000
syncs 0
;n iterations (2^n)
param 7

;initial alpha and separation
param 0.15
param 0.05

;final alpha and separation
param 0.15
param 0.05

;initial position (x,y) from 0 to 1
param 0.0
param 0.5

;final position (x,y) from 0 to 1
param 1.0
param 0.5

; *****************

[efxDiffusion]
start 66.0
end 74.0
layer 4000
syncs 0

; deform type
param 4

; alpha
param 0.3

; *****************

[efxDiffusion]
start 74.0
end 82.0
layer 4000
syncs 0

; deform type
param 1

; alpha
param 0.3

; *****************

[efxFader]
start 50
end 51
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *****************

[efxFader]
start 52
end 53
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *****************

[efxFader]
start 54
end 55
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *****************

[efxFader]
start 56
end 57
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *****************

[efxFader]
start 58
end 59
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *****************

[efxFader]
start 60
end 61
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *****************

[efxFader]
start 62
end 63
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *****************

[efxFader]
start 64
end 65
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *****************

[efxFader]
start 66
end 67
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 0
param 0
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0


; *****************

[efxFader]
start 74
end 76
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0


; *****************

[efxFader]
start 76
end 78
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0


; *****************

[efxFader]
start 78
end 80
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0


; *****************

[efxFader]
start 80
end 82
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; ***********************************************************************************
; * gong sections *
; ******************

[efxFader]
start 82
end 85
layer 30
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 1

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; *********************************

[titulo]
start 82
end 90
layer 20
syncs 0


[flash]
start 82.0
end 90.0
layer 10
syncs 2

sync 90
sync 90

; *********************************

[paintex]
start 82
end 90
layer 30
syncs 2
sync 6
sync 6

; texture ID
param 5

; location
param 0
param -2
param 0

; rotation axis
param 0
param 0
param 0

; *****************************

[efxRadialBlur]
start 82.0
end 90.0
layer 1000
syncs 0
;n iterations (2^n)
param 7

;initial alpha and separation
param 0.1
param 0.003

;final alpha and separation
param 0.1
param 0.003

;initial position (x,y) from 0 to 1
param 0
param 0.5

;final position (x,y) from 0 to 1
param 1
param 0.5

; ***************************************************************************************
; * loop sections *
; *****************

[loop]
start 90
end 106
layer 15
syncs 0

; *****************

[efxRadialBlur]
start 90.0
end 106.0
layer 1500
syncs 0
;n iterations (2^n)
param 7

;initial alpha and separation
param 0.1
param 0.01

;final alpha and separation
param 0.1
param 0.01

;initial position (x,y) from 0 to 1
param 1.0
param 0.5

;final position (x,y) from 0 to 1
param 0.5
param 0.0

; ***************************

[efxFader]
start 90
end 92
layer 30
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 1

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; *********************************

[paintex]
start 98
end 106
layer 2000
syncs 2
sync 6
sync 6

; texture ID
param 2

; location
param 2
param -10
param 0

; rotation axis
param 1
param -1
param 1

; ***************************************************************************************
; * columna sections *
; ********************

[columna]
start 106
end 122
layer 15
syncs 0

; ***************************

[efxFader]
start 106
end 108
layer 30
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 1

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; ***************************

[efxRadialBlur]
start 106.0
end 122.0
layer 1000
syncs 0
;n iterations (2^n)
param 7

;initial alpha and separation
param 0.1
param 0.05

;final alpha and separation
param 0.1
param 0.05

;initial position (x,y) from 0 to 1
param 0.0
param 0.0

;final position (x,y) from 0 to 1
param 1.0
param 1.0

; ***************************************************************************************
; * mokitos sections *
; ********************

[mokitos]
start 122
end 146
layer 15
syncs 2
sync 8
sync 16

; **************************

[efxDiffusion]
start 122.0
end 138.0
layer 4002
syncs 0

; deform type
param 3

; alpha
param 0.4

; **************************

[efxFader]
start 122
end 123
layer 30
syncs 0

;RGBA init colors and alpha
param 0.2
param 0.2
param 0.5
param 1

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; **************************

[efxFader]
start 138
end 139
layer 30
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.2

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; *****************************

[paintex]
start 138
end 146
layer 4000
syncs 2
sync 6
sync 6

; texture ID
param 3

; location
param 0
param -10
param 0

; rotation axis
param -1
param 1
param 1

; *****************

[efxRadialBlur]
start 138.0
end 146.0
layer 2000
syncs 0
;n iterations (2^n)
param 12

;initial alpha and separation
param 0.1
param 0.015

;final alpha and separation
param 0.1
param 0.015

;initial position (x,y) from 0 to 1
param 0.0
param 0.5

;final position (x,y) from 0 to 1
param 1.0
param 0.5

; ***************************************************************************************
; * paranoia sections *
; *********************

[paranoia]
start 146
end 162
layer 15
syncs 0

; **************************

[efxFader]
start 146
end 147
layer 30
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 1

;RGBA end colors and alpha
param 0
param 0
param 0
param 0

; **************************

;[efxDiffusion]
;start 146.0
;end 162.0
;layer 4000
;syncs 0

;; deform type
;param 3

;; alpha
;param 0.4

; **********************

[efxRadialBlur]
start 146.0
end 162.0
layer 3000
syncs 0
;n iterations (2^n)
param 10

;initial alpha and separation
param 0.0
param 0.01

;final alpha and separation
param 0.08
param 0.02

;initial position (x,y) from 0 to 1
param 0.0
param 1.0

;final position (x,y) from 0 to 1
param 1.0
param 0.0

; *****************

[greeting1]
start 146
end 150
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 0

; location
param 0.8
param 0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting2]
start 147
end 151
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 1

; location
param -0.8
param 0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting3]
start 148
end 152
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 2

; location
param 0.8
param -0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting4]
start 149
end 153
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 3

; location
param -0.8
param -0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting1]
start 150
end 154
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 4

; location
param 0.8
param 0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting2]
start 151
end 155
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 5

; location
param -0.8
param 0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting3]
start 152
end 156
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 15

; location
param 0.8
param -0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting4]
start 153
end 157
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 7

; location
param -0.8
param -0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************
; *****************

[greeting1]
start 154
end 158
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 8

; location
param 0.8
param 0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting2]
start 155
end 159
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 9

; location
param -0.8
param 0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting3]
start 156
end 160
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 10

; location
param 0.8
param -0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting4]
start 157
end 161
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 11

; location
param -0.8
param -0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting1]
start 158
end 162
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 12

; location
param 0.8
param 0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting2]
start 159
end 162
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 13

; location
param -0.8
param 0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting3]
start 160
end 162
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 14

; location
param 0.8
param -0.8
param 0

; rotation axis
param 0
param 0
param 0

; *****************

[greeting4]
start 161
end 162
layer 4000
syncs 2
sync 2
sync 2

; texture ID
param 6

; location
param -0.8
param -0.8
param 0

; rotation axis
param 0
param 0
param 0

; *************************

[efxFader]
start 146.5
end 147
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.5

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 147.5
end 148
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.5

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 148.5
end 149
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.5

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 149.5
end 150
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.5

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 150.5
end 151
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.5

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 151.5
end 152
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.5

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 152.5
end 153
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.5

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 153.5
end 154
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.5

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 154.5
end 155
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 155.5
end 156
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 156.5
end 157
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 157.5
end 158
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.25

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 158.5
end 159
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.15

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 159.5
end 160
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.15

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 160.5
end 161
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.1

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; *************************

[efxFader]
start 161.5
end 162
layer 200
syncs 0

;RGBA init colors and alpha
param 1
param 1
param 1
param 0.1

;RGBA end colors and alpha
param 1
param 1
param 1
param 0

; ***************************************************************************************
; * logofinal sections *
; **********************

[logofinal]
start 162
end 174
layer 15
syncs 0

; ******************

[flare]
start 162
end 174
layer 15
syncs 0

; ******************

[efxFader]
start 170
end 174
layer 200
syncs 0

;RGBA init colors and alpha
param 0
param 0
param 0
param 0

;RGBA end colors and alpha
param 0
param 0
param 0
param 1

; *********************************

[efxDiffusion]
start 162.0
end 174.0
layer 4000
syncs 0

; deform type
param 3

; alpha
param 0.35


;[efxRenderMesh]
;start 0.0
;end 5.0
;layer 200
;syncs 0
;params 2
;;width and height
;param 400
;param 300

; ******************

[EOF]


; script = (variable value)* ([section] (local_variable value)*)+ [EOF]
; comments started by ';'

; demo sections = start time(f) + end time(f) + layer(i) + [syncs(i) + (sync(f))*]
; layer value -> smaller - first painted, bigger - last painted
