The possibility of Groupping objects

  • Hi

    Maybe now is possible , but i dont find this .

    I request possibility of groupping objects for change some attributer for all objects .

    For example :

    <plugin name="One" Group="Background"

    <plugin name="Two" Group="Background"
    tween(plugin[Background].scale,0.5) or tween(Group[Background].scale,1) - which will change scale for both objects .

    Like i thing this will simplify code .


    Thanks

    Radek Piotrowski
    http://www.vr24.pl/ , http://www.warszawa360.pl/

  • Hi Radek,

    There is the scalechildren="true" to allow scaling of the childs:

    See at the parentchild example that comes inside Krpano dowloaded files... the hotspot[button4] is using the scalechildren attribute:

    Code
    <!-- scaling and rotating hotspot -->
    	<hotspot name="button4" url="button.png"
    	    	ath="-30"
    	    	atv="30"
    	    	zoom="true"
    	    	scalechildren="true"
    	    	onclickA="tween(rotate,223);tween(scale,2);set(onclick,call(onclickB));"
    	    	onclickB="tween(rotate,0);tween(scale,1);set(onclick,call(onclickA));"
    	    	onclick="call(onclickA);"
    	    	/>

    SAlut.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!