[release] slide effectlet

Here is a Slide Effectlet for Avedesk :cool: [uPDATE]

You can configure the direction of sliding, and the speed and smoothness of the animation.

Lovely for a disappearing virtual console :)

Not sure is 100% perfect, write me/here if you notice anything strange !

@Andreas - What about the package thread I told you about ? :P

[uPDATE] version 0.0.6 (16/03/2004)

  • fixed "vibration" bug

[uPDATE] version 0.0.5

  • range settings extended to -200% / +200% [ You won't get textboxes for entering pixels: I'm trying to keep my effectlet different from thy's work :) ]
  • added delay for the slide back animation [0 to 10 seconds]
  • added three switches:
    • WaitForMouseOut:
      if set, the desklet won't slide back until the mouse has left the area
    • StopOnMouseOut:
      if set, the desklet will stop sliding and will start sliding back when the mouse leaves its area, otherwise it will complete the animation and stay in position until the delay is over. Use it to temporary move a desklet out of the screen! It will come back after the specified delay
    • RebounceOnMouseIn:
      if set, touching the desklet while it's sliding back will make it "rebounce" and start sliding out again; otherwise it will just go back to the initial position even if you hover it

    [*]fixed a few positioning and resizing bugs, and a horrible rounding bug :)

    [*]this version endured 45mins of evil tests, I hope it's bug free

Download the installable package !

Mirror: Avedesk.orgs

#262742

man, can't wait to get home and check this!!

#262744

Genial!!!!!

edit: I can't stop playing with it... seriously, the effect is sooooooo smoooooht :) awesome work!

edit2: please, would you add an avedesk_installer.xml into the zip file? (replace the {} with the apprioriate values).

You could also change the .zip extension to .aveinst, so people can double click it to install. If you need 'hosting', just tell me :P

<?xml version="1.0" encoding="UTF-8"?>

<AveInstaller>



<About>

<Author>{YOURNAME}</Author>

<Email>{YOUREMAIL}</Email>

<HomePage>{YOURHOMEPAGE}</HomePage>



<Name>{YOURCONFIGNAME}</Name>

<Version>{YOURVERSION}</Version>

<Description>{YOURDESCRIPTION}</Description>

<URL>{DOWNLOADURLFORTHISPACKAGE}</URL>

<GUID>8536F8D4-F994-4C0E-89D3-88264911DA26</GUID>

</About>



<Requirements>

<Item Type="RequiredAveDeskVersion">1.2</Item>

<Item Type="RequiredInstallerVersion">1.2</Item>

</Requirements>



<BeforeCopy/>



<CopyInformation>

<Directory BaseFolder="Effects">

<File>Slide.effectlet</File>

</Directory>



</CopyInformation>



<AfterCopySucceeded>

<!-- if you don't want an about.png as splashscreen, remove the next Item-node (showbitmap) -->

<Item Type="ShowBitmap">About.png</Item>

</AfterCopySucceeded>



<AfterCopyFailed>

<Item Type="ShowMessage">

<Caption>Installation Failed</Caption>

<Text>The installation for this config failed.</Text>

</Item>

</AfterCopyFailed>



</AveInstaller>

#262745

smooooooooooth :D

#262746

please, would you add an avedesk_installer.xml into the zip file? (replace the {} with the apprioriate values).

You could also change the .zip extension to .aveinst, so people can double click it to install. If you need 'hosting', just tell me :P

damn, andreas. you gonna buy the winzip company and then rename it 'aveinst'? :)

#262748

damn, andreas. you gonna buy the winzip company and then rename it 'aveinst'? :)

all the big boys do it ;)

.widget = renamed zip

.ob = renamed zip

aaaand so on ;)

#262754

edit2: please, would you add an avedesk_installer.xml into the zip file? (replace the {} with the apprioriate values).

You could also change the .zip extension to .aveinst, so people can double click it to install. If you need 'hosting', just tell me :P

Done ! thanks, I put the package on my half-empty website ;) on the same page you can find the italian language dll with a little correction... I had swapped "always on top" and "always on bottom" in my previous version :confused:

and thanks everyone for trying it ! :P

#262763

thanks, dreadnaut :)

