# Comments should be ignored!
# todo: music loading?
# time objname command args...
# Commands: SHADER, new, texture, shader, setpoint, setdirection, local, append, END
# 
# Default direction 0.5, 0.5, 0

# INIT
-1 main SHADER minimal.vert,,minimal.frag
-1 nolight SHADER minimal.vert,,nolight.frag
-1 cam new camera
-1 SCENE append cam
-1 cam setpoint 0,0,0
-1 cam setdirection 0.5,0.4999,0.0
0 cam movepoint 0,0,-950,150




#LOGO
-1 logo new model
-1 logo shader main
-1 logo texture bluespec.png
-1 logo local loadobj;data/models/thinktank.obj
-1 logo scale 0.011
-1 logo setpoint 0,22.8,-10.0
5 logo movepoint 0,2.8,-20.0,1
9 logo rotatepoint 1.5,1,0,2
-1 logo setdirection 0.5,1.0,0.0
-1 cam append logo
15 logo movepoint -20,2.8,-10.0,1
#16 cam remove logo


# CUBE
-1 cube new model
-1 cube shader main
-1 cube texture orange.png
-1 cube local loadobj;data/models/roundcube.obj
-1 cube setpoint 0,-20,-10
1 cube deltadirection 0.2,0.8,0
9 cube movepoint 0,0,-30,1
7 cam append cube

# Morecubes
-1 cube2 clone cube
-1 cube2 texture bluespec.png
-1 cube2 setpoint 1,-20, -10
1 cube2 deltadirection 0.2,0.8,0
11.38 cube2 movepoint 3,0,-33,1
7 cam append cube2

-1 cube3 clone cube
-1 cube3 texture strawberry.png
-1 cube3 setpoint -1,-20, -10
1 cube3 deltadirection 0.2,0.8,0
13.38 cube3 movepoint -3,0,-35,1
7 cam append cube3

-1 anchor new demoeffect

14.5 cube movepoint 0,-20,-10,1
14.5 cube2 movepoint 0,-20,-10,1
14.5 cube3 movepoint 0,-20,-10,1
16 cam remove cube
16 cam remove cube2
16 cam remove cube3


# PARTICULZ
-1 fjukk new particles
-1 fjukk setpoint 0,0,20
-1 fjukk setdirection 0.25,0.5,0
-1 fjukk texture swirl1.png
-1 fjukk texture swirl2.png
-1 fjukk texture swirl3.png
-1 fjukk texture citrus.png
16 fjukk movepoint 0,0,-100,4
#10 fjukk movepoint 0,0,-20,10
20 fjukk deltadirection 0,-0.1,-0.1
23 fjukk state 32
25 fjukk texture swirl1.png
27 fjukk texture swirl2.png
29 fjukk texture swirl3.png
-1 fjukk local type;town
-1 fjukk local anim;dinky
-1 fjukk local x;10
-1 fjukk local y;10
-1 fjukk local padx;2
-1 fjukk local pady;2
-1 fjukk local init;cube
16 cam append fjukk
32 cam remove fjukk


-1 skydome new sphere
-1 skydome shader nolight
-1 skydome texture skydome7.png
-1 skydome local scale;500
-1 cam append skydome

-1 fps new text
-1 fps setpoint -0.72,0.34,-1
-1 fps scale 0.05
#-1 SCENE append fps

#IMAGE
-1 title new image
-1 title texture toodamnfast.png
-1 title setpoint 0,0,-10
-1 cam append title

-1 surv new image
-1 surv texture surveillance.png
-1 surv setpoint 100,0,-20
9 cam append surv
9 surv movepoint 1,1,-20,1


-1 cred1 new image
-1 cred1 texture credits.png
-1 cred1 setpoint -100,0,-90
16.1 cam append cred1
16.1 cred1 movepoint 0,0,-40,1

-1 cat new image
-1 cat texture cat.png
-1 cat setpoint 0,100,-50
17.1 cam append cat
17.1 cat movepoint -1,1,-50,1

-1 cred2 new image
-1 cred2 texture credits2.png
-1 cred2 setpoint -100,0,-60
18.1 cam append cred2
18.1 cred2 movepoint 0,0,-60,1

-1 zepp new image
-1 zepp texture zeppelin.png
-1 zepp setpoint -100,-100,-100
19 cam append zepp
19 zepp movepoint 0,-1,-90,1

30 cam movepoint 0,0,-120,1

31 cat movepoint -1,1,-124,1
32 surv movepoint 1,1,-124,1
33 zepp movepoint 0,-1,-124,1


38 DEMO END