krpano修改默认按钮

<krpano> <!-- krpano 1.19.pr9 - Virtual Tour Skin --> <!-- skin settings (can be overridden in the tour.xml) --> <skin_settings maps="false" ...
emer 发布于  2017-9-21 16:07 

krpano隐藏导航条

搜索并设为set(layer[skin_layer].visible, false); 两个箭头隐藏改为 <!-- previous/next scene buttons for the hidden skin mode --> <layer name="skin_btn_prev_fs"...
emer 发布于  2017-9-21 11:23 

krpano制作snow

复制plugins的snow插件,将snow的xml放到同级: snow.xml: <krpano> <!-- the snow plugin --> <plugin name="snow" zorder="1" url="%SWFPATH%/plugins/...
emer 发布于  2017-9-21 09:09 

krpano添加跳转链接

 <action name="nextscene">           add(newsceneindex, scene[get(xml.scene)]...
emer 发布于  2017-9-20 11:53 

krpano拖拽图层和热点

拖拽热点: <action name="draghotspot"> spheretoscreen(ath, atv, hotspotcenterx, hotspotcentery, 'l'); sub(drag_adjustx, mouse.stagex, hotspotcenterx); sub...
emer 发布于  2017-9-19 22:36 

krpano设置文字

添加文字热点,调用方法: <hotspot name="spot1" url="animatedhotspot_white.png" onloaded="do_crop_animation(64,64, 60);add_all_the_time_tooltip_for_VR()" ath="-15" atv="-12" onc...
emer 发布于  2017-9-19 22:25 

krpano设置转动方式?

拖拽或者moveTo: <action name="control_startup" autorun="onstart"> set(control.mouse, moveto); set(control.touch, moveto); </action> 先要改成drag就是将moveto改...
emer 发布于  2017-9-19 21:53 

krpano 添加指南针?

首先讲examples\compass的指南针复制到根目录,然后两种方式,第一种复制到secene外面: <!-- 表盘不动 表针动 --> <layer name="compass1" url="compass_bg.png" keep="true" align="lefttop" x="10" y="10" c...
emer 发布于  2017-9-19 21:40 

krpano 添加背景音乐?

scene外面: <action name="bgsnd_action" autorun="onstart"> playsound(bgsnd, 'http://fs.open.kugou.com/299ee8fc00a480e899d180bb715a6231/59c10d94/G009/M0A/09/05/...
emer 发布于  2017-9-19 20:34 

Krpano添加热点图

在scene外面 <action name="do_crop_animation"> <!-- 为热点注册属性 --> registerattribute(xframes, calc((imagewidth / %1) BOR 0)); registerattribute(yframe...
emer 发布于  2017-9-19 14:44