I want the orange butterfly (3rd one from the left) with the black shadow on my desktop. I am able to get it to animate on my desktop but just not fly around as quickly as seen on that website. Mines look like it's in slow motion (kind of the like the 2nd one from the left.)
Code: Select all
; Note - You will need to get and install ImageMagick from: ; http://www.imagemagick.org/script/binary-releases.php ; Convert your .gif image to a "Bitmap" with the following in a cmd.exe command prompt window: ; convert -coalesce "C:\PathToInput\InputName.gif" "C:\PathToOutput\OutputName.png" [Rainmeter] Update=2 [Metadata] Name=GIFFrames Author=Rainmeter Team Information=Displays a deconstructed .gif file (individual frames) as if it was a .gif file || Instructions: See .ini file for how to get and use ImageMagick Version=Jan 16, 2016 License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0 [ImageNumberCalc] Measure=Calc Formula=Counter % 100 [ImageMeter] Meter=Image W=150 H=150 x=720 y=780 ImageName=#@#ImagesFrames\Frame[ImageNumberCalc].png AntiAlias=1 DynamicVariables=1
This turtle animation skin has an extra variable "speed" that allows me to make the animation speed up like how I want.
I tried putting this in my code above at the very beginning, but it didn't do anything. I'm assuming I need some of part of the turtle code (below) in order to get this "speed" option to work.
The image files of the turtle is in a bitmap format, and the code makes it travels across the screen. I already copied the same code and created a nice bird that flys across the screen, but now I want to create an animation where either a butterfly or bird flys staying put within a certain location.
I don't want them staying exactly in the same exact spot (example, I don't want it to stay put at x=500 and y=500 coordinate), but want them to kind of take up maybe a 5x5 inch area on my screen (but in random location). Since bitmap are frames lined up in a row single file line, how are you able to designate where you want that frame to play on your computer screen.
In addition, which part of the code would I manipulate to have the turtle go from right screen to left screen? As of right now, all it does is move from left to right.
Turtle animation skin - by balala
Code: Select all
[Variables] Cycle=0 Speed=5 Period=0 [Rainmeter] Update=100 OnRefreshAction=!execute [!SetVariable RefreshSkin #CURRENTCONFIGX#][!Move "0" "0" ] [Timer1] Measure=Calc Formula=( Timer1 + 1 ) DynamicVariables=1 [Timer2] Measure=Calc Formula=( Timer2 + 1 ) DynamicVariables=1 UpdateDivider=2 [MeasureAnimation1] Measure=Calc Formula=( Timer1 % 6 ) [MeasureAnimation2] Measure=Calc Formula=( Timer2 % 4 ) [PositionX1] Measure=Calc Formula=( #Speed# * Timer1 - ( #SCREENAREAWIDTH# - #CURRENTCONFIGX# ) * #Cycle# ) IfAboveAction=!execute [!SetVariable Cycle "( #Cycle# + 1 )"][!UpdateMeasure "MeasureRand"][!UpdateMeasure "MeasureImage"][!SetVariable Period "(( #Period# = 0 ) ? [Timer1] : #Period# )"] IfAboveValue=( #SCREENAREAWIDTH# - #CURRENTCONFIGX# ) DynamicVariables=1 [PositionX2] Measure=Calc Formula=( Abs ( 178 * ( 1 - ( PositionX1 / ( #SCREENAREAWIDTH# - #CURRENTCONFIGX# ))))) [PositionX] Measure=Calc Formula=( PositionX1 - PositionX2 ) [PositionY] Measure=Calc Formula=((( #SCREENAREAHEIGHT# - #CURRENTCONFIGY# - 187 ) / 10 ) * MeasureRand ) [MeasureRand] Measure=Calc Formula=Random LowBound=1 HighBound=10 UpdateRandom=1 UpdateDivider=300 [MeasureImage] Measure=Calc Formula=( Random % 2 ) IfAboveAction=!execute [!HideMeter MeterAnimation1][!ShowMeter MeterAnimation2] IfAboveValue=0 IfEqualAction=!execute [!ShowMeter MeterAnimation1][!HideMeter MeterAnimation2] IfEqualValue=0 LowBound=1 HighBound=100 UpdateRandom=1 UpdateDivider=300 [MeterAnimation1] Meter=BITMAP X=[PositionX] Y=[PositionY] MeasureName=MeasureAnimation1 BitmapImage=right.png BitmapFrames=6 BitmapExtend=1 DynamicVariables=1 [MeterAnimation2] Meter=BITMAP X=[PositionX] Y=[PositionY] MeasureName=MeasureAnimation2 BitmapImage=right2.png BitmapFrames=4 BitmapExtend=1 DynamicVariables=1 [MeasureRefresh] Measure=Calc Formula=( Abs ( #RefreshSkin# - #CURRENTCONFIGX# )) IfAboveAction=!Refresh IfAboveValue=0 DynamicVariables=1