1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<action name="startup" devices="ios" >
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
delayedcall(5, rotatestart());
delayedcall(3, showMenu() );
</action>
<action name="startup" devices="flash|html5+!ios" >
if(startscene === null, copy(startscene,scene[0].name));set(display.flash10, off);
loadscene(get(startscene),view.stereographic=true&view.fisheye=1.0&view.fov=155&view.fovtype=VFOV&view.fovmax=150&view.hlookat=-120&view.vlookat=77);
set(autorotate.enabled,false);
wait(blend);
delayedcall(2, normalview() );
delayedcall(6, rotatestart());
delayedcall(6, showMenu() );
</action>
<action name="normalview">
tween(view.hlookat, -7, 5, easeInOutQuad);
tween(view.vlookat, -13, 5, easeInOutQuad);
tween(view.fov, 70, 5, easeInOutQuad);
tween(view.fisheye, 0.0, 5, easeInOutQuad);
delayedcall(6,set(view.fovmin, 20));
delayedcall(6,set(view.fovmax, 80));
wait(2);
set(display.flash10, on);
</action>
|