A Coppercube behavior that allows to load and animate external textures also allows to execute actions at different situations like Action_onLoad, Action_onFinish they will execute the action once the textures are loaded into the memory or if the animation cycle gets completed.
Check the accordion below to see the usage info or watch the video below.
Attach this behavior to any node and fill in the parameters, select the affecitng node, and affecting
material, choose if you want to play animation on all the material or to specific one.
Provide the name of the directory or complete adress to the directory that holds the textures(frames),
Provide the name of the texture (frame). Provide the total number of frames you want to
use for the animation. Provide the time to change each frame ( this is the parameter which decides the
speed of the animation), Choose if you want the animation to played once or to loop.
Check if you want to load all the textures initially into the memory and animates them only after being
loaded completely. Provide an action to execute once all the textures gets loaded into memory.
Provide action to execute if the animation cycle gets completed, as soon as 1 cycle of the animation gets
played it will execute the action assigned to it.
- Note:- All the frames(textures) should use same name with an increment of number like
"frame1.png","frame2.png" and so on.
It is advised to use no-looping when you are executing an action on finish otherwise it will execute the
action each time the animation cycle gets completed.
Animates external texture behavior usage video
This extension/plugin is free to download. If you want you can support my work using the buy me a coffee button up there.
Click the block controls to customize the button.
The back to top button scroll delay before the button shows is set to 200px as the default. As you scroll down the page, it displays after 200px of movement. However you have 4 height options to set via codeditor. 200px, 350px, 500px and 650px for the button to appear.
Change plugins="Dentaurabacktotopa" to plugins="Dentaurabacktotopb" for 350 px in the first line of this block HTML
Change plugins="Dentaurabacktotopa" to plugins="Dentaurabacktotopc" for 500 px in the first line of this block HTML
Change plugins="Dentaurabacktotopa" to plugins="Dentaurabacktotopd" for 650 px in the first line of this block HTML
IF BUTTON NOT VISIBLE, PLS MOVE SIDEBAR TO THE RESPECTIVE HEIGHT YOU HAVE SET FOR BUTTON TO APPEAR FOR CUSTOMIZATION.
This is a global block and it only needs to be added and configured on one page and the settings will apply to all pages.
This block will be invisible on preview or publish retaining only the button.
BACK TO TOP FUNCTION WILL WORK ONLY AFTER PREVIEW OR PUBLISH.