We've moved on! Join the Webamp discord server: https://discord.gg/fBTDMqR — & the #avs channel: https://discord.com/channels/434058775012311061/843863800029773835
grandchild on effect-api-port
[port][effect] New-style Dynami… [port][effect] New-style Bump [port][effect] New-style Grain (compare)
grandchild on effect-api-port
fixup! [clean] Handle SSC code … [clean] Allow compact case bloc… [clean] Apply compact switch-ca… and 76 more (compare)
grandchild on effect-api-port
[port][effect] New-style Grain (compare)
grandchild on effect-api-port
[clean] const& parameter_path i… [port][effect] New-style Dynami… [port][effect] New-style Bump (compare)
grandchild on effect-api-port
[port][effect] New-style MultiD… [port][effect] New-style Interf… (compare)
grandchild on effect-api-port
[port][effect] New-style Interf… (compare)
grandchild on effect-api-port
[port][effect] New-style MultiD… (compare)
grandchild on effect-api-port
[port][effect] New-style MultiD… (compare)
grandchild on effect-api-port
[bug] Create FRANGE parameters … [clean] Remove unneeded Effect.… [bug] AVSTrans: Append newline … and 2 more (compare)
dependabot[bot] on github_actions
dependabot[bot] on github_actions
grandchild on main
[ci] Bump actions/upload-artifa… [ci] Bump actions/checkout to 3… (compare)
components.ts
Component
type more specific
i'm having a coding problem here:
i'm going to make an avs preset that mimicks windows, but i don't know how i'm going to make it so a window border doesn't stop moving if you move too fast; it needs to check if getkbmouse(3) is still 1, even if it goes outside the detection threshold, like a real window would behave, and then stop moving when mouse3 is released.
also, it must not move if you hold click while outside any thresholds and then move into them
click=getkbmouse(3);
xmouse=getkbmouse(1);
ymouse=getkbmouse(2);
//check if inside the avs screen
inscreen=band(
band( above(xmouse,-1) , below(xmouse,1) ),
band( above(ymouse,-1) , below(ymouse,1) )
);
//mouse detection threshold for four sides of the triangle window
lthr=band( above(xmouse,xa-0.05) , below(xmouse,xa+0.05) );
uthr=band( above(ymouse,ya-0.05) , below(ymouse,ya+0.05) );
rthr=band( above(xmouse,xb-0.05) , below(xmouse,xb+0.05) );
dthr=band( above(ymouse,yb-0.05) , below(ymouse,yb+0.05) );
// Mouse positioning
xoffset=xmouse2-xmouse;
yoffset=ymouse2-ymouse;
xmouse2=xmouse;
ymouse2=ymouse;
oxleft=if( band(clickin,lthr) ,oxleft+xoffset,oxleft);
oyup=if( band(click,uthr) ,oyup+yoffset,oyup);
oxright=if( band(click,rthr) ,oxright+xoffset,oxright);
oydown=if( band(click,dthr) ,oydown+yoffset,oydown);
i don't know if it's worth a shot, but i just found this link (and the downloads still work!) https://web.archive.org/web/20030807100850/http://archive.visbot.net/
worth a shot for what? you mean if there's presets in there noone else has?