|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 |
if(hotspot[%1], set(hs, hotspot[%1]); ); tween(hs.alpha, 0.1, 2); OR if(hotspot[%1], copy(hs, hotspot[%1]); ); tween(hs.alpha, 0.1, 2); |
|
|
Quellcode |
1 |
copy(hs, global.hotspot[myhotspot]); |
|
|
Quellcode |
1 |
copy(hs, global.hotspot[myhotspot]); |
I'm currious why it's not working the following codes :(
Only tween(hotspot[%1].alpha, 0.1, 2); is working.
|
|
Quellcode |
1 2 3 4 |
if(hotspot[%1], copy(hs, hotspot[%1]); ); callwith(hs, tween(alpha, 0.1, 2)); |
I use this method for long time and work ok ...in this sense i doubt that the callwith solution works...
I never thought this kind of way.
Zitat
Try this code.
![]()
Quellcode
1 2 3 4 if(hotspot[%1], copy(hs, hotspot[%1]); ); callwith(hs, tween(alpha, 0.1, 2));
Piotr
I had problems with some parameters, e.g. ox and oy. The solution was to earlier declare these values in the plugin or hotspot. But that was some time ago in previous versions of KRpano.By the way, I'm just telling....
It's sometimes not working changing some attributes for example,
tween( hs.scale, 1, null, null, action() ); is not working
tween( hs.alpha, 1, null, null, action() ); is working :(
Have any similar experience?
Thank you for sharing, Piotr.
I had problems with some parameters, e.g. ox and oy. The solution was to earlier declare these values in the plugin or hotspot. But that was some time ago in previous versions of KRpano.
regards
Piotr
nd..
I got a chance to peer your site and the example - https://cms4vr.com/projects/sculptor/
Very Impressive.
One thing that I'd like to comment is that
It would be better if Autorotate is off when an user clicks the 'HELP' icon.
When the instruction is coming up and showing how-to, krpano idle time is run out and autorotate is started unexpectedly.
Though so, cms4vr.com seems to be a great service. Good
Of course, you are right.
Thank you for your valuable comments.![]()
I will immediately fix all the templates and I will make their new versions available as soon as possible, of course for free.![]()
best regards
Piotr