Slightly off-topic, but you can also make an aveinst-package for the language file (I'll update avedesk12.zip also soon).

<?xml version="1.0" encoding="UTF-8"?> 

<AveInstaller>



<About>

<Author>{NAME}</Author>

<Email>{EMAIL}</Email>

<HomePage>{HOMEPAGE}</HomePage>



<Name>{NAME}</Name>

<Version>{VERSION}</Version>

<Description>{DESCRIPTION}</Description>

<URL>{URL}</URL>

<GUID>NEWGUID}</GUID>

</About>



<Requirements>

<Item Type="RequiredAveDeskVersion">1.2</Item>

<Item Type="RequiredInstallerVersion">1.2</Item>

</Requirements>



<BeforeCopy>

<Item Type="UnloadLanguage"/>

</BeforeCopy>



<CopyInformation>

<Directory BaseFolder="Languages">

<File>AVE010001.DLL</File>

</Directory>

</CopyInformation>



<AfterCopySucceeded>

<Item Type="ReloadLanguage"/>

</AfterCopySucceeded>

#262768

of course, but tomorrow :) [zzzz...]

can I make the new GUID with the GUID Generator included with AD ?

#262771

yes, exactly. You can simply hit CTRL+C in the messagebox, and the total messagebox will be copied to the clipboard.. ZZZZ for me now too ;)

Okay, now talk about this awesome effect again :P

#262772

Hmm this doesn't seem to do anything... what am I supposed to do with it? I just put it in the effects folder and used it as a desklet effect, but nothing happens.

#262773

Nice simple effect...check the front page :).

-NC

#262782

nice effect ^_^

#262790

Smoother than peanutbutter :D

Had to up zip and copy into the effects folder... the aveinst didn't work right for me.

#262791

Now I have my desktop with a bunch of sliding desklets, is so damn nice !!!

#262794

Amazing ! Joo is teh lEE7 !!!

#262795

This is a beauty. No doubt about that. One little quirk though. After slide effect is applied, if you change the position of your icon, the new position is not sustained. As soon as you mouse over your icon, the icon jumps back to the position where it was when slide effect was applied.

Only way around is to first disable the effect, move the icon and then enable the effect again.

Hope I explained it clearly :) Did I make sense to you?

#262800

freakin' sweet!

#262803

Gasp! It doesn't work when you don't have admin rights... sad.

Can't wait to try this effectlette at home. Thanks for this. Ü

#262819

thx,it works perfectly :D

#262878

Wow this is a brilliant effect. I used it in conjunction with the new Terminal desklet, and it adds so much. Thank you, and congrats.

#262881

Great work

One observation:

Mouse cursor must stay in desklet area (excluding transparent pixels inside that area - pidlShortcut desklet) during whole slide animation, otherwise ugly bouncing occurs.

Minor bug report:

EffectLet preferences dialog by default shows slider for HorizontalMovement at position -100% but it is actually 0%.

#262925

Mouse cursor must stay in desklet area (excluding transparent pixels inside that area - pidlShortcut desklet) during whole slide animation, otherwise ugly bouncing occurs.

I fear nothing can be done about this: as soon as the mouse leaves the opaque part of the desklet, a mouseOut event is sent to the effectlet, telling it to move the desklet back to its start position. I could add a bit of momentum or a delay, but that would feel weird... the desklet could slow down halfaway when you hover a transparent part :slant:

EffectLet preferences dialog by default shows slider for HorizontalMovement at position -100% but it is actually 0%.

I forward this to Andreas :) The value -is- 0, but the slider is shown at its minimum.

I'll upload a slightly enhanced version later this evening (GMT+1), it will get rid of the "go back to the previous position" problem and a few other things. Also working on a GoAway effect... hover a desklet and it will slide away, only to come back after a few seconds :)

#262933

another bug: what if i want to move more than 1 desklet width? (which i do!). the scale needs to go beyond 100%.

#262951

another bug: what if i want to move more than 1 desklet width? (which i do!). the scale needs to go beyond 100%.
whops... I thought it was useless: if you want the desklet to move more that its size, you have to follow it with the mouse pointer, otherwise it will bounce back... give me some examples of oversized sliding, I'm curious :)

#262954