Animating Logos - Custom Pattern (Patreon)
Downloads
Some files exceed the archive size limit and weren't saved: 1 video. Please note these limits are in place to keep this site running long term, without costing a fortune. You can favorite the creator though, certain milestones increase the limit.
Content
This is another example of how we can custom animate a logo different from the chase pattern, taken from the 6.19.26 live class :D Here are the scripts used in the video. The first one is if you want to click it on and off and it's a specific face you want to animate. The second section is in case you want to animate the entire object without caring which face you'll use. And the third on again will animate a specific face and it's just always on, no clicking to turn on and off. ENJOY ♥integer face = 0;
integer sign_status;
sign_on() {
llSetTextureAnim(ANIM_ON | SMOOTH | LOOP , face, 1, 1, 1.0, 1.0, -0.1);
sign_status=1;
}
sign_off() {
llSetTextureAnim(FALSE,face,1,1,0,0,0.0);
sign_status=0;
}
default
{
state_entry()
{
}
touch_start(integer total_number)
{
if(llGetOwner() == llDetectedKey(0)) {
if (sign_status == 1) {
sign_off();
} else if (sign_status == 0) {
sign_on();
}
}
}
}
-----------------------------------------------------------------------------------------------------------------------------------
default
{
state_entry()
{
llSetTextureAnim(ANIM_ON | SMOOTH | LOOP, 0,1,1,1.0, 1,-0.05);
// just a regular scrolling texture function
}
}
-------------------------------------------------------------------------------------------------------------------------------------
integer face = 0;
default
{
state_entry()
{
llSetTextureAnim(ANIM_ON | SMOOTH | LOOP , face, 1, 1, 1.0, 1.0, -0.05);
}
}