Hi,
i'd like to add a mascott into my scene. So I use the animation with Sprite.
Here is my code :
Code
<style name="hotspot_sprite_mascotte"
url="images/sprite-mascotte.png"
crop="0|0|128|128"
framewidth="128" frameheight="128" frame="0" lastframe="35"
onloaded="hotspot_animate3()"
/>
Code
<action name="hotspot_animate3">
inc(frame,1,get(lastframe),0);
mul(ypos,frame,frameheight);
txtadd(crop,'0|',get(ypos),'|',get(framewidth),'|',get(frameheight));
delayedcall(1, if(loaded, hotspot_animate3() ) );
</action>
Everything is working fine but I don't understand how to use the full animation with a Horizontal and vertical sprite ...
All the KRPANO example are using a vertical sprite.
Thanks for your help and feedback.