|
@@ -71,6 +71,7 @@
|
|
<layer name="title2_line2_hottiyan" style="text" align="top center" x="0" y="0" css="background-color:#fff;width:6px;height:6px;border-radius:50%;" />
|
|
<layer name="title2_line2_hottiyan" style="text" align="top center" x="0" y="0" css="background-color:#fff;width:6px;height:6px;border-radius:50%;" />
|
|
</plugin> -->
|
|
</plugin> -->
|
|
<!-- <preview url="test3333.png"/> onloaded.addevent="sceneload();"-->
|
|
<!-- <preview url="test3333.png"/> onloaded.addevent="sceneload();"-->
|
|
|
|
+
|
|
<hotspot name="video"
|
|
<hotspot name="video"
|
|
ath="50.082"
|
|
ath="50.082"
|
|
atv="14"
|
|
atv="14"
|
|
@@ -95,7 +96,13 @@
|
|
cursor="grab"
|
|
cursor="grab"
|
|
ondown.addevent="set(cursor,grabbing);"
|
|
ondown.addevent="set(cursor,grabbing);"
|
|
onup.addevent="set(cursor,grab);"
|
|
onup.addevent="set(cursor,grab);"
|
|
- />
|
|
|
|
|
|
+ zorder="2"
|
|
|
|
+ >
|
|
|
|
+ </hotspot>
|
|
|
|
+
|
|
|
|
+ <hotspot name="image_hotspot" ath="50.082" atv="14" rotate="-45.0" zorder="1"
|
|
|
|
+ distorted="true" scale="0.5" alpha="0.5"
|
|
|
|
+ url="https://dm.static.elab-plus.com/miniProgram/grass.jpg" keep="true"></hotspot>
|
|
<action name="draghotspot">
|
|
<action name="draghotspot">
|
|
spheretoscreen(ath, atv, hotspotcenterx, hotspotcentery, calc(mouse.stagex LT stagewidth/2 ? 'l' : 'r'));
|
|
spheretoscreen(ath, atv, hotspotcenterx, hotspotcentery, calc(mouse.stagex LT stagewidth/2 ? 'l' : 'r'));
|
|
sub(drag_adjustx, mouse.stagex, hotspotcenterx);
|
|
sub(drag_adjustx, mouse.stagex, hotspotcenterx);
|
|
@@ -104,8 +111,9 @@
|
|
sub(dx, mouse.stagex, drag_adjustx);
|
|
sub(dx, mouse.stagex, drag_adjustx);
|
|
sub(dy, mouse.stagey, drag_adjusty);
|
|
sub(dy, mouse.stagey, drag_adjusty);
|
|
screentosphere(dx, dy, ath, atv);
|
|
screentosphere(dx, dy, ath, atv);
|
|
-
|
|
|
|
- );
|
|
|
|
|
|
+ set(hotspot[image_hotspot].ath, get(ath));
|
|
|
|
+ set(hotspot[image_hotspot].atv, get(atv));
|
|
|
|
+ );
|
|
</action>
|
|
</action>
|
|
<action name="mobilescale" autorun="preinit" devices="mobile">
|
|
<action name="mobilescale" autorun="preinit" devices="mobile">
|
|
mul(stagescale,0.5);
|
|
mul(stagescale,0.5);
|